cannot build cayenne against jdk 1.6 due to changes in javax.sql package
classes/interfaces
-------------------------------------------------------------------------------------------
Key: CAY-955
URL: https://issues.apache.org/cayenne/browse/CAY-955
Project: Cayenne
Issue Type: Task
Components: Cayenne Core Library
Affects Versions: 3.0
Environment: java 1.6
Reporter: jay dwyer
Assignee: Andrus Adamchik
kevin menard noticed in a beta of java 6 some time ago ( CAY-549 ) that the
interface definitions for some classes/interfaces in javax.sql have changed to
also include a new class, javax.sql.Wrapper, in the implements clause, and as a
result, the cayenne codebase does not compile against a java 6 sdk.
i've tapped out a rough patch that sets up a shallow hierarchy for the relevant
cayenne classes which are affected by this, and provides some simple abstract
implementations for Connection, DataSource, PooledDataSource and
ResultSetMetaData in order to satisfy the new interface requirements that
include Wrapper in their implements declarations.
( theres also a couple of other classes which get some new abstract/interface
methods, check the patch for more details )
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.