Search code examples
siebel

Usage of Id='' in EAI Siebel Adapter Query


Requirement: I am suppose to use an existing Integration Object for my requirement. As this IO consists of ICs that I do not need in my requirement, I would like to avoid them in my IO query output.

I observe that passing Id = '' returns no result in Siebel 8.0. Can I use it as a feature and pass SearchSpec => [Integration Component.Id]='' to EAI Siebel Adapter query to suppress ICs that I don't want in output?

How good is this query Id=''? Will Siebel ignore this query completely? or will it attempt and return no output?

As per my understanding Siebel ignores the query where row_id is passed as '' (Not true for siebel 6.0)
Please share your opinion.


Solution

  • Answering it myself with my opinion..

    As per my understanding, querying with Id='' still queries the database for row_id = ''. Including this in IO query reduces the query scope to the parent's context.. Though this won't improve any performance, IO query output looks cleaner.

    Update: I'm using a Indexed column based field Id (ROW_ID) with search spec as "[Id] IS NULL". It's a next to impossible case in database having ROW_ID = NULL, unless it's intentionally and manually updated. Again no one would do it unless really wants to messup that data .. because without ROW_ID record is literally invalid..