|
|
|
@ -497,6 +497,18 @@ public abstract class SessionFactoryBuilderSupport<This extends SessionFactoryBu |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Subclasses can override this method to perform custom initialization |
|
|
|
|
* of the Configuration instance used for SessionFactory creation. |
|
|
|
|
* The properties of this Builder will be applied to |
|
|
|
|
* the Configuration object that gets returned here. |
|
|
|
|
* <p>The default implementation creates a new Configuration instance. |
|
|
|
|
* A custom implementation could prepare the instance in a specific way, |
|
|
|
|
* or use a custom Configuration subclass. |
|
|
|
|
* @return the Configuration instance |
|
|
|
|
* @throws HibernateException in case of Hibernate initialization errors |
|
|
|
|
* @see org.hibernate.cfg.Configuration#Configuration() |
|
|
|
|
*/ |
|
|
|
|
/** |
|
|
|
|
* Instantiate and return an instance of the {@link Configuration} class
|
|
|
|
|
* type for this builder. Subclasses may override in order to customize |
|
|
|
|