Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2352

camel-jdbc - Add option to select between JDBC 4 or 3 column label / name semantics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6.2, 2.1.0
    • 1.6.3, 2.2.0
    • camel-jdbc
    • None

    Description

      JDBC drivers is often a pain when it comes to compliance.

      If you use SQL SELECT with aliases then you may have issues with camel-jdbc as it retrieves the column name use ResultSetMetaData which behaves different according to the JDBC spec.

      See more at:
      http://fusesource.com/forums/thread.jspa?messageID=5623&#5623

      Introduce a new option useJDBC4ColumnNameAndLabelSemantics where you can configure which option to use. Will by default use JDBC 4

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: