Allow access to underlying DataSource for extensibility

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@608008 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-01-02 05:12:25 +00:00
parent 288355f4ad
commit 4fda4e9484
1 changed files with 4 additions and 0 deletions

View File

@ -215,6 +215,10 @@ public class JDBCStoreManager
connect(true); connect(true);
return _conn; return _conn;
} }
protected DataSource getDataSource() {
return _ds;
}
public boolean exists(OpenJPAStateManager sm, Object context) { public boolean exists(OpenJPAStateManager sm, Object context) {
// add where conditions on base class to avoid joins if subclass // add where conditions on base class to avoid joins if subclass