All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluent.hibernate.cfg.Fluent Maven / Gradle / Ivy

Go to download

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