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

Hell with postgres + hibernate

 
Jose Ayerdis
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i've been mapping using annotation as jpa standard and using hibernate as my orm and session manager. Nevertheless i've been experience a huge problem i got this error when i'm trying to insert or update my class.



My mappings goes like this.

Class: Usuario
Class: Gerente extends Usuario
but i can't update or insert havent test delete.

I checked my schema and my Hibernate.cfg goes like this:

 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your annotated class that is not inserting, also post your code to do the insert.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic