Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 3992
27
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!