Revert query changes 45/59245/5
authorPatrick Brady <pb071s@att.com>
Mon, 6 Aug 2018 16:19:22 +0000 (09:19 -0700)
committerTakamune Cho <tc012c@att.com>
Mon, 6 Aug 2018 20:30:40 +0000 (20:30 +0000)
commit39db412ce7214d74e0df638c3dc4368bc0a55456
tree06a170592196cf6498b1ceff88457ce4d8236ec5
parent386ce982642ec9fe41a324fac41c57ed1c650dcc
Revert query changes

The changes between patch 3 and patch 4 of this commit
https://gerrit.onap.org/r/#/c/55093, where the parameters
are sent to the SvcLogicContext instead of values, breaks
the save functionality in cdt. When SvcLogicContext is
allowed to subsitute the values, the StringUtils.isEmpty
functions are skipped over.

Although it appears this change is changing a parameterized
query to a static statement query, in fact the query is not
parameterized in its current form either. In its current form,
SvcLogicContext is just subsituting the values into a static
statement query. SvcLogicContext does perform a simple single
quote escape, which could be duplicated here.

Change-Id: If3ffceed5ad147c402355ffef17a8abf0752d5b1
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-1107
appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java