users@glassfish.java.net

Re: Old bug reappearing? Sequence issue with PostgreSQL

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Jun 2007 12:09:52 PDT

Solution:
In the orm.xml file I had mistakenly pointed another entity to use the same sequence (copy/paste syndrom...). So THAT entity was already bound to the sequence, and therefore Glassfish apparently defaulted the second entity to use a table named "sequence", which of course didn't exist. As soon as I fixed the erroneous configuration, the problem was solved.
[Message sent by forum member 'mariusw' (mariusw)]

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