How to track a validation error in PL/SQL

Is there a way in PL/SQL to track the fact that a page is rendered after a validation error?
I know there is condition type "Inline validation errors displayed" but
I would like to "translate" in PL/SQL expression. In case I would combine it with other PL/SQL expressions.
Thanks,
Marco

I try to show/hide a div depending on the occurence of errors. I resolved this problem by doing this in javascript.
function showEdu(){
$("#edu").animate({ height: 'show', opacity: 'show' }, 'slow');
$s('P6_EDU_SHOWN','Y');
function hideEdu(){
$("#edu").animate({ height: 'hide', opacity: 'hide' }, 'slow');
$s('P6_EDU_SHOWN','N');
function checkEduError(){
if($("span").hasClass("errTxt") == true)
{showEdu();}
else
if($v('P6_EDU_SHOWN') == 'Y')
{showEdu();}
else
{hideEdu();}
}

Similar Messages

  • How to deal with validation errors from DAO layer.

    I have been pondering on how to deal with validation errors from DAO layer.
    Lets say you have a DAO that can save a car object. A car has a year, make, model, vin and so on. During the save operation of this DAO, it validates the car attributes to see if they pass some business rules. If it does not it throws some validation exception that contains all the validation errors. These validation errors know nothing about jsf or my components it just knows what attributes on the object are invalid and why.
    If I just want to show those errors at the top of the page that would be no problem I could just create some FacesMessage objects and add them to the FacesContext messages. But if the DAO layer is telling me that the make attribute is invalid it would be nice to map it to the make field on the screen. I am wondering if any of you have tackled this problem or have some ideas on how to tackle it?
    Brian

    Let it throw an exception with a self explaining message, then catch it and embed that message in a FacesMessage.
    Or let it throw more specific exception types (InvalidCarMakeException extends CarDAOException and so on) and let JSF handle it with own FacesMessage message.

  • How to customize the validation error message

    Hi,
    In my infopath 2010 form, when a required field is skipped, we get a very cryptic error message which is not user friendly. Can anyone please let me know how can i customize this cryptic message with a more user friendly one.
    many thanks.

    Hello,
    There is no straight solution of this problem. You may use data validation rule instead of field validation for validation so you can at least avoid that pop up error message.
    Another way is, make field mandatory via code. you can just remove all field validation then check all fields data via code and cancel the submit event.
    Another way is, add custom button form for submit, then hide this button until form validation is succeed.
    http://blog.parkercomp.com/2009/05/how-to-customize-infopath-error-dialogs.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to track Snapshot refresh error

    Hi
    I have a procedure which is doing the below transaction one after one:
    1- Refresh snapshot Snap1
    2- track snapshot refresh status If Ok do step 3 if not exit
    2- Insert agregate data from snapshot Snap1 to table
    3- Track insertion status if Ok proceed on next steps if not exit
    3- commit
    To refresh the snapshot here is the syntaxe i want to use.
    DBMS_SNAPSHOT.refresh('Snap1','F');
    If refresh ok then
    insert into T1 select ..... from Snap1;
    commit;
    end if;
    Thank you.

    I try to show/hide a div depending on the occurence of errors. I resolved this problem by doing this in javascript.
    function showEdu(){
    $("#edu").animate({ height: 'show', opacity: 'show' }, 'slow');
    $s('P6_EDU_SHOWN','Y');
    function hideEdu(){
    $("#edu").animate({ height: 'hide', opacity: 'hide' }, 'slow');
    $s('P6_EDU_SHOWN','N');
    function checkEduError(){
    if($("span").hasClass("errTxt") == true)
    {showEdu();}
    else
    if($v('P6_EDU_SHOWN') == 'Y')
    {showEdu();}
    else
    {hideEdu();}
    }

  • How to track the information/error of java code while compiling.

    Hi,
    I want all the information or errors of java code during compilation.
    So that I can use this information or I can show these errors with different style.
    How to get the java syntax errors?

    Hi,
    I want all the information or errors of java code
    during compilation.
    So that I can use this information or I can show these
    errors with different style.
    How to get the java syntax errors?Redirect the STDOUT/STDERR from the the JAVA/JAVAC command to a file is one way...
    For instance at the commmand line:
    javac myClass.java > STDOUT.txt 2> STDERR.txt (Works for Unix variants or Windows OS's)
    Then you can do what ever you want with the data contained in the files.
    Hope this helps

  • How to track ntdll.dll error for Acrobat 9.3.x?

    Hi,
    While running Acrobat 9.3.x in embedded mode for my application I get this error:
    Faulting application Acrobat.exe, version 9.3.3.177, faulting module ntdll.dll, version 5.2.3790.3959, fault address 0x0002bc34
    What is the best way to track the reason of it? It usually happens inside my developed Acrobat plugin with SDK 8.x, but usual DURING/HANDLER doesn't help in that case to catch it.
    I'm developing with Visual Studio 2005. Should I try to enable any of C++ exception tracking or the only way is to prepare PDB (program database) file and try track done what is the line?
    Any help will be highly appreciated.
    I'll try to update today my Acrobat to 9.3.4.x and see if it's the same.

    Ok, after playing more with that and stopping at Access violation  - I get this situation:
    0:000> g
    (f9c.970): Access violation - code c0000005 (first chance)
    First chance exceptions are reported before any exception handling.
    This exception may be expected and handled.
    eax=77d0510c ebx=00150000 ecx=0000003c edx=014e0000 esi=77d051c0 edi=77d051b8
    eip=7c82a0d0 esp=00123260 ebp=0012347c iopl=0         nv up ei pl nz ac pe nc
    cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010216
    ntdll!RtlAllocateHeap+0xfa:
    7c82a0d0 884706          mov     byte ptr [edi+6],al        ds:0023:77d051be=77
    and stack trace (where I don't see my plugin actually):
    WARNING: Stack unwind information not available. Following frames may be wrong.
    0012347c 776d7284 ntdll!RtlAllocateHeap+0xfa
    00123494 776d6a69 ole32!CoGetCurrentProcess+0x10b6
    001236cc 776d6cb5 ole32!CoGetCurrentProcess+0x89b
    00123728 776d61b1 ole32!CoGetCurrentProcess+0xae7
    00123748 776b3616 ole32!CreateFileMoniker+0x1886
    001237a4 776b2322 ole32!CoGetMarshalSizeMax+0x1044
    001237e0 776d6100 ole32!CoMarshalInterface+0x74
    00123838 776d6498 ole32!CreateFileMoniker+0x17d5
    001242c4 03169a2c ole32!CoGetCurrentProcess+0x2ca
    0012432c 031696c2 Acrobat_3000000!AcroWinBrowserMain+0x27772
    00124354 030e43f9 Acrobat_3000000!AcroWinBrowserMain+0x27408
    001243a0 0314799f Acrobat_3000000!DllCanUnloadNow+0x634ef
    00124400 03687c8f Acrobat_3000000!AcroWinBrowserMain+0x56e5
    001245f0 7c829fb5 Acrobat_3000000!PDFLTerm+0x7fccf
    001245fc 7c829f3d ntdll!RtlGetNtGlobalFlags+0x38
    001246dc 78134c39 ntdll!RtlFreeHeap+0x126
    001246e8 78134c58 MSVCR80!free+0xcd
    00000000 00000000 MSVCR80!free+0xec
    So, why does Acrobat Professional fail with Access violation error?

  • How to capture Field validation errors in the Error table in ODI 11g

    Hello,
    We are using ODI 11g (11.1.1.5) and the scenario is to read the data from a flat file (.txt) and do a bulk insert into MS SQL Server database table.
    We need to capture the error records (if the source field size is greater than the target column size) into the error table. However the interface errors out at step "Loading - SrcSet0 - Load data (BULK INSERT)" with error message "SQLServer JDBC Driver][SQLServer]Bulk load data conversion error (truncation) for row 33, column 6" but these errors are not being inserted into the error table.
    Is there a way to capture these errors in the error table? Below is the KM details.
    LKM: LKM File to MSSQL (BULK)
    CKM: CKM SQL
    IKM: IKM MSSQL Incremental Update
    FLOW_CONTROL is set to true for the IKM.
    Thanks,
    Krishna

    Hello,
    I had the same problem with ODI when I was trying BULK INSERT of the txt file into MS SQL. Check the cell(s) in your source file (txt) - it looks like the value in hte cell has hiding symbols: when pressing F2 tryng edit the value in the cell the coursor appared far to the right from the right end of the value. So, try to use backspace to delete the hiding symbols and verify the above. If avasrything is OK, then modify your txt file. Let me know if it works.
    BTW , I've created procedure inside the MS SQL 2008R2, which BULK INSERTed records into temporary (#...) table and immediatelly, without any verification all the records were inserted into the final table in the DWH here is the statement:
    if object_id('TEMPDB..#<table>','U') is not null drop table #<table>
    CREATE TABLE [dbo].[#<table>] 
    [1] [varchar] (50) NULL, 
    [2] [varchar] (100) NULL, 
    [3] [varchar] (100) NULL, 
    [4] [varchar] (100) NULL, 
    [5] [varchar] (100) NULL, 
    [6] [varchar] (100) NULL, 
    [7] [varchar]  (100) NULL, 
    [8] [varchar] (100) NULL, 
    [9] [varchar] (100) NULL, 
    [10] [varchar] (100) NULL, 
    [11] [varchar] (100) NULL 
    ) ON [PRIMARY]
    bulk INSERT #<table> FROM 'N:\<table>.txt'
    with
    (FIRSTROW=2,KEEPNULLS,CODEPAGE=1252,FIELDTERMINATOR='\t'
    INSERT
    INTO <table>
    SELECT
    * FROM #<table>
    and it works! Let me also know if you find any other way around.
    regards
    Anatoli

  • How to track only one column updated in SQL Server 2012?

    Is there a way to only track one specific column named Newsletter (bit format) of a table only when any record in that column has been changed from False to True?
    e.g. In SQL Serer 2012, I have a table named tblSignupHistory. so i originally set the query like this:
    ALTER TABLE tblSignupHistory
    ENABLE CHANGE_TRACKING
    WITH(TRACK_COLUMNS_UPDATED = ON)
    and in my stored procedure, if any data is changed, SQL Server will automatically send me an email notification.
    BUT i only want the notification email to be send only when this one specific column's value is changed from 0 to 1 (False to True). Any changes in other columns for the same table can be ignored.
    Thanks.

    Blog on the topic:
    http://www.exacthelp.com/2012/03/send-email-when-data-of-any-columns-of.html
    QUOTE: "Over all idea
    1. Enable the change tracking (CT) in database
    2. Enable the change tracking (CT) in table
    3. Enabled and configure the database mail
    4. Create a stored procedure which will get data change using CT and send an email
    5. Create a sql sever agent job which will execute the procedure in every 10 second.
    Alternate solutions blog on the topic: Get an alert when a certain record changes in SQL Server
    SQL Server UPDATE() function:
    http://technet.microsoft.com/en-us/library/ms177523.aspx
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Detecting validation errors in ADF UIX

    Dear sirs...
    how can i detect validation errors in an adf uix page using DataActionContext?
    thanks for any help

    dear sirs...
    i found how it works. it is simple, bust call this.hasErrors(ctx). this would return true if an error occurs, otherwise it returns false.
    best regards

  • Error in Migration Db sql server to sql Azure, how i can fix this errors

    I get an error TOTAL_WRITE is not supported in current version when i try validate my database from sql server migration in to sql azure. How I can Fix this error migrate to sql azure
    Also I git this error sp_spaceused is not supported in current version of Azure SQL Database – Reynel Useche Velasco 22 mins ago
    StoredProcedure [dbo].[p_sizetables] -- 'db_name(' is supported only for the local database. You should test to verify the results are what you want. – Reynel Useche Velasco just now edit
    Reynel Alfredo Useche Velasco

    Hi Reynel,
    I see that you have posted this query on stack overflow.
    I would like to involve our SQL experts in this topic and get the best solution.
    As of now to my knowledge @@TOTAL_WRITE is not supported on SQL Azure.
    In the meantime, you can refer the below links for migrating your database from on-prem to Azure.
    https://msdn.microsoft.com/en-us/library/hh313125(v=sql.110).aspx
    https://msdn.microsoft.com/en-us/library/hh313129(v=sql.110).aspx
    Hope this helps you.
    Girish Prajwal

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • How do you resolve Financial Management service validation error in EPM ?

    Does anyone know how to resolve Financial Management service validation error from EPM Diagnostic Report?
    Environment:
    Quad-Core AMD Processor 2.2 GHz (Server Machine)
    5 GB RAM
    Server 2003 Standard 32-Bit SP2 (also tried in Enterprise)
    Application Server:
    WebLogic Server 9.2 Custom Installation (with Add-Ins)
    http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
    Database:
    Oracle 10gR2 (Standard Installation per step-by-step guide from Oracle)
    http://www.oracle.com/technology/software/products/database/index.html
    Hyperion EMP System 11.1.1.3:
    Installer
    Foundation Services (4 Files )
    EMP Architect
    Financial Management, Planning, Financial Reporting and Web Analysis (primarily interested in FM)
    http://www.oracle.com/technology/software/products/bi/performance-management/index.html
    The following are the sequences of steps carried out during the Installation and Configuration of EPM:
    1)     Installed the Server along with its respective SP2 – Shutdown the machine
    2)     Assigned IP and DNS addresses
    3)     Installed Window components by ticking Application Server Console, Enable COM+ access, IIS and DNS
    4)     Run “dcpromo” to create a Domain Controller with default values and assigned a domain name – Shutdown the machine
    5)     Installed Weblogic Server 9.2 and configure it using Configuration Wizard – Selected “test environment” and ticked default “listening port” – Shutdown the machine
    6)     Basic installation of Oracle Database 10gR2 using Step-by-Step guide provided by Oracle and carried out Password Management steps. After installation, I then created a user “oracle” and assigned it to ora_dba User Group with the required Local Security Policies – “log on as a batch job” and “Act as part of operating system”
    7)     Logged into database and acknowledge the licensing window – Shutdown the machine
    8)     Restarted the machine and checked all relevant and newly installed Database and WebLogic services are running.
    9)     Started Installing EPM components by double clicking “InstallTool.cmd” and selected all relevant components at ONCE as per Installation Guide – Result: - All selected EPM components were successfully installed without errors or exceptions
    10)     At the end of installation window, I carried out the configuration in the following scearios:
    Scenario 1: Configuration all at Default settings
    Scenario 2: Configuration all, except “Application Server” I selected the WebLogic9.2
    Scenario 3: Configuration all, except “Application Server” and “Workspace Web Server” were being Welogic9.2 and IIS HTTP
    RESULT: After all numerous installations, all came down to ONE ERROR from “Diagnostic Report” stating the following:
    Financial Management:
    FAILED SVR: HFM Service Validation Check if HFM service in working state.
    Error: Error message: <03/11/2010 05:32:26 PM> CreateApplicationCAS... Failed at line: 2
    Recommended Action: Make sure HAT utility is working. 1 s
    I then simply ignored this error and tried to deploy an Application, all worked fine until you get to the point at “Job Console” where you need to press “Refresh” button. Progress remained at 12% until it got timedout after 300 seconds and force attempt of refreshing resulting in “aborted” job with the following error:
    Error Reference Number: {DB3940F5-2D4A-46AB-A370-77F82F121BBA}
    Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:39:58 PM;Svr: PBAR;File: CHsvDataSourceImpl.cpp;Line: 196;Ver: 11.1.1.3.0.2413;
    Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: CHsxServer.cpp;Line: 1276;Ver: 11.1.1.3.0.2413;
    Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: CHsxServer.cpp;Line: 1190;Ver: 11.1.1.3.0.2413;
    Num: 0x8000ffff;Type: 0;DTime: 4/12/2010 4:40:07 PM;Svr: PBAR;File: AgentHelper.cpp;Line: 728;Ver: 11.1.1.3.0.2413;
    Num: 0x8000ffff;Type: 1;DTime: 4/12/2010 4:40:08 PM;Svr: PBAR;File: CHfmAwbAgent.cpp;Line: 744;Ver: 11.1.1.3.0.2413;
    This is, I believe preventing me from deploying Consolidation Apps, including Sample Application provided with EPM Downloads. I have tried installing and configuring by components. All failed with the same outcome.
    I have been working on this effortlessly in different combinations to get at least one Financial Management Application get deployed so I could enhance my learning adventure. As it stands, I am not sure where to get help and completely lost in the World of Oracle. I am also come to wonder whether “Free Downloads of EPM” are indeed, is “complete and is in working-state” or do I need a licence to use for personal learning experience? Are there different downloads for different needs or/users For example, eDelivery downloads are different from OTN Agreement downloads?
    I have downloaded the files from following URL:
    http://www.oracle.com/technology/software/products/bi/performance-management/index.html
    I am completely lost and all services are up and running and not sure what I am missing!! Any assistance will be greatly appreciated.
    Many Thanks
    BT
    Edited by: user8973921 on 13-Apr-2010 05:08
    Edited by: user8973921 on 13-Apr-2010 10:56
    Edited by: user8973921 on 14-Apr-2010 02:30

    I am having exactly the same problem using Windows 2003 Standard editions SP2. Is there anyone who knows a possible solution for this? The effect on HFM is that is not possible to create an application, since I always get an error that says "Server execution failed"
    Error Reference Number: {E68F87E6-588E-4665-862C-AAB02CB299DA}
    Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServerImpl.cpp;Line: 3522;Ver: 11.1.1.3.0.2413;
    Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServer.cpp;Line: 1115;Ver: 11.1.1.3.0.2413;
    Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxServer.cpp;Line: 857;Ver: 11.1.1.3.0.2413;
    Num: 0x80080005;Type: 0;DTime: 12/3/2009 5:21:47 PM;Svr: KINGTUT;File: CHsxClient.cpp;Line: 2106;Ver: 11.1.1.3.0.2413;

  • How To Track the Errors In LSMW

    Hi Experts,
    When I Execute LSMW, If I Get Some Errors Over There.
    How to Track And Clear Those Errors.
    Is there Any Methods For this Or Is there Any Way to Do this .?????
    Please Let me Know the Solution.
    Regards
    Khanna

    hi,
    In the field mappings and conversion rules,
    in the global section,define an internal table.
    data : begin of it_errors occurs 0,
    desc type string,
    end of it_errors.
    and where ever you have wrong or empty values for the fields,populate error there to the internal table.
    for example, if Material no is blank,i have to give err msg
    IF NOT MATMAS_MRPVIEW-MATNR IS INITIAL.
    BMM00-MATNR = MATMAS_MRPVIEW-MATNR.
    else.
    IT_ERROR-DESC = 'Material no is empty'.
    append it_error.
    SKIP_RECORD. "to skip further processing of this error record.
    ENDIF.
    like this you populate all the error records to that IT_ERRORS internal table.
    and finally download it using GUI_DOWNLOAD in the event
    '__END_OF_PROCESSING__'
    there is another way also, you can create a Session in the LSMW, and record the error records in the session then process the error records in the session
    ~~Guduri

  • XSchema: How to get (more) Information about validation errors?

    I changed the file car.xml to have an invalid xml-file, then
    i validate the demo car.xml using the demo programm xsdtest.
    I got the following error message:
    In line 7 of car.xml:
    LSX-00290: invalid enumeration choice "Hugo"
    LSX-00213: only 0 occurrences of particle "sequence", minimum is 1
    Validation failed, error 213
    The first 2 lines are dumped from the SchemaProzessor. Unfortunatly there is no
    possibility to get this information with a methodcall or by return value
    to use for further processing!
    The only thing i got controlled back is the error code 213.
    But how do i get the correspondening errortext ? What means error 213 ?
    So here is my suggestion:
    Please give accurate information about validation errors! Including:
    1) The position where the error occurred. (maybe in XPath notation)
    2) An error Number to classify the error (Including a possibility to resolve the errormessage via program.)
    3) An error text for the specific case : (for example : invalid enumeration choice "Hugo")
    Please give this information in a struct back or provide methods on the
    Xschema prozessor.
    Otherwise the XSchema support is useless!!!!!
    Sorry for my bad English & Greetings
    Martin Frenzel
    By the way: The XDK for Java uses a different Error Messages !!!! But there is the same problem...

    1.How to check when user last time login to database.AUDIT
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons alsoCheck Profile For this user and attr.
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    SQL> select EXPIRY_DATE from dba_users ;
    EXPIRY_DA
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11 check
    expiry_date in dba_users is null
    4.How to check when he was reset his password last time.SELECT PTIME FROM SYS.USER$;

  • Gr/ir wrong posting account-how to track error

    Dear Expert,
    For some PO, there were wrong posting in IR.After checked in OBYC and material master, user has already maintained the valuation class and the customizing also correct.
    How this could be happened since the customizing and val.class already correct?
    How to track the caused of error then?
    Please advice.
    Thank you.

    Hi Susmitha,
    You need to develop a small report for this. SAP stores the delivery information of email in SOST table.
    The emails are stored in this table with message type (msgty) 'S' or 'I'.
    If the emails are delivered the message no. (msgno) in this table becomes '711' or '701' or '73'. For all other message number it indicates the message is not delivered.
    However the table is updated after a certain time limit (half an hour to two hours normally) to get the delivery status of the email. So you need to run the report after a certain time to get the actual delivery status of email. There may be few cases where the delivery status may be update after 24 hours also if performance is slow of the system. But normally this does happen in a normal condition. But this is the table where you can identify the delivery status of the email.
    When you are sending email using FM SO_DOCUMENT_SEND_API1, SAP generates an uniques object number for each email. It can be found in the importing parameter of the FM in field new_object_id+5(12). You need to store this object number so that you can search with this in SOST table to get the delivery status.
    Hope it helps.
    Thanks,
    Nirmalya

Maybe you are looking for

  • RSS pointing to wrong location

    I moved the folder where my iWeb page was being published but the RSS link is pointing the old folder. I modified the html in Dreamweaver but when I resave and publish again using iWeb, the change is replaced. Any way to fix this?

  • Error : COmpany code does not exist or has not been fully maintained

    Hi , I tried creating a material with industry sector : mechanical , material type : raw material. i selected basic data 1 and 2 view or MRP 1 view for views , i gave plant as SUJA and storage location value S001 ( plant and stor loc i have created i

  • Has anyone used R3load LOAD "ANY_ORDER" option?

    We are testing a migration with a big (32-core) box and this option is listed in Note 1058437 as an option for R3load. In the note, it asks for us to consult the DB2 documentation, which describes this option: "Specifies that the load utility can pro

  • Overlapping requests using DTP

    Hello BIGurus, I want to delete overlapping requests in the following scenarios using DTP 1.In Master data Attribute 2.DSO 3.Info-cube. I am not able to find Deletion of overlapping requests option in the DTP. Can you please help me to find out optio

  • Bug in OC4J [unexpected token: IN] when use Subquery

    Hi I use this named query in my entity, but when I run it from JDeveloper 10.1.3.0.4 (SU2) it throw exception Thia is as sample query: @NamedQuery(name="EmpbyDept",query="SELECT object(o) FROM Employees o WHERE o.departments IN(SELECT object(d) FROM