Hmm. What the error seems to be saying is the value returned from your sequence is bigger than that accepted by an int. What is the value in you sequence?
The same code works just fine with HSQL or by reading the prepopulated value from oracle
Can you explain this too? What are you doing with HQL exactly?
[ August 13, 2004: Message edited by: Paul Sturrock ]