Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Am new to hibernate. Am using hibernate version3.0.
I used "sequence" keyword in generator tag of id.
Now i want to use another sequence which is different from this sequence.
As far as i know, there will be only sequqnce "HIBERNATE_SEQUENCE" created for any sequences in the hbm.xml files.
So for that i created a sequence manualy and also created a trigger for getting the sequence next value while inserting into a table.
Now my problem is how to use that sequence or trigger while inserting data into a table.
I will be very thankful if i can be given with an example.
Awaiting your response.
Am using Oracle 10g as back end.