public class InsertStatement extends BaseStatement
connection, instance, statement| Constructor and Description |
|---|
InsertStatement(java.sql.Connection connection,
java.lang.String statement) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
long |
executeAndGetId() |
java.sql.PreparedStatement |
get() |
close, setBool, setDate, setDouble, setEnum, setInt, setLong, setOptionalBool, setOptionalDate, setOptionalDouble, setOptionalEnum, setOptionalInt, setOptionalLong, setOptionalString, setOptionalTimestamp, setOptionalUUIDBinary, setString, setTimestamp, setUUIDBinarypublic InsertStatement(java.sql.Connection connection,
java.lang.String statement)
public java.sql.PreparedStatement get()
throws java.sql.SQLException
get in class BaseStatementjava.sql.SQLExceptionpublic void execute()
throws java.sql.SQLException
java.sql.SQLExceptionpublic long executeAndGetId()
throws java.sql.SQLException
java.sql.SQLException