org.hibernate.transaction.TransactionFactory Java Examples

The following examples show how to use org.hibernate.transaction.TransactionFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SettingsFactory.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
protected TransactionFactory createTransactionFactory(Properties properties) {
	return TransactionFactoryFactory.buildTransactionFactory(properties);
}
 
Example #2
Source File: Settings.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public TransactionFactory getTransactionFactory() {
	return transactionFactory;
}
 
Example #3
Source File: Settings.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
void setTransactionFactory(TransactionFactory factory) {
	transactionFactory = factory;
}
 
Example #4
Source File: SessionFactoryImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 4 votes vote down vote up
public TransactionFactory getTransactionFactory() {
	return settings.getTransactionFactory();
}