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