Revision: 457
http://openutils.svn.sourceforge.net/openutils/?rev=457&view=rev
Author: fgiust
Date: 2007-09-26 05:13:36 -0700 (Wed, 26 Sep 2007)
Log Message:
-----------
automatically replaces tabs with spaces (tabs are converted by sqlserver)
Modified Paths:
--------------
trunk/openutils-dbmigration/src/main/java/it/openutils/migration/sqlserver/SqlServerViewCreateOrUpdateTask.java
Modified: trunk/openutils-dbmigration/src/main/java/it/openutils/migration/sqlserver/SqlServerViewCreateOrUpdateTask.java
===================================================================
--- trunk/openutils-dbmigration/src/main/java/it/openutils/migration/sqlserver/SqlServerViewCreateOrUpdateTask.java 2007-09-26 12:12:12 UTC (rev 456)
+++ trunk/openutils-dbmigration/src/main/java/it/openutils/migration/sqlserver/SqlServerViewCreateOrUpdateTask.java 2007-09-26 12:13:36 UTC (rev 457)
@@ -63,6 +63,7 @@
int result = jdbcTemplate.queryForInt(checkQuery, viewName);
String scriptContent = readFully(script);
+ scriptContent = StringUtils.replace(scriptContent, "\t", " ");
if (scriptContent == null)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|