Since I need the db2 plugin I tested the following: 1) Duplicate all classes from org.geotools.data.mysql, renaming MySql* to DB2*. 2) Adapting the classes and tests for DB2 Spatial Extender 3) Copy DB2SqlEncoder from David
Now I am tried to run the tests. 90% of them result in failures or errors. Some first investigations resulted in the 2 following bugs. GEOT-1991 GEOT-1992 There are some other issues like the method wirteLiteral(..) which has no handling for Date, Timestamp and so on. The next issue is that there is no DB2PrepeardFilterToSQL class. These encodings are rather complex, e.g using a line wkb param needs the following sql expression db2gse.st_linefromwkb(CAST(? as BLOB(2G),srid) Conclusion: I think there is something to do. The question is if I should investigate further to migrate Davids db2 module in the new structure (which has the advantage of the test suite) or should I stop ?. A matter of fact is that at the moment my customer has some problems using the db2 module with geoserver, GEOT-1992 is one of the reasons. Whats your opinion ? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel