public abstract class JpaClassUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEntityManagerOfType(javax.persistence.EntityManager em,
String type)
Returns whether the given
EntityManager is of the given type. |
public static boolean isEntityManagerOfType(javax.persistence.EntityManager em,
String type)
EntityManager is of the given type.em - must not be null.type - the fully qualified expected EntityManager type, must not be null or empty.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.