• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate synchronizer  RSS feed

 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I think I have a transaction problem.
I posted another question here http://www.coderanch.com/t/437929/Object-Relational-Mapping/java/Hibernate-re-writting-dirty-data#1947248
But changed the subject encase anyone knows specifically about hibernate synchronizer .

It seems when I create a new DAO it is not starting a new Transaction and is re-writting the dirty data.

Any ideas about the best way to handle this?

Cheers
 
Kris Reid
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I worked a solution. Not sure that it is how you are meant to use the Hibernate Sychronized generated classes but it works

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!