diff --git a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCStoreManager.java b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCStoreManager.java index e78272800..5fd951b84 100644 --- a/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCStoreManager.java +++ b/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCStoreManager.java @@ -215,6 +215,10 @@ public class JDBCStoreManager connect(true); return _conn; } + + protected DataSource getDataSource() { + return _ds; + } public boolean exists(OpenJPAStateManager sm, Object context) { // add where conditions on base class to avoid joins if subclass