Some of the DB2 online tests are failing with: testAssignedSinglePKeyView(org.geotools.data.db2.DB2PrimaryKeyFinderOnlineTest) Time elapsed: 11.655 sec <<< ERROR! java.lang.ClassCastException: org.geotools.jdbc.JDBCFeatureSource cannot be cast to org.geotools.jdbc.JDBCFeatureStore at org.geotools.jdbc.JDBCPrimaryKeyFinderOnlineTest.testAssignedSinglePKeyView(JDBCPrimaryKeyFinderOnlineTest.java:60)
which has the statement: JDBCFeatureStore fs = (JDBCFeatureStore) dataStore.getFeatureSource(tname("assignedsinglepk")); This is failing because JDBCDataStore::createFeatureSource() which is defined as protected ContentFeatureSource createFeatureSource(ContentEntry entry) throws IOException { is returning JDBCFeatureSource in two cases in its logic and returning JDBCFeatureStore in one case Am I missing something obvious? --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users