Class BatchSqlQuery
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.data.SqlQuery
-
- com.evolveum.midpoint.repo.sql.data.BatchSqlQuery
-
public class BatchSqlQuery extends SqlQuery
- Author:
- skublik
-
-
Constructor Summary
Constructors Constructor Description BatchSqlQuery()
BatchSqlQuery(SqlRepositoryConfiguration.Database database)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQueryForBatch(SingleSqlQuery sqlQuery)
PreparedStatement
createPreparedStatement(Connection con)
void
execute(Connection connection)
boolean
isEmpty()
-
Methods inherited from class com.evolveum.midpoint.repo.sql.data.SqlQuery
addParametersToStatment, getPrimaryKeys, setDatabase, setPrimaryKeys, toRepoType
-
-
-
-
Constructor Detail
-
BatchSqlQuery
public BatchSqlQuery()
-
BatchSqlQuery
public BatchSqlQuery(SqlRepositoryConfiguration.Database database)
-
-
Method Detail
-
addQueryForBatch
public void addQueryForBatch(SingleSqlQuery sqlQuery)
-
createPreparedStatement
public PreparedStatement createPreparedStatement(Connection con) throws SQLException
- Specified by:
createPreparedStatement
in classSqlQuery
- Throws:
SQLException
-
execute
public void execute(Connection connection) throws SQLException
- Specified by:
execute
in classSqlQuery
- Throws:
SQLException
-
isEmpty
public boolean isEmpty()
-
-