com.indexdata.utils.persistence
public class EntityUtil extends Object
Constructor and Description |
---|
EntityUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
closeManager()
Closes EntitymManager associated with current thread (if any).
|
static javax.persistence.EntityManager |
getManager()
Returns an entity manager associated with a current thread.
|
static boolean |
isInitialized() |
public static boolean isInitialized()
public static javax.persistence.EntityManager getManager()
public static void closeManager()
Copyright © 2014. All rights reserved.