jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
castor
  • castor
  • CASTOR-1485 Backport Castor to Java 1.3 compatibi...
  • CASTOR-1621

Backport Castor to Java 1.3 compatibility: JDBC3.0

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0, 1.0.1, 1.0.2, 1.0.3
  • Fix Version/s: 1.0.4
  • Component/s: JDO
  • Labels:
    None
  • Number of attachments :
    1

Description

CallableStatementProxy, PreparedStaementProxy, ConnectionProxy (92 errors):
Various missing methods, constants and changed method signatures. In addition classes/interfaces Savepoint and ParameterMetaData are missing. It seamsthat it is necessary to replace these proxies with new implementations based on the old interfaces/classes to be get compatible with java 1.3 again.

SQLStatementCreate (2 errors):
There are 2 places where we use features of jdbc 3.0 that I have identified yet. To get back to java 1.3 compatibility these features need to be removed. As an alternative we may try to use reflection to access the method and constant in question.

@JDBC 3.0: I am not sure here whether JDBC 3.0 could be downloaded separatedly at all. Yes, using reflection might be an option here, but that would be rendered useless if the features of JDBC 3.0 could not be accessed anyhow.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    patch-C1621-20061014.txt
    14/Oct/06 8:16 AM
    112 kB
    Ralf Joachim

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ralf Joachim added a comment - 14/Oct/06 8:16 AM

Patch using reflection to access JDBC 3.0 features and dynamic proxies for Connecions, PreparedStatements and CallableStataments for review.

Show
Ralf Joachim added a comment - 14/Oct/06 8:16 AM Patch using reflection to access JDBC 3.0 features and dynamic proxies for Connecions, PreparedStatements and CallableStataments for review.
Hide
Permalink
Ralf Joachim added a comment - 16/Oct/06 2:30 PM

Committed patch as is.

Show
Ralf Joachim added a comment - 16/Oct/06 2:30 PM Committed patch as is.

People

  • Assignee:
    Ralf Joachim
    Reporter:
    Ralf Joachim
Vote (0)
Watch (0)

Dates

  • Created:
    11/Oct/06 3:39 PM
    Updated:
    22/Oct/06 3:26 PM
    Resolved:
    16/Oct/06 2:30 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.