[Schmitzm-commits] r1165 - trunk/src/skrueger/geotools/io

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 25 10:50:01 CEST 2010


Author: alfonx
Date: 2010-10-25 10:50:00 +0200 (Mon, 25 Oct 2010)
New Revision: 1165

Modified:
   trunk/src/skrueger/geotools/io/DbServerSettings.java
Log:


Modified: trunk/src/skrueger/geotools/io/DbServerSettings.java
===================================================================
--- trunk/src/skrueger/geotools/io/DbServerSettings.java	2010-10-25 07:25:26 UTC (rev 1164)
+++ trunk/src/skrueger/geotools/io/DbServerSettings.java	2010-10-25 08:50:00 UTC (rev 1165)
@@ -171,12 +171,14 @@
 	private String[] cachedTypeNames = null;
 
 	public DbServerSettings() {
+		this(DbType.postgis);
 	}
 
 	public DbServerSettings(DbType dbType) {
 		setDbType(dbType);
 		setHost("localhost");
 		setSchema("public");
+		put(JDBCDataStoreFactory.PK_METADATA_TABLE.key, null);
 	}
 
 	public String[] getCachedTypeNames() {
@@ -312,7 +314,7 @@
 
 		serialized.append(getTitle());
 		serialized.append(DELIMITER);
-		
+
 		serialized.append(getHost());
 		serialized.append(DELIMITER);
 



More information about the Schmitzm-commits mailing list