Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate not storing object

 
laura mccord
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic