B C E F G I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- build() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Creates a caller for the interface of stored procedures using the configured options.
- build(Class<T>, DataSource) - Static method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Creates a caller for the interface of stored procedures using the defaults.
C
- capitalize() - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that converts the first character to upper case.
- com.github.marschall.storedprocedureproxy - package com.github.marschall.storedprocedureproxy
- com.github.marschall.storedprocedureproxy.annotations - package com.github.marschall.storedprocedureproxy.annotations
-
Contains annotations to that provide additional information about a stored procedure in addition of what can be deduced from a Java method declaration.
- com.github.marschall.storedprocedureproxy.spi - package com.github.marschall.storedprocedureproxy.spi
-
Contains interfaces that may be implemented by users to customize functionality if the default behavior is not appropriate for their use case.
E
- extractValue(ResultSet) - Method in interface com.github.marschall.storedprocedureproxy.ValueExtractor
-
Extract the value from the current row.
- extractValue(ResultSet, int) - Method in interface com.github.marschall.storedprocedureproxy.NumberedValueExtractor
-
Extract the value from the current row.
F
- FetchSize - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Allows manual control over the fetch size.
G
- getCause() - Method in exception com.github.marschall.storedprocedureproxy.UncheckedSQLException
-
Convenience method that returns the cause as type
SQLException
avoiding the need to cast the result.
I
- IDENTITY - Static variable in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
The identity transformation.
- IncorrectResultSizeException - Exception in com.github.marschall.storedprocedureproxy
-
Signals an unexpected amount of rows was returned.
- index() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.InOutParameter
-
Defines the index of the inout parameter.
- index() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.OutParameter
-
Defines the index of the out parameter.
- INDEX_AND_TYPE - com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Binds by index and type.
- INDEX_ONLY - com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Binds by index only.
- InOutParameter - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Signals that the procedure uses an inout parameter rather than an out parameter, a return value or result set.
L
- lowerCase() - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that converts the entire string to lower case.
M
- mapToSqlType(Class<?>) - Method in interface com.github.marschall.storedprocedureproxy.spi.TypeMapper
-
Maps a Java type to a SQL type.
N
- name() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.OutParameter
-
Defines the name of the out parameter.
- name() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ReturnValue
-
Defines the name of the return value.
- NAME_AND_TYPE - com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Binds by name and type.
- NAME_ONLY - com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Binds by name only.
- Namespace - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the namespace of a stored procedure.
- NamingStrategy - Interface in com.github.marschall.storedprocedureproxy.spi
-
Derives a database name of an object from the Java name of an object.
- NumberedValueExtractor<V> - Interface in com.github.marschall.storedprocedureproxy
-
Extracts a value from a single row.
O
- of(Class<T>, DataSource) - Static method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Creates a builder for the caller for the interface of stored procedures.
- OutParameter - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Signals that the procedure uses an out parameter rather than a return value or result set.
P
- ParameterName - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the name of an in parameter.
- ParameterType - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the SQL type of an in parameter.
- prefix(String) - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that applies a prefix to the string.
- ProcedureCallerFactory<T> - Class in com.github.marschall.storedprocedureproxy
-
Creates instances of an interface containing stored procedure declarations.
- ProcedureCallerFactory.ParameterRegistration - Enum in com.github.marschall.storedprocedureproxy
-
Determines how parameters should be registered.
- ProcedureName - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the name of a stored procedure.
R
- resolveTypeName(Parameter) - Method in interface com.github.marschall.storedprocedureproxy.spi.TypeNameResolver
-
Resolve the SQL name of a type.
- ReturnValue - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Signals that the procedure uses a return value rather than an out parameter or result set.
S
- Schema - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the name of a database schema.
- snakeCase() - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that converts the entire string to snake case.
- SQLExceptionAdapter - Interface in com.github.marschall.storedprocedureproxy
-
Translates a checked
SQLException
to an unchecked exception.
T
- then(NamingStrategy) - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Applies another transformation after the current transformation.
- thenCapitalize() - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Applies an upper case transformation of the first character after the current transformation.
- thenLowerCase() - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Applies a lower case transformation of the entire string after the current transformation.
- thenPrefix(String) - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Appends a prefix after the current transformation.
- thenSnakeCase() - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Applies snake case after the current transformation.
- thenUpperCase() - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Applies a upper case transformation of the entire string after the current transformation.
- thenWithoutFirst(int) - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Skips a number of characters from the start of the name after the current transformation.
- translate(String, String, SQLException) - Method in interface com.github.marschall.storedprocedureproxy.SQLExceptionAdapter
-
Translates a checked
SQLException
to an unchecked exception. - translateToDatabase(String) - Method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Derives a database name of an object from the Java name of an object.
- type() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.OutParameter
-
Defines the SQL type of the out parameter.
- type() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ReturnValue
-
Defines the SQL type of the return value.
- TypeMapper - Interface in com.github.marschall.storedprocedureproxy.spi
-
Maps a Java type to a SQL type.
- typeName() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.OutParameter
-
If the out parameter is a a user defined type like a named array types then this method denotes the type name.
- typeName() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ReturnValue
-
If the out parameter is a a user defined type like a named array types then this method denotes the type name.
- TypeName - Annotation Type in com.github.marschall.storedprocedureproxy.annotations
-
Defines the name of a type.
- TypeNameResolver - Interface in com.github.marschall.storedprocedureproxy.spi
-
Resolves the SQL name of a type.
U
- UncheckedSQLException - Exception in com.github.marschall.storedprocedureproxy
-
Wraps an
SQLException
with an unchecked exception. - upperCase() - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that converts the entire string to upper case.
V
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.FetchSize
-
Sets the fetch size to be used.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.Namespace
-
Defines the namespace of a stored procedure.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ParameterName
-
Defines the name of the in parameter.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ParameterType
-
Defines the SQL type of an in parameter.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.ProcedureName
-
Defines the name of the stored procedure.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.Schema
-
Defines the name of the database schema.
- value() - Method in annotation type com.github.marschall.storedprocedureproxy.annotations.TypeName
-
Defines the name of a type.
- ValueExtractor<V> - Interface in com.github.marschall.storedprocedureproxy
-
Extracts a value from a single row.
- valueOf(String) - Static method in enum com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.marschall.storedprocedureproxy.ProcedureCallerFactory.ParameterRegistration
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withExceptionAdapter(SQLExceptionAdapter) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to change the way
SQLException
s are translated into unchecked exceptions. - withNamespace() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Causes a namespace to be added to the call string.
- withNamespaceNamingStrategy(NamingStrategy) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Causes a namespace to be added to the call string by applying the given function to the interface name.
- withOracleArrays() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Uses Oracle API to create arrays.
- withOracleExtensions() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Enables all Oracle extensions.
- withOracleTypeMapper() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Uses Oracle JDBC types.
- withoutFirst(int) - Static method in interface com.github.marschall.storedprocedureproxy.spi.NamingStrategy
-
Creates a new transformation that skips a given number of characters from the start of the java name.
- withParameterNamingStrategy(NamingStrategy) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to use a custom way how parameter names are derived from Java names.
- withParameterRegistration(ProcedureCallerFactory.ParameterRegistration) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to change the way procedure parameters are registered.
- withPostgresArrays() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Uses PostgreS API to create primitive arrays.
- withProcedureNamingStrategy(NamingStrategy) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to use a custom way how procedure names are derived from Java names.
- withSchema() - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Causes a schema name to be added to the call string.
- withSchemaNamingStrategy(NamingStrategy) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Causes a schema name to be added to the call string by applying the given function to the interface name.
- withTypeMapper(TypeMapper) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to change the way Java types are translated to SQL types.
- withTypeNameResolver(TypeNameResolver) - Method in class com.github.marschall.storedprocedureproxy.ProcedureCallerFactory
-
Allows you to change the way SQL type names for array elements are resolved.
All Classes All Packages