Interface Connection<D extends Database<?>>

    • Method Detail

      • getCurrentSchema

        Schema<?,​?> getCurrentSchema()
      • getSchema

        Schema<?,​?> getSchema​(String name)
        Retrieves the schema with this name in the database.
      • changeCurrentSchemaTo

        void changeCurrentSchemaTo​(Schema<?,​?> schema)
      • lock

        <T> T lock​(Table<?,​?> table,
                   Callable<T> callable)
        Locks this table and executes this callable.
        Returns:
        The result of the callable.
      • restoreOriginalState

        void restoreOriginalState()
      • getJdbcConnection

        Connection getJdbcConnection()