org.shept.persistence.provider.hibernate
public class HibernateUtils_old extends Object
| Constructor and Description |
|---|
HibernateUtils_old() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
copyTemplate(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object entityModelTemplate) |
private static org.hibernate.metadata.ClassMetadata |
getClassMetadata(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model) |
static String |
getIdentifierPropertyName(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model) |
static Serializable |
getIdValue(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model) |
static boolean |
isNewModel(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model)
Checking if it is a new model
If the index is a compound index we must check all components if they are all non null
|
private static org.hibernate.metadata.ClassMetadata getClassMetadata(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model)
public static String getIdentifierPropertyName(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao, Object model)
public static Serializable getIdValue(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao, Object model)
public static boolean isNewModel(org.springframework.orm.hibernate3.support.HibernateDaoSupport dao,
Object model)
index - Copyright © 2014. All Rights Reserved.