com.github.fluent.hibernate.cfg.Fluent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluent-hibernate-core Show documentation
Show all versions of fluent-hibernate-core Show documentation
A library to work with Hibernate by fluent API. This library hasn't dependencies except Hibernate dependencies. It requires Java 1.6 and above.
The newest version!
package com.github.fluent.hibernate.cfg;
import org.hibernate.SessionFactory;
/**
* The entry point for a fluent-hibernate configuration.
*
* @author V.Ladynev
*/
public final class Fluent {
private Fluent() {
}
/**
* Creates a builder for a Hibernate session factory configuration and build.
*
* @return a builder
*/
public static FluentFactoryBuilder factory() {
return new FluentFactoryBuilder();
}
public static void configureFromExistingSessionFactory(SessionFactory sessionFactory) {
FluentFactoryBuilder.configureFromExistingSessionFactory(sessionFactory);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy