Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-974

XWikiJDBCConnection & Java 1.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0 B5
    • Fix Version/s: 1.1 M2
    • Component/s: Storage
    • Labels:
      None
    • Environment:
      java 1.6.0-x64 @ linux
    • keywords:
      java1.6
    • Similar issues:

      Description

      In interface java.sql.Connection in Java system library 1.6 added new minor methods (createClob,createSQLXML, isValid, etc).
      XWikiJDBCConnection isn't implement this methods => can't be created

      Solutions:
      1. Remove it.
      Info in XWikiJDBCConnection is not used anywhere, so it can be removed easily.
      2. Rewrite it using java reflections(java.lang.reflect.Proxy for example)

      Do we really need XWikiJDBCConnection?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              amelentev Artem Melentev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: