Package org.datanucleus.store.rdbms
Class SQLController.ConnectionStatementState
java.lang.Object
org.datanucleus.store.rdbms.SQLController.ConnectionStatementState
- Enclosing class:
SQLController
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
FieldsModifier and TypeFieldDescription(package private) int
Number of statements currently batched (1 or more means that this is batchable).(package private) boolean
Whether to close the statement on processing(package private) boolean
Whether this statement has been allocated only, or whether it is processable now.(package private) PreparedStatement
The current update PreparedStatement.(package private) String
The text for the statement. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
stmt
PreparedStatement stmtThe current update PreparedStatement. -
stmtText
String stmtTextThe text for the statement. -
batchSize
int batchSizeNumber of statements currently batched (1 or more means that this is batchable). -
processable
boolean processableWhether this statement has been allocated only, or whether it is processable now. -
closeStatementOnProcess
boolean closeStatementOnProcessWhether to close the statement on processing
-
-
Constructor Details
-
ConnectionStatementState
ConnectionStatementState()
-
-
Method Details