Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-872

JDBC (non-local) driver needs to support queries

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Alpha6
    • Component/s: API, Tools
    • Labels:
      None

      Description

      The jdbc driver needs to complete the implementation of the http protocol by using the Rest client. It currently only supports exposing DatabaseMetaData. This is why the NPE is incurred when executing sql queries.

      Executing query using jdbc driver produced NPE:

      Exception in thread "main" java.lang.NullPointerException
      at org.modeshape.jdbc.JcrResultSetMetaData.getColumnCount(JcrResultSetMetaData.java:83)
      at org.modeshape.jdbc.JcrResultSet.<init>(JcrResultSet.java:97)
      at org.modeshape.jdbc.JcrStatement.execute(JcrStatement.java:430)
      at org.modeshape.jdbc.JcrStatement.executeQuery(JcrStatement.java:484)
      at JDBCQueryExample.execute(JDBCQueryExample.java:88)
      at JDBCQueryExample.main(JDBCQueryExample.java:195)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hchiorean Horia Chiorean
                  Reporter:
                  van.halbert Van Halbert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: