Interface LogicalConnectionImplementor

    • Method Detail

      • getPhysicalConnection

        java.sql.Connection getPhysicalConnection()
        Exposes access to the "real" Connection.
        The connection
      • manualDisconnect

        java.sql.Connection manualDisconnect()
        Manually disconnect the underlying JDBC Connection. The assumption here is that the manager will be reconnected at a later point in time.
        The connection maintained here at time of disconnect. null if there was no connection cached internally.
      • manualReconnect

        void manualReconnect​(java.sql.Connection suppliedConnection)
        Manually reconnect the underlying JDBC Connection. Should be called at some point after manualDisconnect().
        suppliedConnection - For user supplied connection strategy the user needs to hand us the connection with which to reconnect. It is an error to pass a connection in the other strategies.
      • makeShareableCopy

        LogicalConnectionImplementor makeShareableCopy()
        This method is not used by Hibernate.
        Creates a shareable copy of itself for use in "shared sessions"
        The shareable copy.
      • serialize

        void serialize​( oos)
        Serialization hook
        oos - The stream to write out state to
        Throws: - Problem accessing stream