public class HibUtilsMapping extends Object
Constructor and Description |
---|
HibUtilsMapping() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInsert(Object object)
see if this object would be an insert for hibernate, or if it would be an update.
|
static Serializable |
primaryKeyCurrentValue(Object object)
get the hibernate primary key property value (current value)
|
static org.hibernate.mapping.Property |
primaryKeyProperty(Class clazz)
get the hibernate mapping property of a mapped class
|
static org.hibernate.mapping.Value |
primaryKeyValue(Class clazz)
get the hibernate primary key property Value object
|
public static boolean isInsert(Object object)
object
- public static org.hibernate.mapping.Property primaryKeyProperty(Class clazz)
clazz
- public static org.hibernate.mapping.Value primaryKeyValue(Class clazz)
clazz
- public static Serializable primaryKeyCurrentValue(Object object)
object
- Copyright © 2016 Internet2. All rights reserved.