From: <aa...@sv...> - 2006-12-29 10:31:57
|
Author: aaime Date: 2006-12-29 03:31:34 -0800 (Fri, 29 Dec 2006) New Revision: 23621 Modified: geotools/trunk/gt/modules/library/jdbc/src/main/java/org/geotools/data= /jdbc/JDBC1DataStore.java Log: Whoops, final touches for geot-1096 Modified: geotools/trunk/gt/modules/library/jdbc/src/main/java/org/geotoo= ls/data/jdbc/JDBC1DataStore.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- geotools/trunk/gt/modules/library/jdbc/src/main/java/org/geotools/dat= a/jdbc/JDBC1DataStore.java 2006-12-29 11:29:16 UTC (rev 23620) +++ geotools/trunk/gt/modules/library/jdbc/src/main/java/org/geotools/dat= a/jdbc/JDBC1DataStore.java 2006-12-29 11:31:34 UTC (rev 23621) @@ -409,7 +409,7 @@ * @see org.geotools.data.DataStore#getFeatureSource(java.lang.String) */ public FeatureSource getFeatureSource(String typeName) throws IOExcepti= on { - if (typeHandler.getFIDMapper(typeName).isVolatile() + if (!typeHandler.getFIDMapper(typeName).isVolatile() || allowWriteOnVolatileFIDs) { if (getLockingManager() !=3D null) { // Use default JDBCFeatureLocking that delegates all locking |