Class HibernateDriver
java.lang.Object
liquibase.ext.hibernate.database.connection.HibernateDriver
- All Implemented Interfaces:
Driver,liquibase.database.LiquibaseExtDriver
public class HibernateDriver
extends Object
implements Driver, liquibase.database.LiquibaseExtDriver
Implements the standard java.sql.Driver interface to allow the Hibernate integration to better fit into
what Liquibase expects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsURL(String url) connect(String url, Properties info) intintgetPropertyInfo(String url, Properties info) booleanvoidsetResourceAccessor(liquibase.resource.ResourceAccessor accessor)
-
Constructor Details
-
HibernateDriver
public HibernateDriver()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceDriver- Throws:
SQLException
-
acceptsURL
- Specified by:
acceptsURLin interfaceDriver- Throws:
SQLException
-
getPropertyInfo
- Specified by:
getPropertyInfoin interfaceDriver- Throws:
SQLException
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersionin interfaceDriver
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersionin interfaceDriver
-
jdbcCompliant
public boolean jdbcCompliant()- Specified by:
jdbcCompliantin interfaceDriver
-
getParentLogger
- Specified by:
getParentLoggerin interfaceDriver- Throws:
SQLFeatureNotSupportedException
-
setResourceAccessor
public void setResourceAccessor(liquibase.resource.ResourceAccessor accessor) - Specified by:
setResourceAccessorin interfaceliquibase.database.LiquibaseExtDriver
-