mirror of https://github.com/apache/openjpa.git
Allow JDBCStoreManager to avail configuration different than that of its StoreContext
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@604318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
787b57a486
commit
2c18b555c7
|
@ -105,8 +105,12 @@ public class JDBCStoreManager
|
|||
}
|
||||
|
||||
public void setContext(StoreContext ctx) {
|
||||
setContext(ctx, (JDBCConfiguration) ctx.getConfiguration());
|
||||
}
|
||||
|
||||
public void setContext(StoreContext ctx, JDBCConfiguration conf) {
|
||||
_ctx = ctx;
|
||||
_conf = (JDBCConfiguration) ctx.getConfiguration();
|
||||
_conf = conf;
|
||||
_dict = _conf.getDBDictionaryInstance();
|
||||
_sql = _conf.getSQLFactoryInstance();
|
||||
|
||||
|
|
Loading…
Reference in New Issue