Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.connection |
This package abstracts the mechanism for obtaining
a JDBC connection.
|
org.hibernate.ejb | |
org.hibernate.ejb.connection | |
org.hibernate.engine |
This package contains classes that are "shared" by other packages,
and implementations of some key algorithms.
|
org.hibernate.impl |
This package contains implementations of the
central Hibernate APIs, especially the
Hibernate session.
|
org.hibernate.testing.tm |
Defines a simplified JTA TransactionManager and transactional connection pool
designed for use in test suite and simple usage scenarios.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionProvider |
SettingsFactory.createConnectionProvider(Properties properties) |
ConnectionProvider |
Settings.getConnectionProvider() |
Modifier and Type | Class and Description |
---|---|
class |
C3P0ConnectionProvider
A connection provider that uses a C3P0 connection pool.
|
class |
DatasourceConnectionProvider
A connection provider that uses a DataSource registered with JNDI.
|
class |
DriverManagerConnectionProvider
A connection provider that uses java.sql.DriverManager.
|
class |
ProxoolConnectionProvider
A connection provider that uses a Proxool connection pool.
|
class |
UserSuppliedConnectionProvider
An implementation of the
|
Modifier and Type | Method and Description |
---|---|
static ConnectionProvider |
ConnectionProviderFactory.newConnectionProvider()
Instantiate a ConnectionProvider using System properties.
|
static ConnectionProvider |
ConnectionProviderFactory.newConnectionProvider(Properties properties)
Instantiate a ConnectionProvider using given properties.
|
static ConnectionProvider |
ConnectionProviderFactory.newConnectionProvider(Properties properties,
Map connectionProviderInjectionData)
Create a connection provider based on the given information.
|
Modifier and Type | Method and Description |
---|---|
protected ConnectionProvider |
InjectionSettingsFactory.createConnectionProvider(Properties properties) |
Modifier and Type | Class and Description |
---|---|
class |
InjectedDataSourceConnectionProvider
A specialization of
DatasourceConnectionProvider which uses the DataSource specified vi
InjectedDataSourceConnectionProvider.setDataSource(javax.sql.DataSource) rather than locating it from JNDI. |
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
SessionFactoryImplementor.getConnectionProvider()
Get the connection provider
|
Modifier and Type | Method and Description |
---|---|
ConnectionProvider |
SessionFactoryImpl.getConnectionProvider() |
Modifier and Type | Class and Description |
---|---|
class |
ConnectionProviderImpl
A
ConnectionProvider implementation adding JTA-style transactionality
around the returned connections using the SimpleJtaTransactionManagerImpl . |
Modifier and Type | Method and Description |
---|---|
static ConnectionProvider |
ConnectionProviderImpl.getActualConnectionProvider() |
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved