From: Martin D. <mar...@ge...> - 2007-10-31 10:11:22
|
In modules/unsupported/H2, class org.geotools.data.jdbc.ConnectionDecorator implements java.sql.Connection. But a bunch of new methods have been added in the Connection interface as of Java 6, thus causing a compilation error. We can not just add the missing methods in ConnectionDecorator because some method signatures depend on new interfaces added in Java 6. Looking at the source code, I see that ConnectionDecorator just delegates some method calls to an other connection, and left the other methods unimplemented. Does the H2 module still have an usage for this decorator? If yes, should we try to configure pom.xml for a conditional compilation in a way similar to what was done for the geometry module? Martin |