Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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
    • Constructor Detail

      • ConnectionStatementState

        ConnectionStatementState()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object