mirror of https://github.com/apache/openjpa.git
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:
parent
288355f4ad
commit
4fda4e9484
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue