users@glassfish.java.net

Re: diferent behaviour between GeneratedType.AUTO and GeneratedType.SEQUENC

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Feb 2008 13:41:40 PST

The code I proposed would be the 'official' way to accomplish what you are attempting with IDENTITY sequencing but is a workaround for SEQUENCE sequencing.

You should not have experienced any problems moving from AUTO to SEQUENCE.

This bug was fixed in the main stream (V2) in March 2007 so it should be in V2UR1 but you may want to try upgrading to V2.1.
--Gordon
[Message sent by forum member 'gyorke' (gyorke)]

http://forums.java.net/jive/thread.jspa?messageID=260308