0

JPA how the Lock mode PESSIMISTIC_READ is mapped to oracle database? For mysql,

select * from TableName lock in share mode

How about oracle database?

eastwater
  • 4,624
  • 9
  • 49
  • 118
  • 1
    Possible duplicate of [Difference between LockModeType Jpa](https://stackoverflow.com/questions/33062635/difference-between-lockmodetype-jpa) – OldProgrammer Feb 13 '18 at 21:54
  • no. it is about different lock modes, not about mapping to specific databases. – eastwater Feb 13 '18 at 21:59
  • 1
    In [this answer](https://stackoverflow.com/questions/33062635/difference-between-lockmodetype-jpa) it was written that `select ... for update nowait` is used. I vote to close this question as duplicate. – krokodilko Feb 14 '18 at 03:37
  • And how something is implemented depends on which jpa provider ... –  Feb 14 '18 at 04:36

0 Answers0