java.lang.Object | ||||
↳ | org.hibernate.type.AbstractType | |||
↳ | org.hibernate.type.NullableType | |||
↳ | org.hibernate.type.MutableType | |||
↳ | org.hibernate.type.AbstractBynaryType |
Known Direct Subclasses |
This class is deprecated.
Use the AbstractStandardBasicType
approach instead
Logic to bind stream of byte into a VARBINARY
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Perform a
Comparator style comparison between values | |||||||||||
Consume the given string representation back into this types java form.
| |||||||||||
Get a column value from a result set, without worrying about the
possibility of null values.
| |||||||||||
Get a comparator for version values.
| |||||||||||
Get a hash code, consistent with persistence "equality".
| |||||||||||
Returns the abbreviated name of the type.
| |||||||||||
Generate an initial version.
| |||||||||||
Set a parameter value without worrying about the possibility of null
values.
| |||||||||||
A convenience form of
sqlTypes(org.hibernate.engine.Mapping) , returning
just a single type value since these are explicitly dealing with single column
mappings. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convert the byte[] into the expected object type
| |||||||||||
Convert the object into the internal byte[] representation
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.hibernate.type.MutableType
| |||||||||||
From class
org.hibernate.type.NullableType
| |||||||||||
From class
org.hibernate.type.AbstractType
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.util.Comparator
| |||||||||||
From interface
org.hibernate.type.StringRepresentableType
| |||||||||||
From interface
org.hibernate.type.Type
| |||||||||||
From interface
org.hibernate.type.VersionType
| |||||||||||
From interface
org.hibernate.type.XmlRepresentableType
|
Perform a Comparator
style comparison between values
x | The first value |
---|---|
y | The second value |
entityMode | The entity mode of the values. |
compare(T, T)
for a discussion.
Consume the given string representation back into this types java form.
xml | The string representation to be consumed. |
---|
HibernateException |
---|
Get a column value from a result set, without worrying about the
possibility of null values. Called from nullSafeGet(ResultSet, String)
after
nullness checks have been performed.
rs | The result set from which to extract the value. |
---|---|
name | The name of the value to extract. |
HibernateException | |
---|---|
SQLException |
Get a comparator for version values.
Get a hash code, consistent with persistence "equality". Again for most types the normal usage is to delegate to the value's #hashCode.
x | The value for which to retrieve a hash code |
---|---|
entityMode | The entity mode of the value. |
Returns the abbreviated name of the type.
Generate an initial version.
session | The session from which this request originates. |
---|
Set a parameter value without worrying about the possibility of null
values. Called from nullSafeSet(PreparedStatement, Object, int)
after nullness checks have
been performed.
st | The statement into which to bind the parameter value. |
---|---|
value | The parameter value to bind. |
index | The position or index at which to bind the param value. |
HibernateException | |
---|---|
SQLException |
A convenience form of sqlTypes(org.hibernate.engine.Mapping)
, returning
just a single type value since these are explicitly dealing with single column
mappings.
Convert the byte[] into the expected object type
Convert the object into the internal byte[] representation