chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Brackx <michael.javaone+c...@gmail.com>
Subject secondary type query - cmis:objectId
Date Wed, 24 Jul 2013 11:46:45 GMT
Hi,

There is a problem with the special virtual column cmis:objectId for
secondary object types.
Example query: "SELECT cmis:objectId FROM cmis:rm_clientMgtRetention"
Error: Walking of statement failed with RecognitionException error:
   cmis:objectId is not a property query name in any of the types in from
...
Using version 0.9.0.

QueryObject.resolveTypeForColumnReference() does not have special handling
for object id.
There is special handling in validateColumnReferenceAndResolveType(), but
before you get there you hit a
normal TypeValidator.typeContainsPropertyWithQueryName().

Michael

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message