mirror of https://github.com/apache/openjpa.git
OPENJPA-1294: getNewConnection()
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@814072 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
81065fea3c
commit
6b96b82d31
|
@ -69,6 +69,16 @@ public interface JDBCStore {
|
||||||
*/
|
*/
|
||||||
public Connection getConnection();
|
public Connection getConnection();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return a new SQL connection to the database.
|
||||||
|
* This is used when the current connection still has a open result set
|
||||||
|
* and a new database operation needs to be done.
|
||||||
|
* The <code>close</code> method should always be called on the connection
|
||||||
|
* to free any resources it is using. When appropriate, the close
|
||||||
|
* method is implemented as a no-op.
|
||||||
|
*/
|
||||||
|
public Connection getNewConnection();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the current default fetch configuration.
|
* Return the current default fetch configuration.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue