|
From: <svn...@os...> - 2012-01-16 15:40:26
|
Author: aaime
Date: 2012-01-16 07:40:15 -0800 (Mon, 16 Jan 2012)
New Revision: 38489
Modified:
trunk/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java
Log:
[GEOT-4014] SQLServerFeatureStoreTest.testAddFeaturesUseProvidedFid
Modified: trunk/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java
===================================================================
--- trunk/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java 2012-01-16 15:40:00 UTC (rev 38488)
+++ trunk/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java 2012-01-16 15:40:15 UTC (rev 38489)
@@ -37,5 +37,13 @@
public void testAddInTransaction() throws IOException {
// does not work, see GEOT-2832
}
+
+ public void testAddFeaturesUseProvidedFid() throws IOException {
+ // cannot work in general since the primary column is an identity:
+ // - it is not possible to insert into an indentity column unless the IDENTITY_INSERT
+ // property is set on it
+ // - however if IDENTITY_INSERT is setup, then the column stops generating values and
+ // requires one to insert values manually, which breaks other tests
+ }
}
|