| Modifier and Type | Method and Description |
|---|---|
| public default String | Returns: JSON parameter marker in SQL expression for current database platform.JSON parameter marker in SQL expression of |
| public default < target type to return T> T | Returns: JSON data from JDBCResultSet as String to be parsed by JsonTypeConvertersource JDBC resultSet, final int ResultSetindex of column in JDBC columnNumber, final Class<T> ResultSettarget class to return, this class will be used to cast returned value type)Retrieve JSON data from JDBC |
| public default boolean | Returns: value oftrue when provide type implements jakarta.json.JsonValue interface
or false otherwosetyoe to be checked type)Check whether provided |
| public default < target type to unwrap T> T | Returns: thisDatabaseJsonPlatform instance as provided classtarget class to unwrap, this class will be used to cast returned value type)Unwrap this |
| public default void | updateClassTypes(final Map<String, Class<?>>
Map with mappings to be updated.Update the mapping of class types to database types for the schema framework. |
| public default void | updateFieldTypes(final Hashtable<Class<?>, FieldTypeDefinition>
Map with mappings to be updated.Update the mapping of database types to class types for the schema framework. |
| customParameterMarker | back to summary |
|---|---|
| public default String customParameterMarker() JSON parameter marker in SQL expression of
| |
| getJsonDataFromResultSet | back to summary |
|---|---|
| public default <T> T getJsonDataFromResultSet(final ResultSet resultSet, final int columnNumber, final Class<T> type) throws SQLException Retrieve JSON data from JDBC
| |
| isJsonType | back to summary |
|---|---|
| public default boolean isJsonType(final Type type) Check whether provided
| |
| unwrap | back to summary |
|---|---|
| public default <T> T unwrap(final Class<T> type) Unwrap this
| |
| updateClassTypes | back to summary |
|---|---|
| public default void updateClassTypes(final Map<String, Class<?>> classTypeMapping) Update the mapping of class types to database types for the schema framework. | |
| updateFieldTypes | back to summary |
|---|---|
| public default void updateFieldTypes(final Hashtable<Class<?>, FieldTypeDefinition> fieldTypeMapping) Update the mapping of database types to class types for the schema framework.
| |