mirror of
https://github.com/apache/openjpa.git
synced 2025-02-22 18:32:06 +00:00
OPENJPA-601 - Don't initialize datasource for build action.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@656431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
956065baa0
commit
b4ac7e2f41
@ -124,7 +124,7 @@ public class SchemaTool {
|
||||
|
||||
_conf = conf;
|
||||
_action = action;
|
||||
_ds = conf.getDataSource2(null);
|
||||
_ds = ACTION_BUILD.equals(action) ? null : conf.getDataSource2(null);
|
||||
_log = conf.getLog(JDBCConfiguration.LOG_SCHEMA);
|
||||
|
||||
// initialize this up-front; otherwise the dbdictionaryfactory might
|
||||
|
Loading…
x
Reference in New Issue
Block a user