Purpose: Provides Postgres 10 specific behavior.
Responsibilities:
| Modifier and Type | Class and Description |
|---|---|
| public static interface | PostgreSQL10Platform.PostgreSQL10JsonExtension
Add extended JSON functionality dependent on PostgreSQL JDBC driver. |
| Modifier and Type | Field and Description |
|---|---|
| private final PostgreSQL10Platform. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Map | Returns: database types to class typesMap for the schema frameworkOverrides org. |
| protected Hashtable | Returns: Hashtable mapping class types to database types for the schema frameworkOverrides org. |
| public void | setParameterValueInDatabaseCall(final Object
the parameter to set parameter, final PreparedStatement target statement, final int PreparedStatement instanceindex of the parameter in the statement index, final AbstractSession current database session session)Overrides org. |
| public void | setParameterValueInDatabaseCall(final Object
the parameter to set parameter, final CallableStatement target statement, final String CallableStatement instancename of the parameter in the statement name, final AbstractSession current database session session)Overrides org. |
| postgreSQL10JsonExtension | back to summary |
|---|---|
| private final PostgreSQL10Platform. | |
| PostgreSQL10Platform | back to summary |
|---|---|
| public PostgreSQL10Platform() Creates an instance of Postgres 10 platform. | |
| buildClassTypes | back to summary |
|---|---|
| protected Map Overrides org. Build the mapping of database types to class types for the schema framework. | |
| buildFieldTypes | back to summary |
|---|---|
| protected Hashtable Overrides org. Build the mapping of class types to database types for the schema framework.
| |
| setParameterValueInDatabaseCall | back to summary |
|---|---|
| public void setParameterValueInDatabaseCall(final Object parameter, final PreparedStatement statement, final int index, final AbstractSession session) throws SQLException Overrides org. INTERNAL Set the parameter in the JDBC statement at the given index. This support a wide range of different parameter types, and is heavily optimized for common types. Handles Postgres specific PGobject instances.
| |
| setParameterValueInDatabaseCall | back to summary |
|---|---|
| public void setParameterValueInDatabaseCall(final Object parameter, final CallableStatement statement, final String name, final AbstractSession session) throws SQLException Overrides org. INTERNAL Set the parameter in the JDBC statement at the given index. This support a wide range of different parameter types, and is heavily optimized for common types. Handles Postgres specific PGobject instances.
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: value oftrue when provided instance is an instance
of PGobject or false otherwisean instance to check parameter)Check whether provided instance is an instance of |
| isPgObjectInstance | back to summary |
|---|---|
| public boolean isPgObjectInstance(final Object parameter) Check whether provided instance is an instance of
| |