UCM VCR Adapter Content Selector Query Causes Content Server ORA-00936 Error (Doc ID 875924.1)

Last updated on JUNE 06, 2017

Applies to:

Oracle Universal Content Management - Version: 10.1.3.3.0 and later   [Release: 10gR3 and later ]
Information in this document applies to any platform.

Symptoms

When submitting a query to Content Server via a Weblogic Portal UCM VCR adapter content selector, an error similar to the following is thrown by Content Server.

requestaudit 08.05 15:32:30.423 IdcServerThread-328 GET_SEARCH_RESULTS [dUser=osnickyh][QueryText=
UPPER(dDocType) LIKE UPPER('Copy') AND dDocType IS NOT NULL AND ((
))][StatusCode=-1][StatusMessage=Unable to retrieve search results. Unable to retrieve search
results. Unable to create result set for query 'SELECT Revisions.dID, dDocName, dDocTitle,
dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName,
dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2,
dFileSize AS VaultFileSize, DocMeta.*
FROM Revisions, DocMeta, Documents
WHERE Revisions.dID=DocMeta.dID And Revisions.dID=Documents.dID And dIsPrimary = 1 AND
dReleaseState IN ('Y', 'U', 'I') AND (((UPPER(dDocType) LIKE UPPER('Copy') AND dDocType IS NOT
NULL AND (( )))) AND (((UPPER(dSecurityGroup) != UPPER('super-secure') OR dSecurityGroup IS
NULL)))) ORDER BY dInDate Desc'. ORA-00936: missing expression
][IsJava=1] 0.06(secs)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms