wood burning stoves*
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
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
 
jQuery in Action, 2nd edition
 
subject: Hibernate not storing object
 
Similar Threads
Srping+Hibernate bad configurated causing huge memory consumption
Classcast exception
Hibernate is returning proxy objects even if no matching row is found on the database
How to display DB table values?
sping+hibernate got NullException