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:
Pinaki Poddar 2009-09-11 22:59:15 +00:00
parent 81065fea3c
commit 6b96b82d31
1 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,16 @@ public interface JDBCStore {
* method is implemented as a no-op.
*/
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.