Class HibernateConnection

  • All Implemented Interfaces:
    AutoCloseable, Connection, Wrapper

    public class HibernateConnection
    extends Object
    implements Connection
    Implements java.sql.Connection in order to pretend a hibernate configuration is a database in order to fit into the Liquibase framework. Beyond standard Connection methods, this class exposes getPrefix(), getPath() and getProperties() to access the setting passed in the JDBC URL.