Package com.anylogic.engine.database
- java.lang.Object
- com.anylogic.engine.database.DatabaseStatements
@AnyLogicInternalAPI public class DatabaseStatements extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
Modifier and Type | Method | Description |
---|---|---|
static String | getSQLToSetFieldsInUpdateStatement | |
static PreparedStatement | prepareInsertStatement | |
static PreparedStatement | prepareUpdateStatement | |
static PreparedStatement | prepareUpdateStatementWhereIsNull |
@AnyLogicInternalAPI public static PreparedStatement prepareInsertStatement(Connection connection, String databaseTableName, boolean returnGeneratedKeys, String... fields) throws SQLException
- Throws:
SQLException
@AnyLogicInternalAPI public static PreparedStatement prepareUpdateStatement(Connection connection, String name, String unicFieldName, String... fields) throws SQLException
- Throws:
SQLException
@AnyLogicInternalAPI public static PreparedStatement prepareUpdateStatementWhereIsNull(Connection connection, String name, String unicFieldName, String... fields) throws SQLException
- Throws:
SQLException
@AnyLogicInternalAPI public static String getSQLToSetFieldsInUpdateStatement(String... fields)