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:
Albert Lee 2008-05-14 21:00:35 +00:00
parent 956065baa0
commit b4ac7e2f41

View File

@ -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