oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT AbsAdjHeaderEO.SUBMISSION_ID, AbsAdjHeaderEO.MGR_ASSGN_ID, AbsAdjHeaderEO.MGR_POS_ID, AbsAdjHeaderEO.EMP_ID, AbsAdjHeaderEO.EMP_ASSGN_ID, AbsAdjHeaderEO.CUR_ABS_START_DATE, AbsAdjHeaderEO.CUR_ABS_END_DATE, AbsAdjHeaderEO.CUR_ABS_ATTD_ID, AbsAdjHeaderEO.CUR_ABS_TYPE_ID, AbsAdjHeaderEO.CUR_ABS_DURATION, AbsAdjHeaderEO.REASON_FOR_CHANGE, AbsAdjHeaderEO.STATUS, AbsAdjHeaderEO.CREATED_BY, AbsAdjHeaderEO.CREATION_DATE, AbsAdjHeaderEO.LAST_UPDATED_BY, AbsAdjHeaderEO.LAST_UPDATED_DATE, paa.date_start, paa.date_end, paa.absence_days, paat.name, paat.absence_attendance_type_id, paa.absence_attendance_id abs_attd_id, decode((nvl(to_char(AbsAdjHeaderEO.CUR_ABS_START_DATE,'DD-MON-YYYY'),to_char(paa.DATE_START,'DD-MON-YYYY'))||nvl(to_char(AbsAdjHeaderEO.CUR_ABS_END_DATE,'DD-MON-YYYY'),to_char(paa.DATE_END,'DD-MON-YYYY')) ||nvl(AbsAdjHeaderEO.CUR_ABS_DURATION,paa.ABSENCE_DAYS)||nvl(AbsAdjHeaderEO.CUR_ABS_TYPE_ID,paa.ABSENCE_ATTENDANCE_TYPE_ID)),(to_char(paa.DATE_START,'DD-MON-YYYY')||to_char(paa.DATE_END,'DD-MON-YYYY') ||paa.ABSENCE_DAYS||paa.ABSENCE_ATTENDANCE_TYPE_ID),AbsAdjHeaderEO.status,'Actioned') Disp_Status, decode((nvl(to_char(AbsAdjHeaderEO.CUR_ABS_START_DATE,'DD-MON-YYYY'),to_char(paa.DATE_START,'DD-MON-YYYY'))||nvl(to_char(AbsAdjHeaderEO.CUR_ABS_END_DATE,'DD-MON-YYYY'),to_char(paa.DATE_END,'DD-MON-YYYY')) ||nvl(AbsAdjHeaderEO.CUR_ABS_DURATION,paa.ABSENCE_DAYS)||nvl(AbsAdjHeaderEO.CUR_ABS_TYPE_ID,paa.ABSENCE_ATTENDANCE_TYPE_ID)),(to_char(paa.DATE_START,'DD-MON-YYYY')||to_char(paa.DATE_END,'DD-MON-YYYY') ||paa.ABSENCE_DAYS||paa.ABSENCE_ATTENDANCE_TYPE_ID),decode( AbsAdjHeaderEO.status,'Awaiting Manager Approval',decode(fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO'),'Y',1,0),'Submitted',decode(fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO'),'Y',1,0), 0),1) Disable_Reason_Flag, 1 Disable_Adj_Cha_Reason FROM NRHR.XXNR_ABS_ADJ_HEADER AbsAdjHeaderEO, PER_ABSENCE_ATTENDANCES paa, PER_ABSENCE_ATTENDANCE_TYPES paat WHERE paa.absence_attendance_type_id=paat.absence_attendance_type_id and AbsAdjHeaderEO.CUR_ABS_ATTD_ID(+) = paa.absence_attendance_id and ((paa.person_id=:1 and paa.date_start between :2 and nvl(:3,sysdate) and paa.date_end between :4 and nvl(:5,sysdate) and paa.ABSENCE_ATTENDANCE_TYPE_ID=nvl(:6,paa.ABSENCE_ATTENDANCE_TYPE_ID)) or paa.absence_attendance_id=:7) and nvl(paa.date_end,to_date('31-DEC-4712','DD-MON-YYYY'))< SYSDATE and ( (fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO') ='Y' and nvl(AbsAdjHeaderEO.status,'Dummy') <>'Deleted by TO') or fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_MANAGER')='Y' ) union SELECT AbsAdjHeaderEO.SUBMISSION_ID, AbsAdjHeaderEO.MGR_ASSGN_ID, AbsAdjHeaderEO.MGR_POS_ID, AbsAdjHeaderEO.EMP_ID, AbsAdjHeaderEO.EMP_ASSGN_ID, AbsAdjHeaderEO.CUR_ABS_START_DATE, AbsAdjHeaderEO.CUR_ABS_END_DATE, AbsAdjHeaderEO.CUR_ABS_ATTD_ID, AbsAdjHeaderEO.CUR_ABS_TYPE_ID, AbsAdjHeaderEO.CUR_ABS_DURATION, AbsAdjHeaderEO.REASON_FOR_CHANGE, AbsAdjHeaderEO.STATUS, AbsAdjHeaderEO.CREATED_BY, AbsAdjHeaderEO.CREATION_DATE, AbsAdjHeaderEO.LAST_UPDATED_BY, AbsAdjHeaderEO.LAST_UPDATED_DATE, AbsAdjHeaderEO.CUR_ABS_START_DATE date_start, AbsAdjHeaderEO.CUR_ABS_END_DATE date_end, AbsAdjHeaderEO.CUR_ABS_DURATION absence_days, paat.name name, null absence_attendance_type_id, null abs_attd_id, 'Actioned' Disp_Status, 1 Disable_Reason_Flag, 1 Disable_Adj_Cha_Reason FROM NRHR.XXNR_ABS_ADJ_HEADER AbsAdjHeaderEO, PER_ABSENCE_ATTENDANCE_TYPES paat WHERE AbsAdjHeaderEO.CUR_ABS_TYPE_ID=paat.absence_attendance_type_id and ((AbsAdjHeaderEO.EMP_ID=:1 and AbsAdjHeaderEO.CUR_ABS_START_DATE between :2 and nvl(:3,sysdate) and AbsAdjHeaderEO.CUR_ABS_END_DATE between :4 and nvl(:5,sysdate) and AbsAdjHeaderEO.CUR_ABS_TYPE_ID=nvl(:6,AbsAdjHeaderEO.CUR_ABS_TYPE_ID)) or AbsAdjHeaderEO.CUR_ABS_ATTD_ID=:7) and nvl(AbsAdjHeaderEO.CUR_ABS_END_DATE,to_date('31-DEC-4712','DD-MON-YYYY'))< SYSDATE and ( (fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO') ='Y' and nvl(AbsAdjHeaderEO.status,'Dummy') <>'Deleted by TO') or fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_MANAGER')='Y' ) and not exists (select 1 from PER_ABSENCE_ATTENDANCES where absence_attendance_id=AbsAdjHeaderEO.CUR_ABS_ATTD_ID)) QRSLT ORDER BY CUR_ABS_START_DATE,CUR_ABS_END_DATE

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 802240, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT AbsAdjHeaderEO.SUBMISSION_ID, AbsAdjHeaderEO.MGR_ASSGN_ID, AbsAdjHeaderEO.MGR_POS_ID, AbsAdjHeaderEO.EMP_ID, AbsAdjHeaderEO.EMP_ASSGN_ID
via Oracle Community by user11969884, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select * from omaxe_work_order_headers where work_order_number is not null) QRSLT WHERE (PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2)
via hivmr.com by Unknown author, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: /* Formatted on 2009/07/24 10:39 (Formatter Plus v4.8.0) */ SELECT pen.prtt_enrt_rslt_id, pcs.enrt_ctfn_typ_cd, hl1.meaning certification_type
via Oracle Community by 610323, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: /* Formatted on 2009/07/24 10:39 (Formatter Plus v4.8.0) */ SELECT pen.prtt_enrt_rslt_id, pcs.enrt_ctfn_typ_cd, hl1.meaning certification_type
via Oracle Community by 610323, 1 year ago
oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT pen.prtt_enrt_rslt_id, pcs.enrt_ctfn_typ_cd, hl1.meaning certification_type, pen.sspndd_flag suspended_flag, pcs.enrt_ctfn_rqd_flag required_flag
via Oracle Community by 636775, 1 year ago
oracle.jbo.NoDefException: JBO-25002: Definition SEGMENT2 of type Attribute not found
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT AbsAdjHeaderEO.SUBMISSION_ID, AbsAdjHeaderEO.MGR_ASSGN_ID, AbsAdjHeaderEO.MGR_POS_ID, AbsAdjHeaderEO.EMP_ID, AbsAdjHeaderEO.EMP_ASSGN_ID, AbsAdjHeaderEO.CUR_ABS_START_DATE, AbsAdjHeaderEO.CUR_ABS_END_DATE, AbsAdjHeaderEO.CUR_ABS_ATTD_ID, AbsAdjHeaderEO.CUR_ABS_TYPE_ID, AbsAdjHeaderEO.CUR_ABS_DURATION, AbsAdjHeaderEO.REASON_FOR_CHANGE, AbsAdjHeaderEO.STATUS, AbsAdjHeaderEO.CREATED_BY, AbsAdjHeaderEO.CREATION_DATE, AbsAdjHeaderEO.LAST_UPDATED_BY, AbsAdjHeaderEO.LAST_UPDATED_DATE, paa.date_start, paa.date_end, paa.absence_days, paat.name, paat.absence_attendance_type_id, paa.absence_attendance_id abs_attd_id, decode((nvl(to_char(AbsAdjHeaderEO.CUR_ABS_START_DATE,'DD-MON-YYYY'),to_char(paa.DATE_START,'DD-MON-YYYY'))||nvl(to_char(AbsAdjHeaderEO.CUR_ABS_END_DATE,'DD-MON-YYYY'),to_char(paa.DATE_END,'DD-MON-YYYY')) ||nvl(AbsAdjHeaderEO.CUR_ABS_DURATION,paa.ABSENCE_DAYS)||nvl(AbsAdjHeaderEO.CUR_ABS_TYPE_ID,paa.ABSENCE_ATTENDANCE_TYPE_ID)),(to_char(paa.DATE_START,'DD-MON-YYYY')||to_char(paa.DATE_END,'DD-MON-YYYY') ||paa.ABSENCE_DAYS||paa.ABSENCE_ATTENDANCE_TYPE_ID),AbsAdjHeaderEO.status,'Actioned') Disp_Status, decode((nvl(to_char(AbsAdjHeaderEO.CUR_ABS_START_DATE,'DD-MON-YYYY'),to_char(paa.DATE_START,'DD-MON-YYYY'))||nvl(to_char(AbsAdjHeaderEO.CUR_ABS_END_DATE,'DD-MON-YYYY'),to_char(paa.DATE_END,'DD-MON-YYYY')) ||nvl(AbsAdjHeaderEO.CUR_ABS_DURATION,paa.ABSENCE_DAYS)||nvl(AbsAdjHeaderEO.CUR_ABS_TYPE_ID,paa.ABSENCE_ATTENDANCE_TYPE_ID)),(to_char(paa.DATE_START,'DD-MON-YYYY')||to_char(paa.DATE_END,'DD-MON-YYYY') ||paa.ABSENCE_DAYS||paa.ABSENCE_ATTENDANCE_TYPE_ID),decode( AbsAdjHeaderEO.status,'Awaiting Manager Approval',decode(fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO'),'Y',1,0),'Submitted',decode(fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO'),'Y',1,0), 0),1) Disable_Reason_Flag, 1 Disable_Adj_Cha_Reason FROM NRHR.XXNR_ABS_ADJ_HEADER AbsAdjHeaderEO, PER_ABSENCE_ATTENDANCES paa, PER_ABSENCE_ATTENDANCE_TYPES paat WHERE paa.absence_attendance_type_id=paat.absence_attendance_type_id and AbsAdjHeaderEO.CUR_ABS_ATTD_ID(+) = paa.absence_attendance_id and ((paa.person_id=:1 and paa.date_start between :2 and nvl(:3,sysdate) and paa.date_end between :4 and nvl(:5,sysdate) and paa.ABSENCE_ATTENDANCE_TYPE_ID=nvl(:6,paa.ABSENCE_ATTENDANCE_TYPE_ID)) or paa.absence_attendance_id=:7) and nvl(paa.date_end,to_date('31-DEC-4712','DD-MON-YYYY'))< SYSDATE and ( (fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO') ='Y' and nvl(AbsAdjHeaderEO.status,'Dummy') <>'Deleted by TO') or fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_MANAGER')='Y' ) union SELECT AbsAdjHeaderEO.SUBMISSION_ID, AbsAdjHeaderEO.MGR_ASSGN_ID, AbsAdjHeaderEO.MGR_POS_ID, AbsAdjHeaderEO.EMP_ID, AbsAdjHeaderEO.EMP_ASSGN_ID, AbsAdjHeaderEO.CUR_ABS_START_DATE, AbsAdjHeaderEO.CUR_ABS_END_DATE, AbsAdjHeaderEO.CUR_ABS_ATTD_ID, AbsAdjHeaderEO.CUR_ABS_TYPE_ID, AbsAdjHeaderEO.CUR_ABS_DURATION, AbsAdjHeaderEO.REASON_FOR_CHANGE, AbsAdjHeaderEO.STATUS, AbsAdjHeaderEO.CREATED_BY, AbsAdjHeaderEO.CREATION_DATE, AbsAdjHeaderEO.LAST_UPDATED_BY, AbsAdjHeaderEO.LAST_UPDATED_DATE, AbsAdjHeaderEO.CUR_ABS_START_DATE date_start, AbsAdjHeaderEO.CUR_ABS_END_DATE date_end, AbsAdjHeaderEO.CUR_ABS_DURATION absence_days, paat.name name, null absence_attendance_type_id, null abs_attd_id, 'Actioned' Disp_Status, 1 Disable_Reason_Flag, 1 Disable_Adj_Cha_Reason FROM NRHR.XXNR_ABS_ADJ_HEADER AbsAdjHeaderEO, PER_ABSENCE_ATTENDANCE_TYPES paat WHERE AbsAdjHeaderEO.CUR_ABS_TYPE_ID=paat.absence_attendance_type_id and ((AbsAdjHeaderEO.EMP_ID=:1 and AbsAdjHeaderEO.CUR_ABS_START_DATE between :2 and nvl(:3,sysdate) and AbsAdjHeaderEO.CUR_ABS_END_DATE between :4 and nvl(:5,sysdate) and AbsAdjHeaderEO.CUR_ABS_TYPE_ID=nvl(:6,AbsAdjHeaderEO.CUR_ABS_TYPE_ID)) or AbsAdjHeaderEO.CUR_ABS_ATTD_ID=:7) and nvl(AbsAdjHeaderEO.CUR_ABS_END_DATE,to_date('31-DEC-4712','DD-MON-YYYY'))< SYSDATE and ( (fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_TO') ='Y' and nvl(AbsAdjHeaderEO.status,'Dummy') <>'Deleted by TO') or fnd_profile.value('XXNR_USE_ABSENCE_MANAGEMENT_MANAGER')='Y' ) and not exists (select 1 from PER_ABSENCE_ATTENDANCES where absence_attendance_id=AbsAdjHeaderEO.CUR_ABS_ATTD_ID)) QRSLT ORDER BY CUR_ABS_START_DATE,CUR_ABS_END_DATE
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(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.invokeMethod(OAViewObjectImpl.java:1136)
at networkrail.oracle.apps.absadj.webui.AbsAdjustmentsCO.processFormRequest(AbsAdjustmentsCO.java:257)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)

Users with the same issue

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

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