[Schmitzm-commits] r1837 - trunk/schmitzm-db/src/main/java/de/schmitzm/postgres

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jan 23 23:49:38 CET 2012


Author: alfonx
Date: 2012-01-23 23:49:38 +0100 (Mon, 23 Jan 2012)
New Revision: 1837

Modified:
   trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
Log:


Modified: trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2012-01-23 22:24:05 UTC (rev 1836)
+++ trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2012-01-23 22:49:38 UTC (rev 1837)
@@ -145,7 +145,7 @@
 		}
 
 		String sql = "SELECT coord_dimension, srid, type FROM geometry_columns where f_table_catalog='' and f_table_name='"
-				+ tablename + "' and f_geometry_column=" + geoCol;
+				+ tablename + "' and f_geometry_column='" + geoCol+"'";
 		ResultSet rs = null;
 		Statement s = c.createStatement();
 		try {



More information about the Schmitzm-commits mailing list