[jboss-user] [EJB 3.0] - Accessing sequences outside an entity bean

hubaer do-not-reply at jboss.com
Tue Jan 23 11:12:48 EST 2007


Hi all,

I have a little question about @SequenceGenerator.

I would like to get the value of an sequence over the EJB layer accessing a defined SequenceGenerator and not connection diretly to the underlying database.

So is it possible to access the defined sequence outside an entity bean and get the next sequence value?

Thanks for you answer
Marco



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005370#4005370

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005370



More information about the jboss-user mailing list