org.hibernate.TypeHelper |
![]() |
Provides access to the various Type
instances associated with the SessionFactory
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience form of
basic(String) . | |||||||||||
Retrieve the basic type registered against the given name.
| |||||||||||
Retrieve the type for the given user-type class (
UserType or
CompositeUserType ). | |||||||||||
Retrieve the type for the given user-type class (
UserType or
CompositeUserType ). | |||||||||||
Retrieve a type representing the given entity.
| |||||||||||
Retrieve a type representing the given entity.
| |||||||||||
Uses heuristics to deduce the proper
Type given a string naming the type or Java class. |
Convenience form of basic(String)
. The intended use of this is something like
basic(Integer.class)
or basic(int.class)
javaType | The java type for which to retrieve the type instance. |
---|
Retrieve the basic type registered against the given name.
name | The name of the basic type to retrieve |
---|
Retrieve the type for the given user-type class (UserType
or
CompositeUserType
).
userTypeClass | The user type class |
---|---|
properties | Configuration properties. |
Retrieve the type for the given user-type class (UserType
or
CompositeUserType
).
userTypeClass | The user type class |
---|
Retrieve a type representing the given entity.
entityName | The entity name. |
---|
Retrieve a type representing the given entity.
entityClass | The entity Java type. |
---|
Uses heuristics to deduce the proper Type
given a string naming the type or Java class.
heuristicType(java.lang.String)
for a discussion of the
heuristic algorithm.name | The name of the type or Java class |
---|