My Oracle Support Banner

java.sql.SQLException: ORA-01560: LIKE pattern contains partial or illegal character error when searching a supplier (Doc ID 2481123.1)

Last updated on DECEMBER 05, 2018

Applies to:

Oracle iSupplier Portal - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.6 version, Supplier Admin Issues

When attempting to search for a Supplier, the following error occurs:

ERROR
-----------------------
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select vendor_name, vendor_id, segment1
from po_vendors
where upper(vendor_name) like upper(:1)
and vendor_id <> :2
and nvl(vendor_type_lookup_code ,'nonemp')<> 'EMPLOYEE'
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:818)
at oracle.apps.pos.supplier.webui.QuickUpdateCO.processFormRequest(QuickUpdateCO.java:558)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:909)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:424)
...
...
## Detail 0 ##
java.sql.SQLException: ORA-01560: LIKE pattern contains partial or illegal character

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
...
...


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Go to Suppliers
2. Go to Supplier Search
3. Enter a supplier number and click on Go button
4. Error message appears


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.