*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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