org.hibernate.type.SingleColumnType<T> |
Known Indirect Subclasses |
Provide convenient methods for binding and extracting values for use with BasicType
. Most of this
is copied from the (now deprecated) NullableType
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a column value from a result set, without worrying about the possibility of null values.
| |||||||||||
This method is deprecated.
Use
get(ResultSet, String, SessionImplementor) instead.
| |||||||||||
Get a column value from a result set by name.
| |||||||||||
This method is deprecated.
Use
nullSafeGet(ResultSet, String, SessionImplementor) instead
| |||||||||||
This method is deprecated.
Use
nullSafeSet(PreparedStatement, Object, int, SessionImplementor) instead.
| |||||||||||
This method is deprecated.
Use
set(PreparedStatement, Object, int, SessionImplementor) instead.
| |||||||||||
Set a parameter value without worrying about the possibility of null
values.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.hibernate.type.Type
|
Get a column value from a result set, without worrying about the possibility of null values.
rs | The result set from which to extract the value. |
---|---|
name | The name of the value to extract. |
session | The session from which the request originates |
HibernateException | Generally some form of mismatch error. |
---|---|
SQLException | Indicates problem making the JDBC call(s). |
This method is deprecated.
Use get(ResultSet, String, SessionImplementor)
instead.
DO NOT USER THIS FORM!
HibernateException | |
---|---|
SQLException |
Get a column value from a result set by name.
rs | The result set from which to extract the value. |
---|---|
name | The name of the value to extract. |
session | The session from which the request originates |
HibernateException | Generally some form of mismatch error. |
---|---|
SQLException | Indicates problem making the JDBC call(s). |
This method is deprecated.
Use nullSafeGet(ResultSet, String, SessionImplementor)
instead
HibernateException | |
---|---|
SQLException |
This method is deprecated.
Use nullSafeSet(PreparedStatement, Object, int, SessionImplementor)
instead.
DO NOT USE THIS FORM!
HibernateException | |
---|---|
SQLException |
This method is deprecated.
Use set(PreparedStatement, Object, int, SessionImplementor)
instead.
DO NOT USE THIS FORM!
HibernateException | |
---|---|
SQLException |
Set a parameter value without worrying about the possibility of null
values. Called from nullSafeSet(PreparedStatement, T, 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. |
session | The session from which the request originates |
HibernateException | Generally some form of mismatch error. |
---|---|
SQLException | Indicates problem making the JDBC call(s). |