castor
  1. castor
  2. CASTOR-2863

Wrap PreparedStatementMock with a dynamic proxy to be able to compile with Java 5 and 6

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.2
    • Component/s: JDO
    • Labels:
      None
    • Number of attachments :
      1

      Description

      With Java 6 a new method setNClob(int,java.io.Reader) has been added to java.sql.PreparedStatement. As this interface is implemented by org.castor.cpa.persistence.sql.query.PreparedStatementMock the new method has to be implemented in this class to compile Castor with Java 6.

        Activity

        Ralf Joachim made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Ralf Joachim made changes -
        Summary PreparedStatementMock need to implement setNClob(int,java.io.Reader) for Java 6 Wrap PreparedStatementMock with a dynamic proxy to be able to compile with Java 5 and 6
        Ralf Joachim made changes -
        Attachment patch-C2863-20100106.txt [ 46765 ]
        Ralf Joachim made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ralf Joachim made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ralf Joachim
            Reporter:
            Ralf Joachim
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: