|
From: <svn...@os...> - 2012-01-16 18:25:30
|
Author: aaime
Date: 2012-01-16 10:25:24 -0800 (Mon, 16 Jan 2012)
New Revision: 38494
Modified:
branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java
Log:
[GEOT-4014] SQLServerFeatureStoreTest.testAddFeaturesUseProvidedFid
Modified: branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java
===================================================================
--- branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java 2012-01-16 18:25:09 UTC (rev 38493)
+++ branches/2.7.x/modules/plugin/jdbc/jdbc-sqlserver/src/test/java/org/geotools/data/sqlserver/SQLServerFeatureStoreTest.java 2012-01-16 18:25:24 UTC (rev 38494)
@@ -32,5 +32,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
+ }
}
|