I use oracle 9i, hibernate, Spring.
I am using hibernate 2. I try to insert student record into database by using sequence. But sometimes I got error "too large than column".
After doing some research, I realized that hibernate needs any object whenever save the object. So, it is good way, let hibernate to generate itself before saving database.
So, I tried to use UUID.HEX. But i got another error
"Object of class [org.alllearn.model.Student] with identifier []: not found
I dont know what to do.. Please help me...
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 2
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt: