org.hibernate.exception.spi.Configurable Maven / Gradle / Ivy
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.exception.spi;
import java.util.Properties;
import org.hibernate.HibernateException;
/**
* The Configurable interface defines the contract for SQLExceptionConverter impls that
* want to be configured prior to usage given the currently defined Hibernate properties.
*
* @author Steve Ebersole
*/
public interface Configurable {
/**
* Configure the component, using the given settings and properties.
*
* @param properties All defined startup properties.
* @throws HibernateException Indicates a configuration exception.
*/
public void configure(Properties properties) throws HibernateException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy