[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] Custom Sequence JPA Example not complete

http://wiki.eclipse.org/EclipseLink/Examples/JPA/CustomSequencing

 

getGeneratedValue() returns String.

 

Whereas the example @Id field is int.

 

Also the example does not address how to convert to and from custom types. Say you want to use java.util.UUID in your entity and convert to and from a CHAR or BLOB field in the database. How would one achieve that?

 

Regards,

Aaron Whiteside