This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in using Hibernate SaveOrUpdate() method with Postgres and SQL DB

 
sohaib yasir
Ranch Hand
Posts: 51
Eclipse IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I am in trouble and unable to get rid of this situation. I am facing a wired issue that hibernate SaveOrUpdate() method insert a new record in table if i am using SQL DB and did not insert any row when using Postgres DB. I am unable to find solution. I need urgent help to resolve this issue. My code does not throw any kind of exception nor inserting record in Postgres DB.

My saveorUpdate method code running both DBs.



My bean for this :





 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic