[Schmitzm-commits] r1632 - trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 18 14:31:38 CEST 2011


Author: alfonx
Date: 2011-07-18 14:31:38 +0200 (Mon, 18 Jul 2011)
New Revision: 1632

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


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java	2011-07-18 11:49:10 UTC (rev 1631)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/geotools/postgres/PGUtil.java	2011-07-18 12:31:38 UTC (rev 1632)
@@ -84,7 +84,7 @@
 	 */
 	public static boolean createSchemaIfNotExists(Connection c, String schemaname) throws SQLException {
 		if (!existsSchema(c, schemaname)) {
-			c.createStatement().executeQuery("create schema "+schemaname);
+			c.createStatement().execute("create schema "+schemaname);
 			return true;
 		}
 		return false;



More information about the Schmitzm-commits mailing list