[jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator
do-not-reply at jboss.com
Thu Jul 27 16:19:18 EDT 2006
If you go to you database now (say through psql) and issue the query
anonymous wrote : select nextval ('postmaster_sequence')
I'm betting it would not be 51 and will probably be 2.
>From your logs:
anonymous wrote : 2006-07-27 16:09:40,004 DEBUG [org.hibernate.SQL] - select nextval ('postmaster_sequence')
| 2006-07-27 16:09:40,043 DEBUG [org.hibernate.id.SequenceGenerator] - Sequence identifier generated:
It looks like the postgres sequence returned 1. But the SequenceHiLoGenerated inserted a value of 50.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961422#3961422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961422
More information about the jboss-user