接口 ConnectionHelper


  • @Deprecated
    public interface ConnectionHelper
    已过时。
    Everything in this package has been replaced with SchemaManagementTool and friends.
    Contract for delegates responsible for managing connection used by the hbm2ddl tools.
    作者:
    Steve Ebersole
    • 方法详细资料

      • prepare

        void prepare​(boolean needsAutoCommit)
              throws SQLException
        已过时。
        Prepare the helper for use.
        参数:
        needsAutoCommit - Should connection be forced to auto-commit if not already.
        抛出:
        SQLException
      • getConnection

        Connection getConnection()
                          throws SQLException
        已过时。
        Get a reference to the connection we are using.
        返回:
        The JDBC connection.
        抛出:
        SQLException
      • release

        void release()
              throws SQLException
        已过时。
        Release any resources held by this helper.
        抛出:
        SQLException