java.lang.Object | |
↳ | org.hibernate.connection.ConnectionProviderFactory |
Instantiates a connection provider given either System properties or a java.util.Properties instance. The ConnectionProviderFactory first attempts to find a name of a ConnectionProvider subclass in the property hibernate.connection.provider_class. If missing, heuristics are used to choose either DriverManagerConnectionProvider, DatasourceConnectionProvider, C3P0ConnectionProvider or DBCPConnectionProvider.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Transform JDBC connection properties.
| |||||||||||
Instantiate a ConnectionProvider using given properties.
| |||||||||||
Instantiate a ConnectionProvider using System properties.
| |||||||||||
Create a connection provider based on the given information.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Transform JDBC connection properties. Passed in the form hibernate.connection.* to the format accepted by DriverManager by trimming the leading "hibernate.connection".
Instantiate a ConnectionProvider using given properties. Method newConnectionProvider.
properties | hibernate SessionFactory properties |
---|
HibernateException |
---|
Instantiate a ConnectionProvider using System properties.
HibernateException |
---|
Create a connection provider based on the given information.
properties | Properties being used to build the SessionFactory . |
---|---|
connectionProviderInjectionData | Something to be injected in the connection provided |
HibernateException |
---|