Hibernate ORM ConcurrentStatisticsImpl - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM ConcurrentStatisticsImpl class.

This code example shows how to use the following methods:
/** 
 * @author Steve Ebersole 
 */ 
public class TransactionEnvironmentImpl implements TransactionEnvironment {
	private final ServiceRegistry serviceRegistry;
	private final ConcurrentStatisticsImpl statistics = new ConcurrentStatisticsImpl();
 
	public TransactionEnvironmentImpl(ServiceRegistry serviceRegistry) {
		this.serviceRegistry = serviceRegistry;
	} 
 
	@Override 
	public SessionFactoryImplementor getSessionFactory() {
		throw new NotYetImplementedException( "Not available in this context" );
	} 
 
	@Override 
	public JdbcServices getJdbcServices() {
		return serviceRegistry.getService( JdbcServices.class );
	} 
Full Snippet Info
4
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE