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

CND for JDBC Metadata connector contains an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.Final
    • 2.0.0.Final
    • JCR
    • None
    • Low

      After MODE-832 was corrected, the JdbcMetadataRepositoryTckTest was failing due to this error:

      javax.jcr.RepositoryException: Error loading CND file "/org/modeshape/connector/meta/jdbc/connector-metajdbc.cnd": Error importing
      /org/modeshape/connector/meta/jdbc/connector-metajdbc.cnd: Expecting ')' but found 'int' at line 74, column 18: )

      • mj:returnType ( ===>> int)

      Here's the problematic node type definition (with line numbers):

      72 [mj:procedure] mixin
      73 - mj:description (string)
      74 - mj:returnType (int)

      Note that "int" is not a valid node type, so this needs to be corrected to use "long".

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: