Issue Details (XML | Word | Printable)

Key: NUCJPA-78
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Oliver Ringel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus API JPA

@Enumerated in combination with @Column leads to incorrect column definition

Created: 16/Sep/10 06:10 PM   Updated: 20/Oct/10 09:30 AM   Resolved: 21/Sep/10 09:30 PM
Component/s: None
Affects Version/s: 2.1.1
Fix Version/s: 2.1.2

Environment: Spring 3.0.3, HSQLDB, Maven 2.2.1

Datastore: HSQL
Severity: Production


 Description  « Hide
The combination of @Enumerated and @Column creates a column like 'INTEGER(255)' using HSQLDB.

e.g.

@Entity
Car {
...
    @Column(name = "COL")
    @Enumerated // or @Enumerated(EnumType.ORDINAL)
    private Color color;
...

The schema creation tries to create a column like 'COL INTEGER(255)'.


Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Sep/10 09:30 PM
SVN trunk works for me now. No idea on your test since no testcase was attached