[jboss-user] [EJB 3.0] - wrong value generated by a sequence generator in jboss-4.0.5

maheshp do-not-reply at jboss.com
Tue May 22 02:53:56 EDT 2007

Hello All,

we are using Jboss-4.0.5GA version with oracle 10g database, When we use the sequence generator it is giving some big value(if we fetch the same through db it will give very small number).

Same sequence was working fine with jboss-4.0.3sp1 and oracle 9i.

i have given sample code below,
//sequence generator defination

//used with the attribute
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="SEQ_PRJ")

please let me know, what could be the problem?

Thanks in Advance

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

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

More information about the jboss-user mailing list