public final class OptimisticLockingCompatibilityHelper extends Object
FullTextQueryImpl to extract information out of an
Hibernate OptimisticLockException and create the JPA counterpart.| Modifier and Type | Method and Description |
|---|---|
static javax.persistence.OptimisticLockException |
convertToLockException(org.hibernate.HibernateException e)
Convert a provided Hibernate exception to a JPA exception.
|
static boolean |
isOptimisticLockException(org.hibernate.HibernateException e) |
public static boolean isOptimisticLockException(org.hibernate.HibernateException e)
e - an Hibernate runtime exceptionpublic static javax.persistence.OptimisticLockException convertToLockException(org.hibernate.HibernateException e)
e - the Hibernate exception to convertCopyright © 2006–2014 Hibernate. All rights reserved.