Package ru.curs.celesta.dbutils.stmt
Class MaskedStatementHolder
- java.lang.Object
-
- ru.curs.celesta.dbutils.stmt.PreparedStmtHolder
-
- ru.curs.celesta.dbutils.stmt.MaskedStatementHolder
-
public abstract class MaskedStatementHolder extends PreparedStmtHolder
Holder for a statement which depends on nulls mask.
-
-
Constructor Summary
Constructors Constructor Description MaskedStatementHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the statement.boolean[]
getNullsMask()
PreparedStatement
getStatement(Object[] rec, int recversion)
Returns prepared statement with refreshed parameters.-
Methods inherited from class ru.curs.celesta.dbutils.stmt.PreparedStmtHolder
isStmtValid
-
-
-
-
Method Detail
-
getStatement
public PreparedStatement getStatement(Object[] rec, int recversion)
Description copied from class:PreparedStmtHolder
Returns prepared statement with refreshed parameters.- Overrides:
getStatement
in classPreparedStmtHolder
- Parameters:
rec
- Array of record fields' values.recversion
- record version
-
close
public void close()
Description copied from class:PreparedStmtHolder
Closes the statement.- Overrides:
close
in classPreparedStmtHolder
-
getNullsMask
public final boolean[] getNullsMask()
-
-