[JIRA] Closed: (CAY-955) cannot build cayenne against jdk 1.6 due to changes in javax.sql package classes/interfaces

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Jan 07 2008 - 03:57:33 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Assigned: (CAY-884) Add support for H2 Database"

         [ https://issues.apache.org/cayenne/browse/CAY-955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrus Adamchik closed CAY-955.
    -------------------------------

           Resolution: Won't Fix
        Fix Version/s: 3.0

    See this thread for the followup discussion:

    http://objectstyle.org/cayenne/lists/cayenne-devel/current/0026.html

    (Summary: the issue still exists of course, but will have to be approached a bit differently)

    > 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
    > Fix For: 3.0
    >
    > Attachments: fix-cayenne-for-java-6.patch
    >
    >
    > 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.
    



    This archive was generated by hypermail 2.0.0 : Mon Jan 07 2008 - 03:58:07 EST