oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select distinct pg.name grade_name, pg.grade_id, 'Yes' valid_for_job from per_valid_grades pvg, per_grades pg where pvg.grade_id = pg.grade_id and pvg.job_id = :1 union all select distinct pg.name grade_name, pg.grade_id, 'No' valid_for_grade from per_grades pg where not exists (select pvg.job_id from per_valid_grades pvg where pg.grade_id = pvg.grade_id and pvg.job_id = :1)) QRSLT WHERE (( UPPER(GRADE_NAME) like UPPER(:1) AND (GRADE_NAME like :2 OR GRADE_NAME like :3 OR GRADE_NAME like :4 OR GRADE_NAME like :5)))

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 743539, 1 year ago
and pvg.job_id = :1 union all select distinct pg.name grade_name, pg.grade_id, 'No' valid_for_grade from per_grades pg where not exists (select pvg.job_id from per_valid_grades pvg where pg.grade_id = pvg.grade_id and pvg.job_id = :1)) QRSLT WHERE (( UPPER(GRADE_NAME) like UPPER(:1) AND (GRADE_NAME like :2 OR GRADE_NAME like :3 OR GRADE_NAME like :4 OR GRADE_NAME like :5)))
via Oracle Community by 741371, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT DISTINCT jrre.source_name, jrgm.group_member_id, xsts.xo2c_entering_unit entering_unit FROM jtf_rs_resource_extns jrre
via Oracle Community by 943606, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select vendor_id,vendor_name from po_vendors) QRSLT WHERE (( VENDOR_ID = :1 AND UPPER(VENDOR_NAME) like UPPER(:2) AND (VENDOR_NAME like :3 OR VENDOR_NAME like :4 OR VENDOR_NAME like :5 OR VENDOR_NAME like :6)))
via Oracle Community by oraclepro73, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select distinct pj.name AS PROJECT, pj.project_id, custs_assigned.party_id AS PartyId from ar_customers_assigned_v custs_assigned
via Oracle Community by 574833, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select comp_plan_id,name,org_id from cn_comp_plans_all where sysdate between start_date and nvl(end_date,sysdate+1) and org_id = :1) QRSLT WHERE (( UPPER(NAME) like :2 AND (NAME like :3 OR NAME like :4 OR NAME like :5 OR NAME like :6)))
via Oracle Community by 901919, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT competence_id, step_value || ' - ' || name step_value FROM per_competence_levels_v) QRSLT WHERE (COMPETENCE_ID = :1 AND ( UPPER(STEP_VALUE) like UPPER(:2) AND (STEP_VALUE like :3 OR STEP_VALUE like :4 OR STEP_VALUE like :5 OR STEP_VALUE like :6)))
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select distinct pg.name grade_name, pg.grade_id, 'Yes' valid_for_job from per_valid_grades pvg, per_grades pg where pvg.grade_id = pg.grade_id and pvg.job_id = :1 union all select distinct pg.name grade_name, pg.grade_id, 'No' valid_for_grade from per_grades pg where not exists (select pvg.job_id from per_valid_grades pvg where pg.grade_id = pvg.grade_id and pvg.job_id = :1)) QRSLT WHERE (( UPPER(GRADE_NAME) like UPPER(:1) AND (GRADE_NAME like :2 OR GRADE_NAME like :3 OR GRADE_NAME like :4 OR GRADE_NAME like :5)))
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2406)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.