Package com.societegenerale.failover.store.jdbc.resolver
package com.societegenerale.failover.store.jdbc.resolver
SQL query and column-type resolvers for the JDBC failover store.
FailoverStoreQueryResolver supplies
the parameterised SQL statements used by FailoverStoreJdbc.
PayloadColumnResolver abstracts the
SQL type of the PAYLOAD column, allowing VARCHAR, TEXT, or
CLOB variants via a pluggable strategy.
-
ClassDescriptionStrategy for detecting the underlying database product name from a live JDBC connection.Default
DatabaseResolverthat reads the database product name from JDBC connection metadata.DefaultFailoverStoreQueryResolverthat resolves all JDBC queries against a given table prefix, selects the appropriate native merge/upsert dialect for the detected database, and owns all parameter binding and result-set mapping logic.Contract for resolving JDBC queries, binding parameters, and mapping result-set rows for the failover store.Strategy for resolving the SQL type and extracting the value of the PAYLOAD column.DefaultPayloadColumnResolverthat maps the PAYLOAD column asVARCHAR.