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