public class LockScopesHelper extends Object
| Constructor and Description |
|---|
LockScopesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static javax.persistence.PessimisticLockScope |
fromLockScope(int level)
Translates internal lock level to javax.persistence LockModeType.
|
static int |
toLockScope(javax.persistence.PessimisticLockScope scope)
Translates javax.persistence LockModeType to internal lock level.
|
public static int toLockScope(javax.persistence.PessimisticLockScope scope)
public static javax.persistence.PessimisticLockScope fromLockScope(int level)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.