public class

BinderHelper

extends Object
java.lang.Object
   ↳ org.hibernate.cfg.BinderHelper

Summary

Constants
String ANNOTATION_STRING_DEFAULT
Fields
public static final Set<String> PRIMITIVE_NAMES
Public Methods
static void bindAnyMetaDefs(XAnnotatedElement annotatedElement, Mappings mappings)
static Any buildAnyValue(String anyMetaDefName, Ejb3JoinColumn[] columns, javax.persistence.Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, Mappings mappings)
static void createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings)
static Object findColumnOwner(PersistentClass persistentClass, String columnName, Mappings mappings)
Find the column owner (ie PersistentClass or Join) of columnName.
static Property findPropertyByName(PersistentClass associatedClass, String propertyName)
Retrieve the property by path in a recursive way, including IndetifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned
static Property findPropertyByName(Component component, String propertyName)
Retrieve the property by path in a recursive way
static MappedSuperclass getMappedSuperclassOrNull(XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings)
static String getPath(PropertyHolder holder, PropertyData property)
static String getRelativePath(PropertyHolder propertyHolder, String propertyName)
static boolean isEmptyAnnotationValue(String annotationString)
static void makeIdGenerator(SimpleValue id, String generatorType, String generatorName, Mappings mappings, Map<StringIdGenerator> localGenerators)
apply an id generator to a SimpleValue
static Property shallowCopy(Property property)
create a property copy reusing the same value
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ANNOTATION_STRING_DEFAULT

Constant Value: ""

Fields

public static final Set<String> PRIMITIVE_NAMES

Public Methods

public static void bindAnyMetaDefs (XAnnotatedElement annotatedElement, Mappings mappings)

public static Any buildAnyValue (String anyMetaDefName, Ejb3JoinColumn[] columns, javax.persistence.Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, Mappings mappings)

public static void createSyntheticPropertyReference (Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings)

public static Object findColumnOwner (PersistentClass persistentClass, String columnName, Mappings mappings)

Find the column owner (ie PersistentClass or Join) of columnName. If columnName is null or empty, persistentClass is returned

public static Property findPropertyByName (PersistentClass associatedClass, String propertyName)

Retrieve the property by path in a recursive way, including IndetifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned

public static Property findPropertyByName (Component component, String propertyName)

Retrieve the property by path in a recursive way

public static MappedSuperclass getMappedSuperclassOrNull (XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings)

public static String getPath (PropertyHolder holder, PropertyData property)

public static String getRelativePath (PropertyHolder propertyHolder, String propertyName)

public static boolean isEmptyAnnotationValue (String annotationString)

public static void makeIdGenerator (SimpleValue id, String generatorType, String generatorName, Mappings mappings, Map<StringIdGenerator> localGenerators)

apply an id generator to a SimpleValue

public static Property shallowCopy (Property property)

create a property copy reusing the same value