From: <ms...@us...> - 2008-10-30 19:26:17
|
Revision: 8512 http://wonder.svn.sourceforge.net/wonder/?rev=8512&view=rev Author: mschrag Date: 2008-10-30 19:25:37 +0000 (Thu, 30 Oct 2008) Log Message: ----------- switch to more generic api Modified Paths: -------------- trunk/Wonder/Frameworks/BusinessLogic/BTBusinessLogic/Sources/er/bugtracker/BTDataCreator.java Modified: trunk/Wonder/Frameworks/BusinessLogic/BTBusinessLogic/Sources/er/bugtracker/BTDataCreator.java =================================================================== --- trunk/Wonder/Frameworks/BusinessLogic/BTBusinessLogic/Sources/er/bugtracker/BTDataCreator.java 2008-10-30 19:24:55 UTC (rev 8511) +++ trunk/Wonder/Frameworks/BusinessLogic/BTBusinessLogic/Sources/er/bugtracker/BTDataCreator.java 2008-10-30 19:25:37 UTC (rev 8512) @@ -168,13 +168,13 @@ String sqlScript = syncFactory.schemaCreationScriptForEntities(eomodel.entities(), options); log.info("Creating tables: " + eomodel.name()); - ERXJDBCUtilities.executeUpdateScriptIgnoringErrors(channel, sqlScript); + ERXJDBCUtilities.executeUpdateScript(channel, sqlScript, true); if (eomodel.name().equals("BugTracker")) { ERTaggableEntity0.upgrade(ec, channel, eomodel, Bug.ENTITY_NAME); InputStream is = ERXFileUtilities.inputStreamForResourceNamed("populate.sql", "BTBusinessLogic", null); String sql = ERXFileUtilities.stringFromInputStream(is); log.info("Populating: " + eomodel.name()); - ERXJDBCUtilities.executeUpdateScriptIgnoringErrors(channel, sql); + ERXJDBCUtilities.executeUpdateScript(channel, sql, true); // re-read shared data, the first time around it probably // wasn't there // strictly speaking, we'd also need to do this for ERC too This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |