• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

LockModeType.OPTIMISTIC_FORCE_INCREMENT

 
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
 
Bartender
Posts: 4107
72
Hibernate Fedora Chrome
  • 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.
 
    Bookmark Topic Watch Topic
  • New Topic