users@glassfish.java.net

Re: How does GenerationType.SEQUENCE work?

From: <glassfish_at_javadesktop.org>
Date: Sun, 03 Aug 2008 16:39:23 PDT

It's interesting you're having any success at all, since the (unless it has been update) the stock Postgres support in Toplink Essentials doesn't even support SEQUENCE.

However, there is a solution. Luckily, I even wrote it up and posted it to the FAQ a long time ago.

http://wiki.glassfish.java.net/Wiki.jsp?page=FaqPostgresSequences

See if that helps you.
[Message sent by forum member 'whartung' (whartung)]

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