
liquibase.ext.hibernate.database.HibernateDriver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-hibernate Show documentation
Show all versions of liquibase-hibernate Show documentation
Liquibase extension for hibernate integration including generating changesets based on changed
hibernate mapping files
The newest version!
package liquibase.ext.hibernate.database;
import java.sql.*;
import java.util.Properties;
import java.util.logging.Logger;
public class HibernateDriver implements Driver {
public Connection connect(String url, Properties info) throws SQLException {
return new HibernateConnection(url);
}
public boolean acceptsURL(String url) throws SQLException {
return ConfigType.forUrl(url) != null;
}
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException {
return new DriverPropertyInfo[0];
}
public int getMajorVersion() {
return 0;
}
public int getMinorVersion() {
return 0;
}
public boolean jdbcCompliant() {
return false;
}
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy