Class CallableStatementSupports
Provides standard and database-specific callable-statement strategies.
Select a stable stock strategy or build one standard strategy, retain it for
the Dialect's lifetime, and return it from
Dialect.getCallableStatementSupport(). Implement
CallableStatementSupport directly only for a genuinely different call
protocol.
- Since:
- 8.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfigures the standard callable-statement algorithm. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Begin configuring an immutable standard strategy.static CallableStatementSupportdb2()Obtain the stable DB2 callable-statement strategy.static CallableStatementSupportjtds()Obtain the stable jTDS callable-statement strategy.static CallableStatementSupportpostgresql(boolean supportsProcedures) Obtain the stable PostgreSQL callable-statement strategy.static CallableStatementSupportstandard()Obtain the stable standard strategy without REF_CURSOR support.static CallableStatementSupportObtain the stable standard strategy with REF_CURSOR support.static CallableStatementSupportsybase()Obtain the stable Sybase callable-statement strategy.
-
Method Details
-
standard
Obtain the stable standard strategy without REF_CURSOR support.
Supply the returned strategy from
Dialect.getCallableStatementSupport(). -
standardWithRefCursors
Obtain the stable standard strategy with REF_CURSOR support.
Supply the returned strategy from
Dialect.getCallableStatementSupport(). -
builder
Begin configuring an immutable standard strategy. -
db2
Obtain the stable DB2 callable-statement strategy.
Supply the returned strategy from
Dialect.getCallableStatementSupport(). -
postgresql
Obtain the stable PostgreSQL callable-statement strategy.
Supply the returned strategy from
Dialect.getCallableStatementSupport().- Parameters:
supportsProcedures- whether the database supports native procedures
-
sybase
Obtain the stable Sybase callable-statement strategy.
Supply the returned strategy from
Dialect.getCallableStatementSupport(). -
jtds
Obtain the stable jTDS callable-statement strategy.
Supply the returned strategy from
Dialect.getCallableStatementSupport().
-