@Mixins(value=PostgreSQLTypeHelper.SQLTypeHelperMixin.class) public interface PostgreSQLTypeHelper
SQLDBState.javaTypes2SQLTypes() mapping to determine which SQL datatype to use when inserting the
object to prepared statement.| Modifier and Type | Interface and Description |
|---|---|
static class |
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) |
void addPrimitiveToPS(PreparedStatement ps, Integer index, @Optional Object primitive, Type primitiveType) throws SQLException
ps - 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.