Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LockModeType.OPTIMISTIC_FORCE_INCREMENT  RSS feed

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a named query which has "LockModeType.OPTIMISTIC_FORCE_INCREMENT". I have been trying to convert it into native query. I can manage to rewrite the query but i am not sure how should i take care of Lock mode. Please suggest.

Thanks
 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the semantics of the LockModeType.OPTIMISTIC_FORCE_INCREMENT and LockModeType.OPTIMISTIC would give you a hint on what aspects need to be considered.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!