[OXM-2] Mapped-superclass, indexes not gathered Created: 29/Mar/12 Updated: 18/May/12 |
|
| Status: | Open |
| Project: | Doctrine Object-XML Mapper |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Lazar Otasevic | Assignee: | Benjamin Eberlei |
| Resolution: | Unresolved | Votes: | 3 |
| Labels: | None | ||
| Environment: |
win7 xamp mysql |
||
| Description |
|
GenericPositionPair XML: GenericPrimaryPositionPair XML: PrimaryPositionPair XML: PHP: Finally - the resulting SQL statement contains no idexes on position and isPrimary fields. Suggestion - wouldn't it be easier to just include attribute index="true" instead od <indexes> tag, since attribute unique="true" already works. |
| Comments |
| Comment by Lazar Otasevic [ 29/Mar/12 ] |
|
As far as i can see, the shcema-tool gathers only fields and relations from xml and not <indexes> WHY? |
| Comment by Lazar Otasevic [ 25/Apr/12 ] |
|
Anybody? |
| Comment by Lazar Otasevic [ 18/May/12 ] |
|
HELLO? |
[OXM-1] Composite string key ignoring the length attribute Created: 29/Mar/12 Updated: 29/Mar/12 |
|
| Status: | Open |
| Project: | Doctrine Object-XML Mapper |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Lazar Otasevic | Assignee: | Benjamin Eberlei |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
win7 xamp mysql |
||
| Description |
|
Hello, I have the following XML mapping <entity name="Auth" table="Auth"> And the sql output is: CREATE TABLE Auth (itemname VARCHAR(255) NOT NULL, userid VARCHAR(255) NOT NULL, bizrule LONGTEXT DEFAULT NULL, data LONGTEXT DEFAULT NULL, PRIMARY KEY(itemname, userid)) ENGINE ... So, the length atrtibute is always ignored. In MyIsam it breaks the script because of the maximum key limit |