Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.param.VersionTypeSeedParameterSpecification
public class VersionTypeSeedParameterSpecification
extends java.lang.Object
implements ParameterSpecification
Constructor Summary | |
Method Summary | |
int |
|
Type |
|
String |
|
void |
|
public int bind(PreparedStatement statement, QueryParameters qp, SessionImplementor session, int position) throws SQLException
- Specified by:
- bind in interface ParameterSpecification
public Type getExpectedType()
Get the type which we are expeting for a bind into this parameter based on translated contextual information.
- Specified by:
- getExpectedType in interface ParameterSpecification
- Returns:
- The expected type.
public String renderDisplayInfo()
Render this parameter into displayable info (for logging, etc).
- Specified by:
- renderDisplayInfo in interface ParameterSpecification
- Returns:
- The displayable info.
public void setExpectedType(Type expectedType)
Injects the expected type. Called during translation.
- Specified by:
- setExpectedType in interface ParameterSpecification
- Parameters:
expectedType
- The type to expect.