public static class PostgreSQLTypeHelper.SQLTypeHelperMixin extends Object implements PostgreSQLTypeHelper
PostgreSQLTypeHelper.SQLTypeHelperMixin| Constructor and Description |
|---|
PostgreSQLTypeHelper.SQLTypeHelperMixin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPrimitiveToPS(PreparedStatement ps,
Integer index,
Object primitive,
Type primitiveType)
Adds the specified object at specified index in specified prepared statement.
|
Integer |
getSQLType(Object primitive) |
Object |
processJavaPrimitiveBeforeUsingInStatement(Object primitive) |
public PostgreSQLTypeHelper.SQLTypeHelperMixin()
public Object processJavaPrimitiveBeforeUsingInStatement(Object primitive)
public void addPrimitiveToPS(PreparedStatement ps, Integer index, Object primitive, Type primitiveType) throws SQLException
PostgreSQLTypeHelperaddPrimitiveToPS in interface PostgreSQLTypeHelperps - The prepared statement.index - The index for the object to be inserted in prepared statemtent (> 0).primitive - The object to insert.primitiveType - The type of object.SQLException - If something underlying throws it.public Integer getSQLType(Object primitive)
getSQLType in interface PostgreSQLTypeHelper