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

com.github.fluent.hibernate.cfg.IConfigurationBuilder 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.

There is a newer version: 0.3.1
Show newest version
package com.github.fluent.hibernate.cfg;

import java.io.File;

import org.hibernate.SessionFactory;

import com.github.fluent.hibernate.cfg.strategy.StrategyOptions;

interface IConfigurationBuilder {

    void configure(String hibernateCfgXml);

    void addHibernateProperties(HibernateProperties options);

    SessionFactory buildSessionFactory();

    void addPropertiesFromClassPath(String classPathResourcePath);

    void addPropertiesFromFile(File propertiesFilePath);

    void addAnnotatedClasses(Class[] annotatedClasses);

    void addPackagesToScan(String[] packagesToScan);

    void useNamingStrategy(StrategyOptions options);

    void useNamingStrategy(Object strategy);

    ISessionControl createSessionControl();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy