Interface ConnectionHelper


@Deprecated public interface ConnectionHelper
Deprecated.
Everything in this package has been replaced with SchemaManagementTool and friends.
Contract for delegates responsible for managing connection used by the hbm2ddl tools.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Get a reference to the connection we are using.
    void
    prepare(boolean needsAutoCommit)
    Deprecated.
    Prepare the helper for use.
    void
    Deprecated.
    Release any resources held by this helper.
  • Method Details

    • prepare

      void prepare(boolean needsAutoCommit) throws SQLException
      Deprecated.
      Prepare the helper for use.
      Parameters:
      needsAutoCommit - Should connection be forced to auto-commit if not already.
      Throws:
      SQLException
    • getConnection

      Connection getConnection() throws SQLException
      Deprecated.
      Get a reference to the connection we are using.
      Returns:
      The JDBC connection.
      Throws:
      SQLException
    • release

      void release() throws SQLException
      Deprecated.
      Release any resources held by this helper.
      Throws:
      SQLException