Package | Description |
---|---|
com.github.marschall.storedprocedureproxy |
Modifier and Type | Method | Description |
---|---|---|
static <T> ProcedureCallerFactory<T> |
ProcedureCallerFactory.of(Class<T> inferfaceDeclaration,
DataSource dataSource) |
Creates a builder for the caller for the interface of stored procedures.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withExceptionAdapter(SQLExceptionAdapter exceptionAdapter) |
Allows you to change the way
SQLException s are translated into
unchecked exceptions. |
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withNamespace() |
Causes a namespace to be added to the call string.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withNamespaceNamingStrategy(NamingStrategy namespaceNamingStrategy) |
Causes a namespace to be added to the call string by applying
the given function to the interface name.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withOracleArrays() |
Uses Oracle API to create arrays.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withOracleExtensions() |
Enables all Oracle extensions.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withOracleTypeMapper() |
Uses Oracle JDBC types.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withParameterNamingStrategy(NamingStrategy parameterNamingStrategy) |
Allows you to use a custom way how parameter names are derived from Java names.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withParameterRegistration(ProcedureCallerFactory.ParameterRegistration parameterRegistration) |
Allows you to change the way procedure parameters are registered.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withProcedureNamingStrategy(NamingStrategy procedureNamingStrategy) |
Allows you to use a custom way how procedure names are derived from Java names.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withSchema() |
Causes a schema name to be added to the call string.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withSchemaNamingStrategy(NamingStrategy schemaNamingStrategy) |
Causes a schema name to be added to the call string by applying
the given function to the interface name.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withTypeMapper(TypeMapper typeMapper) |
Allows you to change the way Java types are translated to SQL types.
|
ProcedureCallerFactory<T> |
ProcedureCallerFactory.withTypeNameResolver(TypeNameResolver typeNameResolver) |
Allows you to change the way SQL type names for array elements are resolved.
|
Copyright © 2016–2018. All rights reserved.