Is pl/sql language of the compiler or interpreter of programming language?

Hello guys,.

Is pl/sql language of the compiler or interpreter of programming language?

Thank you

Published by: Polat on 14.Mar.2012 09:09

>
Is pl/sql language of the compiler or interpreter of programming language?
>
The two-

See compilation of PL/SQL units for running Native in the Doc of the PL/SQL language
http://docs.Oracle.com/CD/E18283_01/AppDev.112/e17126/tuning.htm#sthref1023

>
You can usually speed up the units of PL/SQL compile native code (code system processor-dependent), which is stored in the SYSTEM tablespace.

You can compile natively any PL/SQL for any unit, including those providing the database Oracle.

The program compiled natively units work in all environments of servers, including the configuration of shared server (formerly called "multi-threaded server") and Oracle Real Application Clusters (Oracle RAC).
>

And this from the section How PL/SQL Native Compilation Works
>
How does the Native Compilation of PL/SQL
Without native compilation, statements from PL/SQL in a PL/SQL unit are compiled into an intermediate form, the system code, which is stored in the catalog and interpreted at run time.

With native compilation of PL/SQL, PL/SQL instructions in a PL/SQL unit are compiled into native code and stored in the catalog. Native code should not be interpreted at the time of execution, so that it runs faster.

Because the native compilation applies only to the PL/SQL statements, a unit of PL/SQL that uses only SQL statements may not work faster when it is compiled into native mode, but it works at least as fast as the interpreted code. The compiled code and the interpreted code are the same library calls, their action is the same.

Tags: Database

Similar Questions

  • The pl/sql language specification

    Hello

    Is there anywhere I can find a pl/sql language specification? Specifically, I'm looking for a list of syntax and semantic errors that may occur during the compilation.

    I tried to search in this forum and elsewhere, but without success. Maybe I'm simply not looking the right conditions.

    See you soon,.
    Adam

    989097 wrote:
    Hello

    Is there anywhere I can find a pl/sql language specification? Specifically, I'm looking for a list of syntax and semantic errors that may occur during the compilation.

    I tried to search in this forum and elsewhere, but without success. Maybe I'm simply not looking the right conditions.

    See you soon,.
    Adam

    How can I ask a question in the forums?
    SQL and PL/SQL FAQ

    BOOKMARK the URL below

    http://www.Oracle.com/pls/db112/portal.all_books

    Use the URL below

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e25519/TOC.htm

  • Developer SQL not display warnings from the compiler

    I just test the new compiler in 11g warning message related to the exception handler so that "others" when there is a subsequent increase or raise_application_error.

    in SQL Plus, it works fine:

    SQL> alter session set plsql_warnings='enable:all';
    
    Session altered.
    
    SQL>
    SQL> create or replace function do_stuff
      2  return number
      3  as
      4     v_return number;
      5  begin
      6
      7     v_return := 3;
      8     return v_return;
      9
     10  exception
     11  when others then
     12     return null;
     13  end;
     14  /
    
    SP2-0806: Function created with compilation warnings
    
    SQL> show errors;
    Errors for FUNCTION DO_STUFF:
    
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    1/1      PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
             value DEFINER used
    
    11/6     PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
             RAISE or RAISE_APPLICATION_ERROR
    but Developer SQL, the output is:
    BANNER                                                                           
    -------------------------------------------------------------------------------- 
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production     
    PL/SQL Release 11.2.0.3.0 - Production                                           
    CORE     11.2.0.3.0     Production                                                         
    TNS for Linux: Version 11.2.0.3.0 - Production                                   
    NLSRTL Version 11.2.0.3.0 - Production                                           
    
    session SET altered.
    FUNCTION do_stuff compiled
    No Errors.
    Someone at - there experience this problem? is there a setting that makes Developer SQL behave differently?

    There is a bug.

    The solution is to make sure that the name of the object in CREATE or REPLACE is uppercase

    So in your example make DO_STUFF

    Run as a Script

    Then check the compiler Log/Logging Panel, you will see your mistakes.

    It has been marked to be fixed in our next release.

  • Error of suspicion of PL/SQL No copy of the compiler

    Hello

    My Version database is Oracle 9i.

    I have a table1 like this:
    agency_form_id      pk
    User_id  
    agency_Email_id
    date
    user_name
    I've written a procedure for agency_email_id during extraction:
    CREATE OR REPLACE
    PROCEDURE retrieve_emailid { p_formid IN table1.agency_form_id %TYPE, p_emailid OUT table1.agency_Email_id%TYPE)
                                          IS
    BEGIN
       SELECT agency_Email_id
         INTO p_emailid
         FROM table1
        WHERE agency_form_id=p_formid;
    END retrieve_emailid;
    I get an error like this:
     PLW-07203: parameter 'P_EMAILID' may benefit from use of the NOCOPY compiler hint
    Can someone help me in this please

    Thank you

    "PLW" indicates a warning, not an error.

    IIRC, Developer SQL has warnings from the compiler enabled by default, and it tends to pop when he sees an OUT or IN OUT parameter of any kind. It is doubtful that you would actually get a measurable performance of NOCOPY here advantage.

  • Are constants of body of the PL/SQL Package in the shared or private area

    Based on that it is not clear to me if body Package PL/SQL constants are stored in the shared or private area.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/memory.htm

    "PL/SQL program units and the Shared Pool

    Oracle database treats PL/SQL program units (anonymous blocks, procedures, functions, packages and triggers in database) much the same way he treats the individual SQL statements. Oracle database allocates a shared area to hold the shape analyzed, compiled a program unit. Oracle database allocates a private space to hold values specific to the session who runs the program unit, including local, global and package variables (also known as the package is instantiated) and stamps of SQL execution. If more than one user is running the same program unit, a place unique and shared is used by all users, while each user runs a separate copy of his own private SQL area containing session-specific values.

    The individual SQL statements contained in a PL/SQL program unit are processed as described in the previous sections. Despite their origins within a PL/SQL program unit, these SQL statements use a shared area to hold their analysed representations and a private space for each session, who executes the statement. »


    I am also curious to know what are the differences in fine grain in a perspective of memory and performance (multisession) for the two examples below. One is more effective?


    Example 1.

    create or replace
    package body
    application_util
    as

    c_create_metadata constant varchar2 (6000): =...

    procedure process_xxx
    (
    )
    as
    Start
    ...
    end process_xxx;

    end application_util;

    vs.

    Example 2.

    create or replace
    package body
    application_util
    as

    procedure process_xxx
    (
    )
    as

    c_create_metadata constant varchar2 (6000): =...

    Start
    ...
    end process_xxx;

    end application_util;

    881398 wrote:

    But I still have to ask because it seems still more particularly in example 1 that the constant can be attributed to the use that the actual value could be a pointer to a constant string value in a table of symbols or something related to the compilation unit. I'm always curious in a perspective of management of memory if there is a difference between the example 1 and example 2, and if one is better and why.

    The storage is real, references to this storage internal to the PL/SQL engine. And irrelevant to the PL/SQL programmer.

    This question is really a disagreement over the shape is better: example 1 or example 2. I prefer the 1 example, for readability, testability, etc., and so the question is where is the performance of the memory/differences and or is it just preference of developer.

    I agree with rp0428 - he raised a very important point that it is a problem of scope and nothing else.

    Basically is there any trade-off between using one shape on the other insofar as the performance and memory management?

    Not really. Most runtime engines release not just actual system memory when a variable is out of range. the malloc() calls are expensive. Free() calls are expensive (and are not always the result in usable free memory which can be malloc'ed again).

    Several execution engines use what is called a managed heap. A malloc is made of a new process when it is initialized. The heap memory / managed malloc'ed is adjacent. Pointer allocation of memory for this process is initially pointing to the base of the managed heap. As the process allocates / uses memory, the pointer is moved just advance in the managed heap, which indicates the HWM as such - the beginning of the 'free' memory in the heap. Allocation is sequential.

    Reset of your variable execution, or releasing your runtime object, does not reset the HWM as other objects/variables can still be used and located after this place in the bunch. In this case set him free memory by releasing / resetting the language variables does not restore the kernel memory.

    Memory management is a sophisticated process entirely processed by the engine running - and best left to the runtime engine. As you as a programmer do not explicitly control the memory management, it is not a good idea to try to write code that artificially attempt to use 'better' for the runtime engine memory management. The next version of the runtime of that aura of new features, optimizations and so on — and your interference in your code to get the "valorisation" of memory can happen just bite you not bad after an upgrade to execution.

    Regarding the performance aspect - variable initialization is dependent on scope. In order to have a global scope means a one-time initialization, whereas a private scope (created each call) is a multiple unit. If the first is a little faster than the latter.

    However, the performance differences are tiny - IMO too small to justify this as a valid consideration to spend in addition to the decision of functional design on what possibilities a variable or a constant need to have.

    SQL> create or replace package FooLib1 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib1 as
      2          const1  constant varchar2(32767) := rpad('-',10000,'-');
      3
      4          procedure Exec is
      5                  var1    varchar2(32767);
      6          begin
      7                  var1 := const1;
      8          end;
      9  end;
     10  /
    
    Package body created.
    
    SQL>
    SQL>
    SQL> create or replace package FooLib2 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib2 as
      2          procedure Exec is
      3                  const1  constant varchar2(32767) := rpad('-',10000,'-');
      4                  var1    varchar2(32767);
      5          begin
      6                  var1 := const1;
      7          end;
      8  end;
      9  /
    
    Package body created.
    
    SQL>
    SQL> set timing on
    SQL> exec for i in 1..100000 loop FooLib1.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.28
    SQL> exec for i in 1..100000 loop FooLib2.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.74
    SQL> 
    

    A second difference 0.0000046 in a single execution for FooLib.Exec between the use of package for the constant scope, against increased private. Which means that the issue of the scope is not a decision of the performance. Not when improving performance overhead is 0,0046 millisecs.

  • SQL to retrieve the specific attributes of an x 509 digital certificate

    I'm curious to know if there is a way to use SQL to retrieve the specific attributes of an x 509 digital certificate. I know how to make using openssl - no problem. But what happens if the pem file is stored in a datebase column and I need to extract the expiration date. Since the openssl command line, I can just do this to extract the date of expiry of the certificate:

    OpenSSL x 509 - noout - in certificate.pem - dates | grep notAfter | AWK-f = '{print $2} '.
    (retrieves only the dates | take only the line with the expiration date | print only the second column of the row delimited =)

    But if certificate.pem is stored in an Oracle database on the ground, how to achieve the same result? Y at - it something like "DBMS_OPENSSL"?

    I got to thinking of V$ PORTFOLIO in an Oracle database. Only columns here are CERT_ID, DN, serial_num, TRANSMITTER, KEYSIZE and STATE - no certificate, which suggests that it is stored elsewhere. As you can tell, I am new to this.

    Thanks for your help!

    You can use a small procedure stored Java to extract the required fields.

    http://docs.Oracle.com/javase/6/docs/API/Java/security/cert/CertificateFactory.html
    http://docs.Oracle.com/javase/6/docs/API/Java/security/cert/X509Certificate.html

    SQL> create table cert_storage (id integer, cert clob);
    
    Table created
    
    SQL> insert into cert_storage values (1,
      2  '-----BEGIN CERTIFICATE-----
      3  MIIDljCCAn4CCQD2F4J0d4f7rTANBgkqhkiG9w0BAQQFADCBjDEMMAoGA1UEChMD
      4  V0dVMQ0wCwYDVQQLEwRNU0lBMR4wHAYJKoZIhvcNAQkBFg90d2lsbDYzQHdndS5l
      5  ZHUxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5MQswCQYDVQQIEwJVVDELMAkGA1UE
      6  BhMCVVMxGjAYBgNVBAMTEVRob21hcyBDIFdpbGxpYW1zMB4XDTEyMTExNjA2NTEx
      7  OFoXDTEzMTExNjA2NTExOFowgYwxDDAKBgNVBAoTA1dHVTENMAsGA1UECxMETVNJ
      8  QTEeMBwGCSqGSIb3DQEJARYPdHdpbGw2M0B3Z3UuZWR1MRcwFQYDVQQHEw5TYWx0
      9  IExha2UgQ2l0eTELMAkGA1UECBMCVVQxCzAJBgNVBAYTAlVTMRowGAYDVQQDExFU
     10  aG9tYXMgQyBXaWxsaWFtczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
     11  ALzwniQTgM79kwIOIqo2GE+Ufl56F0E/Rg956Ho6FoT9tBhvvQfI1SDvRzsrMGYP
     12  2VDAT7I7HEUnwFPMF7YAiLbK/6LlKDv0D+JyP3q9k/ENsZd0Z33KZ3HrJV1sdZZK
     13  iCv7isHKJ7xJgxQq+9ecpBG2Y9Vr5rLg8WPqnjvnaI60PN+NEsWnFNr/u6rBfv9R
     14  CQBtbLG6nhq5rxd67cWYR1hLpQg/S40AYcJBMIOApDN96YzDFXUM269JdHLSMgbt
     15  ZN8F4XeGljNbuVT8BTKOSydDUWWNJA593GLMSQ+OJVzVuwF99JzUwG0TcmPYgcQn
     16  Vav2t9igeXq7bUspcFTHQX8CAwEAATANBgkqhkiG9w0BAQQFAAOCAQEAAoOfoSSo
     17  sN78pSuDAAD95AgATzmCFxLvV9LWrIkFOF6mLwpnvR9UvjoOfQRWjVNnHKZ+1SPw
     18  oRo9KnMaWBltnXgKktfNYsSqCgZ889VaFlZfOL7TTq+jWqG9sRNXcJHkC+o07cxS
     19  IZSXNwjV+c6NMXUJWTf6OWKLcBmQ3Ze0hwiyW06QZvSd7psYqAH4AJHyiOXROG44
     20  eNtbFWxQ5Gg/tgXnEr/vbr2twXuflmmoNkjh94mR9Vf0QJY6/1I6qYkJ4n+xX2kR
     21  yisfvWztlYT+1m/z8jzeJtAkxRIloTIacLrIjaQKpKKsL4rAb0Fd0SUPP6HkIt72
     22  +vQ4jwHbxRhV7g==
     23  -----END CERTIFICATE-----')
     24  ;
    
    1 row inserted
    
    SQL> commit;
    
    Commit complete
     
    
    SQL> create or replace and compile java source named testx509src as
      2  import java.security.cert.*;
      3  import java.io.*;
      4  import java.sql.*;
      5  import oracle.sql.CLOB;
      6  import oracle.sql.TIMESTAMPTZ;
      7
      8  public class TestX509 {
      9      public static TIMESTAMPTZ getExpirationDate(CLOB cert)
     10              throws SQLException, IOException, CertificateException {
     11
     12          Connection conn = (Connection) DriverManager.getConnection("jdbc:default:connection:");
     13          BufferedInputStream is = new BufferedInputStream(cert.getAsciiStream());
     14
     15          CertificateFactory cf = CertificateFactory.getInstance("X.509");
     16          X509Certificate c = (X509Certificate) cf.generateCertificate(is);
     17          is.close();
     18
     19          return new TIMESTAMPTZ( conn, new Timestamp(c.getNotAfter().getTime()) );
     20
     21      }
     22  }
     23  /
    
    Java created
    
    SQL> CREATE OR REPLACE FUNCTION CERT_GetExpirationDate(cert in clob)
      2  RETURN timestamp with time zone
      3  AS LANGUAGE JAVA
      4  NAME 'TestX509.getExpirationDate(oracle.sql.CLOB) return oracle.sql.TIMESTAMPTZ';
      5  /
    
    Function created
     
    
    SQL> select CERT_GetExpirationDate(cert)
      2  from cert_storage
      3  where id = 1;
    
    CERT_GETEXPIRATIONDATE(CERT)
    --------------------------------------------------------------------------------
    16-NOV-13 07.51.18.000000000 AM +01:00
     
    

    If you need to access the fields again, it would be best to wrap them in an Oracle object type and have the Java method return an instance of this object.

  • Migration of SQL 2012 caused high compilations per second

    Only, we migrated to SQL 2008 R2 SQL 2012 and better hardware.  We have not changed any code; but the compilations/went from ~ 30 to 600 to 800.  CPU is really good.  The performance is good. Signal waits for cent get up every now and then until 34 (previously it was always below 25%) and the procedure cache hit ratio goes down sometimes to 88% (previously it was always greater than 95%).  We are really concerned about the compilations per second.  Can someone give an idea of why this is happening?

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • Invalid column index: Houston-27122: SQL error in the preparation of the statement

    Hello

    I get under the exception in my extended OAF page:

    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement.  Instruction: SELECT OpportunityEO.lead_id, OpportunityEO.last_update_date as LastUpdateDate, OpportunityEO.creation_date, OpportunityEO.lead_number, OpportunityEO.customer_id, NVL(OpportunityEO.TOTAL_AMOUNT,0) as value TotalAmount, OpportunityEO.Decision_Date, OpportunityEO.win_probability, OpportunityEO.description as the Description, OpportunityEO.Currency_Code, OpportunityEO.Source_Promotion_Id, OpportunityEO.OWNER_SALESFORCE_ID, OpportunityEO.TOTAL_REVENUE_OPP_FORECAST_AMT, null as VehicleResponseCode, ast.meaning as OpptyStatusName, null as CurrencyName, null as SalesStageName, hp.party_name as Nom_tiers, null as CustomerCategory , null as null as ContactName, null as PersonFirstName, null as PersonLastName, null as PersonMiddleName, null as salutation, null as EmailAddress, JobTitle as null, null as PhoneCountryCode, null as PhoneAreaCode, null as PhoneNumber PersonId, null as PhoneExtension, null as PhoneLineType, to_number (null) ContactPointId, null as FormattedPhone OpportunityEO.attribute1, hp.attribute4 city, (case WHEN (OpportunityEO.attribute13) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute13) END) as a country , (case WHEN (OpportunityEO.attribute14) length! = 19 THEN null ELSE fnd_date.canonical_to_date (OpportunityEO.attribute14) END) as Province, null as PostalCode, to_number (null) ContactLocationId, null as address, null as SourceName, jrt.resource_name as ResourceName, null as SalesChannel, null as RelationShipId, null as PrimaryContactPartyId, null as CustState, null as CustCity, null as CustCountry, null as CustProvince, null as CustPostalCode, to_number (null) as CustomerLocationId , null as CustAddress, null, OpptyUpdatedBy, null, OpptyCreatedBy, null as MethodologyNm, null as CloseReason, null as AssignmentStatusNm, OpportunityEO.PRM_Referral_Code as ReferralCode, null as PrimaryPhoneCountryCode, null as PrimaryPhoneAreaCode, null as PrimaryPhoneNumber, null as PrimaryPhoneExtension, null as PrimaryPhoneLineType, to_number (null) CustomerContactPointId, null as CustFormattedPhone, null as CustEmailAddress, null as ConvAmt, null as ConvFrcstAmt, null in the source code of as_leads_all OpportunityEO  , (SELECT / * + no_merge * / separate FROM as_accesses_all aaa aaa.lead_id WHERE the aaa.sales_lead_id of the aaa.lead_id IS NULL AND IS NOT NULL AND aaa.open_flag = 'Y' AND aaa.salesforce_id =: 0) social security, ast as_statuses_tl, as_lead_contacts_all alca, hz_parties HC, fnd_territories_tl ftt, hp hz_parties, jrt from jtf_rs_resource_extns_tl WHERE OpportunityEO.lead_id = secu.lead_id AND OpportunityEO.status = ast.status_code AND ast.language = USERENV('LANG') AND OpportunityEO.lead_id = alca.lead_id AND OpportunityEO.customer_ ID = alca.customer_id AND ALCA.primary_contact_flag = 'Y' AND alca.contact_party_id = hcp.party_id (+) AND hcp.country = ftt.territory_code AND ftt.language = USERENV ('LANG') AND OpportunityEO.customer_id = hp.party_id AND OpportunityEO.owner_salesforce_id = jrt.resource_id AND jrt.language = USERENV ('LANG') ORDER BY LastUpdateDate DESC

    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.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    # # 0 in detail

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    java.sql.SQLException: invalid column index

    at oracle.jdbc.driver.OraclePreparedStatement.setNUMBERInternal(OraclePreparedStatement.java:8141)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:10791)

    at oracle.jdbc.driver.OraclePreparedStatement.setCustomDatumInternal(OraclePreparedStatement.java:10401)

    at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:11655)

    at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:11631)

    at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:253)

    at weblogic.jdbc.wrapper.PreparedStatement.setObject(PreparedStatement.java:357)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)

    at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3940)

    at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)

    at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:14008)

    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)

    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)

    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3754)

    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection (unknown Source)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4591)

    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:751)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:900)

    at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:814)

    at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:808)

    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3674)

    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)

    at oracle.apps.xxfe.f486.asn.opportunity.server.ASNOpptyQryAMExImpl.initOpptyQuery(ASNOpptyQryAMExImpl.java:514)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod (unknown Source)

    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:733)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.executeOpptyQuery (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.executeOpptyQuery(ASNOpptyLstCOEx.java:335)

    at oracle.apps.asn.opportunity.webui.ASNOpptyLstCO.processFormRequest (unknown Source)

    at oracle.apps.xxfe.f486.asn.opportunity.webui.ASNOpptyLstCOEx.processFormRequest(ASNOpptyLstCOEx.java:134)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854)

    at oracle.apps.fnd.framework.webui.OATableHelper.processFormRequest(OATableHelper.java:460)

    at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processFormRequest(OATableBean.java:1058)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:410)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(OAQueryHelper.java:1035)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.OAFlexibleContentBean.processFormRequest(OAFlexibleContentBean.java:372)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.beans.layout.OAFlexibleLayoutBean.processFormRequest(OAFlexibleLayoutBean.java:376)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1319)

    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest (unknown Source)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032)

    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887)

    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:407)

    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)

    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3172)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1927)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    at _pages.__oa._jspService(__oa.java:233)

    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:213)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:141)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter (unknown Source)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:432)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3748)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3714)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Could someone please help me to set up this bug?

    Thank you

    Anupam

    Anupam,

    It is difficult to understand the code as there are many alternatives to the query that happens. Not really sure why it is written a lot of code.

    Since the code of the AOS, that all extensions have been made on this page?

    The error is coming in the method executeQuery viewObject. The executeQuery() method is replaced? If so, can you provide this code?

    If this is not the case, try to print the query, the dynamic whereclause, the whereclause parameters, just before calling the executeQuery() and see what are the upcoming values. This will help you to debug more far.

    The query in the error message it is only a bind variable, is there anywhere in the code, it tries to set multiple connection parameters?

    See you soon

    AJ

  • I'm writing sql that uses the value of a form element to calculate the value in the element anothet.

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    SteveKerry-Oracle wrote:

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    To use a value of element in SQL or PL/SQL of APEX block, use a reference variable to bind that precede the name of the element of the colon ("": "):

    select
        ("Data_PSDM_Fcst"."Month1_Act" + "Data_PSDM_Fcst"."Month2_Act" +"Data_PSDM_Fcst"."Month3_Act") as "QT4"
    from "Data_PSDM_Fcst" "Data_PSDM_Fcst"
    Where ID = :P5_ID
    

    I also highly recommend that you stop what you are doing now, remove all database objects that were created with identifiers respecting case-sensitive and re-create them according to standard practical Oracle so that they are case-sensitive. By the database SQL language reference:

    Note:

    Oracle does not recommend the use of identifiers in quotes for the names of database objects. These city identifiers are accepted by SQL * Plus, but they may not be valid when using other tools that manage database objects.

    Names of objects sensitive to case and between quotes identifiers will only cause confusion and error.

  • Why the text header is deleted on the compilation?

    Hello
    I have a text header on my functions/procedures/packages, with stuff standard name, developer, etc. of the version history. When I open the file in SQL Developer and compile my object, the section of text at the top is removed? Anyone know why this is happening?

    Thank you

    Mike

    Is this before the "CREATE or REPLACE?

    If so, it is not actually part of your PL/SQL object. The database considers only the text beginning with CREATION and ending with the END as part of the object.

    You can query user_source to confirm.

    Of course if is not before CREATING, an example of what you experience will help us diagnose this.

  • where to see the compile error

    Hello
    on 10 gR2, I created a trigger and received after WARNING:
    Warning: Trigger created with compilation errors.
    Where can I see the compile error?

    Thank you.

    Dear Sir

    Question displays the error message; SQL command more. You will get the error message.

    Kind regards
    Srikanth

  • PL/SQL Script finishes the job.

    I started today with PL - SQL
    So I use the book of Fred Feuerstein's Oracle PL/SQL Programming.

    As example of paintings serve a table book... you can create and populate with the date by a script of the home page of O'Reilly.
    But it don't work on my Oracle database get a mistake.

    Error on line 27
    ORA-01858: A non-digit character was found, while awaiting a numeric character
    ORA-06512: In line 34

    Script done on line 27.

    Below is the script to create and fill the database. The tool used is the Toad and the database used is Oracle 11 g Enterprise 2.

    What's wrong???

    --------------------------------------------------------------------------------------
    REM $Id: books.tab, v 1.1 2001/11/30 23:09:48 bill Exp $
    REM of the "learning Oracle PL/SQL" page 64

    Create table 'books' REM

    (Books) CREATE TABLE
    ISBN VARCHAR2 (13) NOT NULL PRIMARY KEY,
    title VARCHAR2 (200),
    Summary VARCHAR2 (2000).
    author VARCHAR2 (200),
    date_published DATE,
    page_count NUMBERS
    );




    REM Script to insert sample records to books

    REM Note: Must SET DEFINE OFF or SQL * Plus will intercept the ampersand
    Characters of REM (&) before they are sent to the server. SQL * more generally uses
    REM an ampersand to designate a variable that requires the user to provide a
    REM value interactively.

    SET DEFINE OFF

    DECLARE
    PROCEDURE insert_book_no_complaints (isbn_in IN VARCHAR2, title_in IN VARCHAR2,
    summary_in IN VARCHAR2, author_in IN VARCHAR2, date_published_in IN DATE,
    page_count_in in NUMBERS)
    IS
    BEGIN
    INSERT INTO books (isbn, title, author, abstract, date_published,)
    page_count)
    VALUES (isbn_in, title_in, summary_in, author_in, date_published_in,
    page_count_in);
    EXCEPTION
    WHEN DUP_VAL_ON_INDEX
    THEN
    NULL;
    END;

    BEGIN

    insert_book_no_complaints ('' 0-596-00381-1)
    "Oracle PL/SQL Programming,"
    "Of reference for PL/SQL developers, including examples and best practices"
    || "recommendations."
    'Syndrome Feuerstein, Steven, with Bill Pribyl',
    25-sep-2002 ", / * best guess from August 22 02 * /"
    (NULL); / * do not yet know how many pages * /.

    insert_book_no_complaints ('0-596-00180-0 ",)
    "Oracle PL/SQL for learning."
    "Beginner" s guide to Oracle "s PL/SQL programming language",
    'Bill Pribyl with Steven Feuerstein',
    November 29, 2001 ",
    401);

    insert_book_no_complaints ('1-56592-578-5',
    "Oracle SQL * more: The Definitive Guide", ".
    "The complete treatment of Oracle" interactive database tool of is,
    "Gennick, Jonathan."
    March 1, 1999. "
    502);

    insert_book_no_complaints ('1-56592-457-6 ",)
    "Oracle PL/SQL Language Pocket Reference.
    "Quick guide to Oracle PL/SQL developers. Includes Oracle8i '
    || 'coverage.',
    "Feuerstein syndrome, Steven, Bill Pribyl, Chip Dawes,
    APRIL 1, 1999 ", 94);

    insert_book_no_complaints ('' 0-14071-483-9)
    "The tragedy of King Richard the third.
    "The popular historic Shakespeare play in which a modern publication.
    || "royal treacherous tries to steal the Crown but died without horses."
    || "in the battle."
    "Shakespeare, William,
    AUGUST 1, 2000 ",
    (158);

    insert_book_no_complaints ('' 0-14-071415-4)
    "The storm."
    "Duke and the girl on the enchanted island to meet old enemies in this."
    || "comic tale of mystery, love, magic, and (eventually) forgiveness."
    "Shakespeare, William,
    JANUARY 1, 1959.
    (120);

    insert_book_no_complaints ('' 0-672-31798-2)
    "Sams Teach Yourself PL/SQL in 21 days, second edition."
    "Tutorial for Oracle" language procedural s organized presentation.
    || "the features of language in three weeks learning annex.",
    'Gennick, Jonathan, with Tom Luers',
    DECEMBER 1, 1999 ",
    692);

    insert_book_no_complaints ('' 0-07-882438-9)
    "Oracle PL/SQL tips and Techniques."
    "Voluminous tome with tips, techniques and reference documents on.
    || "Oracle" PL/SQL s.',
    "Trezzo, Joseph C."
    JULY 1, 1999 ",
    942);

    insert_book_no_complaints ('' 0-13-794314-8)
    'Create smart with Oracle PL/SQL triggers and stored databases'
    || "Procedures - 2nd ed.",
    "Programmer" PL/SQL s guide, oriented to the reusable construction. "
    || "components for large Oracle applications.",
    "Owens, Kevin T."
    JUNE 1, 1999 '.
    544);

    insert_book_no_complaints ('1-56592-674-9',
    "Oracle PL/SQL Developer's Workbook',
    "" Beginner, intermediate and advanced exercises to test the "."
    || "drive s"knowledge"of Oracle PL/SQL programming language s."
    'Syndrome Feuerstein, Steven, with Andrew Odewahn',
    1 May 1999 '.
    588);


    END;


    COMMIT;

    ALL SET ON

    ;

    privrt, PRIVET ;)
    use in the script

    alter session set nls_language='AMERICAN';
    alter session set NLS_DATE_LANGUAGE='AMERICAN';
    

    and inserts

    to_date(,)
    
  • filling of datetime column SQL Server with the data in the date column oracle

    After a lot of "finangling", I think I have my link dg4msql works well between Oracle and MSSQL.

    Now, what I'm trying to do, is fill a table in MSSQL with an Oracle table column values, whenever a new row is inserted in the Oracle table. I use a very simple trigger on the oracle table that goes basically like this:

    mware is dblink to MSSQL database, oracle col worth DATE and mssql col is of type DATETIME

    This is the relaxation: (edited to show only the column in question)
    ==================================================================================
    CREATE or replace TRIGGER < oracleowner >. INSERT_INTO_NVDB
    AFTER INSERT ON < oracleowner >. < oracletable > for each row
    BEGIN
    insert into '< mssqlowner > '. «< mssqltable > @mware «»
    (
    "load_date_time,"
    )
    VALUES)
    : new.loading_date,.
    );

    END;
    ==================================================================================

    Now, when you enter a record in the Oracle trigger triggers ok table but does not insert a date in the MSSQL table, the 'load_date_time' in the mssql table can have NULL values so I guess there just inserts a null value.

    When I activate the triggers on the table MSSQL, which then takes these values and inserts them into another table with values from other tables, inserting in the Oracle table fails because the relaxation on the MSSQL database tries to pass the date (which is empty) table MSSQL in another table where the datetime field is not null.

    I guess it's because Oracle date format is not compatible with MSSQL, which I think is "yyyy-mm-dd hh: mm:"- so I have to either convert the date format by default Oracle to match a MSSQL, or convert a char of the trigger value. (The developer of the side MSSQL says if I can convert it to a char value that should be ok too)

    I think that it is probably better to leave it in the date format, the best way to do this would be to put an "alter session set nls_date_format ="at the beginning of the trigger?

    Can I convert the date to char the trigger easily? If there is a better way to proceed in the way I approach it I'm all for it.

    Thank you!

    Hello
    Your best option is to explicitly convert dates Oracle in a format recognized by SQL * Server. It's more coding, but then you know exactly what is being inserted and you give more control, if anything changes. You can also code to handle null data.
    I'm not sure than to try to change the format of date to 'alter session... ". "do what you want.
    You can use "to_char" on a date into character data-

    To_char (, "HH24:MI:SSxFF of MON-DD-YYYY")

    and use any mask format supported.
    You also use 'to_date' to transform the character data in a date format, as well as 'to_char' and 'to_date' in combination.
    For example -.

    SELECT TO_CHAR (TO_DATE (October 27, 98 ',' DD-MON-RR'), 'YYYY') 'Year' FROM DUAL;

    This is all discussed in the documentation-

    Oracle® database
    SQL language reference
    11g Release 2 (11.2)

    where it also describes the different format masks.
    If you need further assistance on the use of to_date, to_char formats then ask in the forum SQL/PLSQL.

    SQL and PL/SQL

    where they have more experience.

    Kind regards
    Mike

  • Problem with the compilation of AIR with the (police) Embed tag

    Hello

    I have an application developed for AIR. When I compile it without the fonts I need to incorporate it is compiled without a problem when I add the Embed tags then it compiles, but when it runs, it cannot be used, the input text fields are not accessible.

    Has anyone encountered this problem? What could be the possible reasons?

    Here's an example of how I embed fonts.

    [Embed (systemFont = "FreeSans", embedAsCFF = 'false', fontName = "FreeSansEmbed", mimeType = "application/x-font")]

    private var freeSansFont: Class;

    Thank you

    Ana

    I tried a long time ago and had some success (but I did day to 2.7 and 3.0, not directly to 3.0, don't know if this is important):

    http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-Flash-CS5/

    You can change the allocation of Java heap size and increasing the memory available to it often allows compiles to happen. Flash CS5.0 you can find this setting in this file:

    C:\Users\[your USER] \AppData\Local\Adobe\Flash CS5\en_US\Configuration\ActionScript 3.0\jvm.ini

    I have bolded en_US because obviously we English, change your language if necessary.

    Adjust the value-Xmx128m to-Xmx256m (128 MB-> 256 MB) and try that. You can also try to go to 512 m, but I had a few teething problems of the java virtual machine using a lot of ram (don't know why). This will increase the amount of RAM, the compilation process is allowed to use.

  • view of the compilation

    HII


    I have a question

    If I create a view v1 on table t1 with employee_id, first_name column, last_name

    as

    create view v1 in select from t1; *

    now, I remove a column from the table say employee_id

    n now when I issue select * from v1, I get error


    But if I publish command
    change the compilation of view v1

    but still I'm not able to use
    Select in v1 *.

    can you suggest me I can solve it without re-creating the view

    Yes. This is the expected behavior. Although you have created the view as "SELECT * FROM table_name", Oracle stores in the form of «SELECT col1, col2,...» FROM table_name.
    So, if you delete a column the view needs to be recreated.
    Similarly, if you add a column, the column will appear not in the view before recreation.

    SQL> SELECT * FROM v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE    10.2.0.2.0      Production
    TNS for Solaris: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    
    SQL> desc test_emp
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     EMPNO                                              NUMBER(4)
     ENAME                                              VARCHAR2(10)
     JOB                                                VARCHAR2(9)
     MGR                                                NUMBER(4)
     HIREDATE                                           DATE
     SAL                                                NUMBER(7,2)
     COMM                                               NUMBER(7,2)
     DEPTNO                                             NUMBER(2)
    
    SQL> CREATE OR REPLACE VIEW test_emp_view AS SELECT * FROM test_emp;
    

    Now, look at the definition of the view stored in datadictionary.

    SQL> ed
    Wrote file afiedt.buf
    
      1* SELECT view_name,text FROM user_views WHERE view_name='TEST_EMP_VIEW'
    SQL> /
    
    VIEW_NAME
    ------------------------------
    TEXT
    --------------------------------------------------------------------------------
    TEST_EMP_VIEW
    SELECT "EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO" FROM test_em
    p
    
    SQL>
    

    So if you delete a column, it will not be found as written in the definition of the view and can only be corrected if recreated.

    Added query: carine April 11, 2011 16:37

Maybe you are looking for

  • How to merge libraries

    I have two libraries in Final Cut Pro X 10.2.3 I want to merge, so that all media, and the cuts are in the same place. I know that I can change them but merger would help me to old projects of reversion and copy edited the clip of the sections a lot

  • How can I erase fingerprints on Portege series

    In my school, we have a decent supply of laptops and when one of them breaks we are told either wait briefly so that it be repaired or if it's more serious, that we are given a new and our data is transferred to our server. I was recently given a stu

  • Satellite L650 - no sound external subwoofer, from speakers

    Hello I recently acquired a [Toshiba Satellite L650-14F | http://se.computers.toshiba-europe.com/innovation/ro/product/Satellite-L650-14E/1086065/] laptop comes with no OS. I installed Windows 7 Enterprise 64 bit on it as well as all the pilots invol

  • Perform the actions that I record with my sync to Apple Watch to health app on the iPhone

    I've always wondered to this topic, so lets say go for a walk with only my watch and without my iPhone. Once I get home I synchronize my watch with my phone, all the steps I did without my phone will be on my dashboard health app or not? If it is any

  • Impossible to update BIOS G570

    I downloaded the bios update file when im trying to run the Setup file in windows 7 home Basic, it shows messege "needs to rise. Can someone help me?