This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm just starting to try using Hibernate. I'm following a basic tutorial to map a couple of fields to a database table. I have two columns in the table. When I attempt to update the table, I get this error:
My table does not have a sequence, and I don't particularly want it to. Is this required? Do I have to add a sequence to my Oracle table in order to use Hibernate with Oracle? Or is there some way I can do the insert/update without needing a sequence?
Joined: Apr 11, 2008
Nevermind. I didn't understand the generator element. Got it now. Gotta go RTFM!