public interface IPhynixxManagedConnectionFactory<C extends IPhynixxConnection> extends IPhynixxConnectionFactory<C>
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes all currently opened connections
|
C |
getConnection()
gets an new instance of the connection
|
IPhynixxManagedConnection<C> |
getManagedConnection()
the returned connection has to be explicitly closed
|
boolean |
isAutocommitAware() |
boolean |
isSynchronizeConnection() |
void |
setAutocommitAware(boolean state)
Default ist true
|
void |
setSynchronizeConnection(boolean state) |
getConnectionInterfaceIPhynixxManagedConnection<C> getManagedConnection()
C getConnection()
IPhynixxConnectionFactorygetConnection in interface IPhynixxConnectionFactory<C extends IPhynixxConnection>void setAutocommitAware(boolean state)
state - boolean isAutocommitAware()
void setSynchronizeConnection(boolean state)
boolean isSynchronizeConnection()
void close()
close in interface IPhynixxConnectionFactory<C extends IPhynixxConnection>Copyright © 2017. All rights reserved.