Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » UUIDSequence
UUIDSequence [message #909526] Fri, 07 September 2012 05:18 Go to next message
Erdal Karaca is currently offline Erdal Karaca
Messages: 740
Registered: July 2009
Senior Member
I found the following page to customize the id generation using UUIDs:

However, the column type of the id field is an int:

private int id;

How is that supposed to work? Is that wrong?

Re: UUIDSequence [message #911338 is a reply to message #909526] Tue, 11 September 2012 08:19 Go to previous message
James Sutherland is currently offline James Sutherland
Messages: 1939
Registered: July 2009
Location: Ottawa, Canada
Senior Member

UUID must be a String not an int.

James : Wiki : Book : Blog : Twitter
Previous Topic:Exception handling
Next Topic:Unable to log bind parameters
Goto Forum:

Current Time: Fri Aug 29 18:40:33 EDT 2014

Powered by FUDForum. Page generated in 0.01585 seconds