public class PostgreSQLSerialization
extends java.lang.Object
| Constructor and Description |
|---|
PostgreSQLSerialization() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getMappedSqlType(com.eventsourcing.layout.TypeHandler typeHandler) |
static java.lang.String |
getMappedType(java.sql.Connection connection,
com.eventsourcing.layout.TypeHandler typeHandler) |
static java.lang.String |
getParameter(java.sql.Connection connection,
com.eventsourcing.layout.TypeHandler typeHandler,
java.lang.Object object) |
protected static com.impossibl.postgres.api.jdbc.PGConnection |
getPgConnection(java.sql.Connection connection) |
static java.lang.Object |
getValue(java.sql.ResultSet resultSet,
java.util.concurrent.atomic.AtomicInteger i,
com.eventsourcing.layout.TypeHandler typeHandler) |
static void |
refreshConnectionRegistry(java.sql.Connection connection) |
static void |
refreshTypes(java.sql.Connection connection) |
static int |
setValue(java.sql.Connection connection,
java.sql.PreparedStatement s,
int i,
java.lang.Object value,
com.eventsourcing.layout.TypeHandler typeHandler) |
public static void refreshTypes(java.sql.Connection connection)
protected static com.impossibl.postgres.api.jdbc.PGConnection getPgConnection(java.sql.Connection connection)
public static void refreshConnectionRegistry(java.sql.Connection connection)
public static java.lang.String getMappedType(java.sql.Connection connection,
com.eventsourcing.layout.TypeHandler typeHandler)
public static int getMappedSqlType(com.eventsourcing.layout.TypeHandler typeHandler)
public static int setValue(java.sql.Connection connection,
java.sql.PreparedStatement s,
int i,
java.lang.Object value,
com.eventsourcing.layout.TypeHandler typeHandler)
public static java.lang.Object getValue(java.sql.ResultSet resultSet,
java.util.concurrent.atomic.AtomicInteger i,
com.eventsourcing.layout.TypeHandler typeHandler)
public static java.lang.String getParameter(java.sql.Connection connection,
com.eventsourcing.layout.TypeHandler typeHandler,
java.lang.Object object)