project_key: SOA Running ModeShape tests that include publishing a variety of file times and then querying, is seeing the following exception: Caused by: java.sql.SQLException: Cannot convert String value to long at org.modeshape.jdbc.JcrResultSet.getValueObject(JcrResultSet.java:1286) at org.modeshape.jdbc.JcrResultSet.getValueReturn(JcrResultSet.java:1244) at org.modeshape.jdbc.JcrResultSet.getLong(JcrResultSet.java:869) at org.modeshape.jdbc.JcrResultSet.getLong(JcrResultSet.java:859) at org.jboss.resource.adapter.jdbc.WrappedResultSet.getLong(WrappedResultSet.java:711) at org.teiid.translator.jdbc.JDBCExecutionFactory.retrieveValue(JDBCExecutionFactory.java:862) at org.teiid.translator.jdbc.JDBCQueryExecution.next(JDBCQueryExecution.java:101) ... 13 more Caused by: javax.jcr.ValueFormatException: Cannot convert String value to long at org.modeshape.jcr.JcrValue.createValueFormatException(JcrValue.java:100) at org.modeshape.jcr.JcrValue.getLong(JcrValue.java:200) at org.modeshape.jdbc.JcrResultSet.getValueObject(JcrResultSet.java:1280) ... 19 more Not sure which file type is triggering this issue, but further testing will hopefully indicate that.
Link: Added: This issue is related to SOA-2861
The problem is due to the duplicate columns that exist in the following tables: Duplicate Column jcr:path in table nt:address Duplicate Column jcr:name in table nt:childNodeDefinition Duplicate Column jcr:name in table nt:propertyDefinition These duplicates are being exposed by the ModeShape jdbc driver when used to import the tables to create the ModeShape.xmi model and ModeShape.vdb.
Link: Added: This issue is a dependency of MODE-1088
This problem is covered in SOA-2861 and its related MODE-1088.