org.kuali.rice.core.util
Class OrmUtils
java.lang.Object
org.kuali.rice.core.util.OrmUtils
public class OrmUtils
- extends Object
A utility for common ORM related functions.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrmUtils
public OrmUtils()
populateAutoIncValue
public static void populateAutoIncValue(Object entity,
Long value)
populateAutoIncValue
public static void populateAutoIncValue(Object entity,
javax.persistence.EntityManager manager)
getNextAutoIncValue
public static Long getNextAutoIncValue(Class entityClass,
javax.persistence.EntityManager manager)
reattach
public static void reattach(Object attached,
Object detached)
merge
public static void merge(javax.persistence.EntityManager manager,
Object entity)
isJpaAnnotated
public static boolean isJpaAnnotated(Class<?> clazz)
isJpaEnabled
public static boolean isJpaEnabled()
isJpaEnabled
public static boolean isJpaEnabled(String prefix)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.