posted 14 years ago
Hi Ranchers,
I am facing one problem while using my predefined squence in the generator.
Below are the details.
I have created a table student with column id, `sname` 'sroll`,`scourse` and PRIMARY KEY (`id`)
The persistence xml have below data
and Student class is
And the sequence student_id_seq exist in the oracle.
But when used it
Got exception
Please suggest if I am missing anything.
Thanks in Advance
PP.