|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lazydog.repository.jpa.internal.ConnectionFactory
public class ConnectionFactory
Connection factory.
| Nested Class Summary | |
|---|---|
static class |
ConnectionFactory.Type
|
| Method Summary | |
|---|---|
Connection |
getConnection()
Get the connection. |
Connection |
getConnection(ConnectionFactory.Type type)
Get the connection for the type. |
static ConnectionFactory |
newInstance(javax.persistence.EntityManager entityManager)
Get a new instance of the connection factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Connection getConnection()
public Connection getConnection(ConnectionFactory.Type type)
type - the type.
public static ConnectionFactory newInstance(javax.persistence.EntityManager entityManager)
entityManager - the entity manager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||