Package org.datanucleus.store.rdbms
Class SQLController.ConnectionStatementState
- java.lang.Object
-
- org.datanucleus.store.rdbms.SQLController.ConnectionStatementState
-
- Enclosing class:
- SQLController
static class SQLController.ConnectionStatementState extends java.lang.Object
State of a connection. Maintains an update statement in "wait" state. Stores the statement, the text, the current batch level on this statement, and whether it is processable right now.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
batchSize
Number of statements currently batched (1 or more means that this is batchable).(package private) boolean
closeStatementOnProcess
Whether to close the statement on processing(package private) boolean
processable
Whether this statement has been allocated only, or whether it is processable now.(package private) java.sql.PreparedStatement
stmt
The current update PreparedStatement.(package private) java.lang.String
stmtText
The text for the statement.
-
Constructor Summary
Constructors Constructor Description ConnectionStatementState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
stmt
java.sql.PreparedStatement stmt
The current update PreparedStatement.
-
stmtText
java.lang.String stmtText
The text for the statement.
-
batchSize
int batchSize
Number of statements currently batched (1 or more means that this is batchable).
-
processable
boolean processable
Whether this statement has been allocated only, or whether it is processable now.
-
closeStatementOnProcess
boolean closeStatementOnProcess
Whether to close the statement on processing
-
-