Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-955

cannot build cayenne against jdk 1.6 due to changes in javax.sql package classes/interfaces

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.0
    • 3.0
    • Core Library
    • None
    • java 1.6

    Description

      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 )

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            andrus Andrus Adamchik
            jasondwyer Jason Dwyer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment