org.hibernate.search.jpa.impl
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(HibernateException e)
Convert a provided Hibernate exception to a JPA exception.
|
static boolean |
isOptimisticLockException(HibernateException e) |
public static boolean isOptimisticLockException(HibernateException e)
e - an Hibernate runtime exceptionpublic static javax.persistence.OptimisticLockException convertToLockException(HibernateException e)
e - the Hibernate exception to convertCopyright © 2006-2015 Red Hat, Inc. All Rights Reserved