[jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator
bryan_castillo
do-not-reply at jboss.com
Thu Jul 27 16:29:34 EDT 2006
The more I look at the SequenceHiLoGenerator, the more I wonder whether it makes sense to use it be default at all in EJB3. What happens in a cluster? The SequenceHiLoGenerator uses state information when getting sequences. If you have 2 seperate boxes using a SequenceHiLoGenerator from the same database sequence, could you end up reissuing an id more than once? I don't see how the default generator could always create new ID's.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961424#3961424
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961424
More information about the jboss-user
mailing list