| Modifier and Type | Method and Description |
|---|---|
static Parameter |
in(Class<?> type)
Create a
NULL IN parameter using type inference and the given type hint. |
static Parameter |
in(Object value)
Create a
IN parameter using the given value. |
static Parameter |
in(Type type)
Create a
NULL IN parameter using the given Type. |
static Parameter |
in(Type type,
Object value)
|
static Parameter |
inOut(Class<?> type)
Create a
NULL IN/OUT parameter using type inference and the given type hint. |
static Parameter |
inOut(Object value)
Create a
IN/OUT parameter using the given value. |
static Parameter |
inOut(Type type)
Create a
NULL IN/OUT parameter using the given Type. |
static Parameter |
inOut(Type type,
Object value)
|
static Parameter |
out(Class<?> type)
Create a
OUT parameter using type inference and the given type hint. |
static Parameter |
out(Type type)
Create a
OUT parameter using the given Type. |
public static Parameter in(Type type)
NULL IN parameter using the given Type.type - the type to be sent to the database.IllegalArgumentException - if type is null.public static Parameter in(Class<?> type)
NULL IN parameter using type inference and the given type hint. The actual Type is inferred during statement execution.type - the type to be used for type inference.IllegalArgumentException - if type is null.public static Parameter in(Object value)
IN parameter using the given value. The actual Type is inferred during statement execution.value - the value to be used for type inference.IllegalArgumentException - if value is null.public static Parameter in(Type type, @Nullable Object value)
type - the type to be sent to the database.value - the value associated with the parameter, can be null.IllegalArgumentException - if type is null.public static Parameter out(Type type)
OUT parameter using the given Type.type - the type to be sent to the database.IllegalArgumentException - if type is null.public static Parameter out(Class<?> type)
OUT parameter using type inference and the given type hint. The actual Type is inferred during statement execution.type - the type to be used for type inference.IllegalArgumentException - if type is null.public static Parameter inOut(Type type)
NULL IN/OUT parameter using the given Type.type - the type to be sent to the database.IllegalArgumentException - if type is null.public static Parameter inOut(Class<?> type)
NULL IN/OUT parameter using type inference and the given type hint. The actual Type is inferred during statement execution.type - the type to be used for type inference.IllegalArgumentException - if type is null.public static Parameter inOut(Object value)
IN/OUT parameter using the given value. The actual Type is inferred during statement execution.^value - the value to be used for type inference.IllegalArgumentException - if value is null.public static Parameter inOut(Type type, @Nullable Object value)
type - the type to be sent to the database.value - the value associated with the parameter, can be null.IllegalArgumentException - if type is null.Copyright © 2021. All rights reserved.