This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibernate not storing object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate not storing object " Watch "Hibernate not storing object " New topic
Author

Hibernate not storing object

laura mccord
Ranch Hand

Joined: Feb 10, 2009
Posts: 108
Hi,

I can't get my object stored in the database. I pass my object to the method and I placed some print statements and the object is not empty.

I configured hibernate to show the sql and I see after it checks the nextval in the hibernate_sequence nothing happens.

Here is the method:




This is returned from the console:

Hibernate:
select
hibernate_sequence.nextval
from
dual
Exit Status : FAILED

Any suggestions?

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate not storing object
 
Similar Threads
Hibernate is returning proxy objects even if no matching row is found on the database
Srping+Hibernate bad configurated causing huge memory consumption
sping+hibernate got NullException
How to display DB table values?
Classcast exception