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 |
out(Class<?> type)
Create a
NULL OUT parameter using type inference and the given type hint. |
static Parameter |
out(Object value)
Create a
OUT parameter using the given value . |
static Parameter |
out(Type type)
Create a
NULL OUT parameter using the given Type . |
static Parameter |
out(Type type,
Object value)
|
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)
NULL 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)
NULL 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 out(Object value)
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 out(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.