public interface BackendPreparedStatement
| Modifier and Type | Method and Description |
|---|---|
void |
setBigDecimal(int p,
BigDecimal d)
Sets the designated parameter to the given
java.math.BigDecimal value. |
void |
setBoolean(int p,
boolean b)
Sets the designated parameter to the given Java
boolean value. |
void |
setBoolean(int p,
Boolean b)
Sets the designated parameter to the given Java
Boolean value. |
void |
setByte(int p,
byte b)
Sets the designated parameter to the given Java
byte value. |
void |
setByte(int p,
Byte b)
Sets the designated parameter to the given Java
Byte value. |
void |
setChar(int p,
char c)
Sets the designated parameter to the given Java
char value. |
void |
setCharacter(int p,
Character c)
Sets the designated parameter to the given Java
Character value. |
void |
setCharacter(int p,
Character c,
boolean mapNull)
Sets the designated parameter to the given Java
Character value. |
void |
setDate(int p,
Date d)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
setDate(int p,
Date d,
boolean mapNull)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
setDate(int p,
Date d,
Calendar timezone)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
setDate(int p,
Date d,
Calendar timezone,
boolean mapNull)
Sets the designated parameter to the given
java.sql.Date value
using the default time zone of the virtual machine that is running
the application. |
void |
setDouble(int p,
double d)
Sets the designated parameter to the given Java
double value. |
void |
setDouble(int p,
Double d)
Sets the designated parameter to the given Java
Double value. |
void |
setFloat(int p,
float f)
Sets the designated parameter to the given Java
float value. |
void |
setFloat(int p,
Float f)
Sets the designated parameter to the given Java
Float value. |
void |
setInt(int p,
int i)
Sets the designated parameter to the given Java
int value. |
void |
setInteger(int p,
Integer i)
Sets the designated parameter to the given Java
Integer value. |
void |
setLocalDate(int p,
LocalDate d)
Sets the designated parameter to the given
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application. |
void |
setLocalDate(int p,
LocalDate d,
boolean mapNull)
Sets the designated parameter to the given
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application. |
void |
setLocalDate(int p,
LocalDate d,
Calendar timezone)
Sets the designated parameter to the given
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application. |
void |
setLocalDate(int p,
LocalDate d,
Calendar timezone,
boolean mapNull)
Sets the designated parameter to the given
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application. |
void |
setLocalDateTime(int p,
LocalDateTime ts)
Sets the designated parameter to the given
java.time.LocalDateTime value. |
void |
setLocalDateTime(int p,
LocalDateTime ts,
boolean mapNull)
Sets the designated parameter to the given
java.time.LocalDateTime value. |
void |
setLocalDateTime(int p,
LocalDateTime ts,
Calendar timezone)
Sets the designated parameter to the given
java.time.LocalDateTime value. |
void |
setLocalDateTime(int p,
LocalDateTime ts,
Calendar timezone,
boolean mapNull)
Sets the designated parameter to the given
java.time.LocalDateTime value. |
void |
setLocalTime(int p,
LocalTime t)
Sets the designated parameter to the given
java.time.LocalTime value. |
void |
setLocalTime(int p,
LocalTime t,
Calendar timezone)
Sets the designated parameter to the given
java.time.LocalTime value. |
void |
setLong(int p,
long l)
Sets the designated parameter to the given Java
long value. |
void |
setLong(int p,
Long l)
Sets the designated parameter to the given Java
Long value. |
void |
setNull(int pos,
int type)
Sets the designated parameter to SQL
NULL. |
void |
setShort(int p,
short s)
Sets the designated parameter to the given Java
short value. |
void |
setShort(int p,
Short s)
Sets the designated parameter to the given Java
Short value. |
void |
setString(int p,
String s)
Sets the designated parameter to the given Java
String value. |
void |
setString(int p,
String s,
boolean mapNull)
Sets the designated parameter to the given Java
String value. |
void |
setTime(int p,
Time t)
Sets the designated parameter to the given
java.sql.Time value. |
void |
setTime(int p,
Time t,
Calendar timezone)
Sets the designated parameter to the given
java.sql.Time value. |
void |
setTimestamp(int p,
Timestamp ts)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
setTimestamp(int p,
Timestamp ts,
boolean mapNull)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
setTimestamp(int p,
Timestamp ts,
Calendar timezone)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void |
setTimestamp(int p,
Timestamp ts,
Calendar timezone,
boolean mapNull)
Sets the designated parameter to the given
java.sql.Timestamp value. |
void setBoolean(int p,
Boolean b)
Boolean value.
The driver converts this
to an SQL BIT or BOOLEAN value when it sends it to the database.p - the first parameter is 1, the second is 2, ...b - the parameter value, null if the value should be set to SQL NULLvoid setBoolean(int p,
boolean b)
boolean value.
The driver converts this
to an SQL BIT or BOOLEAN value when it sends it to the database.p - the first parameter is 1, the second is 2, ...b - the parameter valuevoid setByte(int p,
Byte b)
Byte value.
The driver converts this
to an SQL TINYINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...b - the parameter value, null if the value should be set to SQL NULLvoid setByte(int p,
byte b)
byte value.
The driver converts this
to an SQL TINYINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...b - the parameter valuevoid setChar(int p,
char c)
char value.
The driver converts this
to an SQL VARCHAR
when it sends it to the database.p - the first parameter is 1, the second is 2, ...c - the parameter valuevoid setCharacter(int p,
Character c)
Character value.
The driver converts this
to an SQL VARCHAR
when it sends it to the database.p - the first parameter is 1, the second is 2, ...c - the parameter value, null if the value should be set to SQL NULLvoid setCharacter(int p,
Character c,
boolean mapNull)
Character value.
The driver converts this
to an SQL VARCHAR
when it sends it to the database.p - the first parameter is 1, the second is 2, ...c - the parameter value, null if the value should be set to SQL NULLmapNull - true if null values should be mapped to BLANK, else SQL NULLvoid setDate(int p,
Date d)
java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter value, null if the value should be set to SQL NULLvoid setDate(int p,
Date d,
boolean mapNull)
java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuemapNull - to map null values to 1.1.1970 (epochal time zero), else SQL NULLvoid setDate(int p,
Date d,
Calendar timezone)
java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuetimezone - the calendar providing the timezone configurationvoid setDate(int p,
Date d,
Calendar timezone,
boolean mapNull)
java.sql.Date value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuetimezone - the calendar providing the timezone configurationmapNull - to map null values to 1.1.1970 (epochal time zero), else SQL NULLvoid setDouble(int p,
Double d)
Double value.
The driver converts this
to an SQL DOUBLE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter value, null if the value should be set to SQL NULLvoid setDouble(int p,
double d)
double value.
The driver converts this
to an SQL DOUBLE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuevoid setFloat(int p,
Float f)
Float value.
The driver converts this
to an SQL REAL value when it sends it to the database.p - the first parameter is 1, the second is 2, ...f - the parameter value, null if the value should be set to SQL NULLvoid setFloat(int p,
float f)
float value.
The driver converts this
to an SQL REAL value when it sends it to the database.p - the first parameter is 1, the second is 2, ...f - the parameter valuevoid setInt(int p,
int i)
int value.
The driver converts this
to an SQL INTEGER value when it sends it to the database.p - the first parameter is 1, the second is 2, ...i - the parameter valuevoid setInteger(int p,
Integer i)
Integer value.
The driver converts this
to an SQL INTEGER value when it sends it to the database.p - the first parameter is 1, the second is 2, ...i - the parameter value, null if the value should be set to SQL NULLvoid setLocalDate(int p,
LocalDate d)
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter value, null if the value should be set to SQL NULLvoid setLocalDate(int p,
LocalDate d,
boolean mapNull)
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuemapNull - to map null values to 1.1.1970 (epochal time zero), else SQL NULLvoid setLocalDate(int p,
LocalDate d,
Calendar timezone)
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuetimezone - the calendar providing the timezone configurationvoid setLocalDate(int p,
LocalDate d,
Calendar timezone,
boolean mapNull)
java.time.LocalDate value
using the default time zone of the virtual machine that is running
the application.
The driver converts this
to an SQL DATE value when it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter valuetimezone - the calendar providing the timezone configurationmapNull - to map null values to 1.1.1970 (epochal time zero), else SQL NULLvoid setLocalDateTime(int p,
LocalDateTime ts)
java.time.LocalDateTime value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter value, null if the value should be set to SQL NULLvoid setLocalDateTime(int p,
LocalDateTime ts,
boolean mapNull)
java.time.LocalDateTime value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuemapNull - to map null values to 1.1.1970 00:00:00.000 (epochal time zero),
else SQL NULLvoid setLocalDateTime(int p,
LocalDateTime ts,
Calendar timezone)
java.time.LocalDateTime value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuetimezone - the calendar providing the timezone configuration
else SQL NULLvoid setLocalDateTime(int p,
LocalDateTime ts,
Calendar timezone,
boolean mapNull)
java.time.LocalDateTime value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuetimezone - the calendar providing the timezone configurationmapNull - to map null values to 1.1.1970 00:00:00.000 (epochal time zero),
else SQL NULLvoid setLocalTime(int p,
LocalTime t)
java.time.LocalTime value.
The driver converts this
to an SQL TIME value when it sends it to the database.p - the first parameter is 1, the second is 2, ...t - the parameter value, null if the value should be set to SQL NULLvoid setLocalTime(int p,
LocalTime t,
Calendar timezone)
java.time.LocalTime value.
The driver converts this
to an SQL TIME value when it sends it to the database.p - the first parameter is 1, the second is 2, ...t - the parameter value, null if the value should be set to SQL NULLtimezone - the calendar providing the timezone configurationvoid setLong(int p,
Long l)
Long value.
The driver converts this
to an SQL BIGINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...l - the parameter value, null if the value should be set to SQL NULLvoid setLong(int p,
long l)
long value.
The driver converts this
to an SQL BIGINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...l - the parameter valuevoid setNull(int pos,
int type)
NULL.pos - the first parameter is 1, the second is 2, ...type - the SQL type code defined in java.sql.Typesvoid setShort(int p,
Short s)
Short value.
The driver converts this
to an SQL SMALLINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...s - the parameter value, null if the value should be set to SQL NULLvoid setShort(int p,
short s)
short value.
The driver converts this
to an SQL SMALLINT value when it sends it to the database.p - the first parameter is 1, the second is 2, ...s - the parameter valuevoid setString(int p,
String s)
String value.
The driver converts this
to an SQL VARCHAR or LONGVARCHAR value
(depending on the argument's
size relative to the driver's limits on VARCHAR values)
when it sends it to the database.p - the first parameter is 1, the second is 2, ...s - the parameter value, null if the value should be set to SQL NULLvoid setString(int p,
String s,
boolean mapNull)
String value.
The driver converts this
to an SQL VARCHAR or LONGVARCHAR value
(depending on the argument's
size relative to the driver's limits on VARCHAR values)
when it sends it to the database.p - the first parameter is 1, the second is 2, ...s - the parameter valuemapNull - true if null values should be mapped to the empty string, else SQL NULLvoid setTime(int p,
Time t)
java.sql.Time value.
The driver converts this
to an SQL TIME value when it sends it to the database.p - the first parameter is 1, the second is 2, ...t - the parameter value, null if the value should be set to SQL NULLvoid setTime(int p,
Time t,
Calendar timezone)
java.sql.Time value.
The driver converts this
to an SQL TIME value when it sends it to the database.p - the first parameter is 1, the second is 2, ...t - the parameter value, null if the value should be set to SQL NULLtimezone - the calendar providing the timezone configurationvoid setTimestamp(int p,
Timestamp ts)
java.sql.Timestamp value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter value, null if the value should be set to SQL NULLvoid setTimestamp(int p,
Timestamp ts,
boolean mapNull)
java.sql.Timestamp value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuemapNull - to map null values to 1.1.1970 00:00:00.000 (epochal time zero),
else SQL NULLvoid setTimestamp(int p,
Timestamp ts,
Calendar timezone)
java.sql.Timestamp value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuetimezone - the calendar providing the timezone configuration
else SQL NULLvoid setTimestamp(int p,
Timestamp ts,
Calendar timezone,
boolean mapNull)
java.sql.Timestamp value.
The driver
converts this to an SQL TIMESTAMP value when it sends it to the
database.p - the first parameter is 1, the second is 2, ...ts - the parameter valuetimezone - the calendar providing the timezone configurationmapNull - to map null values to 1.1.1970 00:00:00.000 (epochal time zero),
else SQL NULLvoid setBigDecimal(int p,
BigDecimal d)
java.math.BigDecimal value.
The driver converts this to an SQL NUMERIC value when
it sends it to the database.p - the first parameter is 1, the second is 2, ...d - the parameter value, null if the value should be set to SQL NULLTentackle - a domain driven enterprise framework