Constraint voilation issue.

Hi All,
I am having 2 tables A and table b. table A has a fk constraint in table B (note table A and table B are not master detail)
When I add data to Table A i am programmatically auto generating data for Table B and commiting the data in the same transaction.
However when i do this i get the below error.
Constraint "FK_IFW_SRV_RGR" is violated during post operation "Insert" using SQL statement
How do i commit the data of table B first and then table A in one transaction?
Or is there a better way to handle this ?
Thanks
Ajay

Can you mention which technology using.There is no any sign of JDev-ADF in your post, looking as a candidate for Database Forum.
However, I assume that child record is not referencing to parent record that's y constraint violation is coming.
Insert your Parent record then commit child record.

Similar Messages

  • Catching unique constraint voilation at the VO level

    I have a Result table which is used as Result table/ for updation/ for insertion of new row.
    The underlying db table on which the Eo and consequently VO are based has a unique constraint which I want to catch and throw a suitable exception when the user is trying to update or insert using the result table which in my case is an advanced table. I am unable to figure out at what place I need to put the check. Though I am trying to handle the said condition before calling the getTransaction().commit(), I guess the DB is throwing the error even earlier which I presume is at the point of insertion into the Db which I guess happens at the EO setAttribute Level. So is it right to put the check at the setters in the EO???
    Kindly provide feedback as how to overcome this problem

    GFMIS.PK_ELTRADERID
    ON (lct.trader = exl.trader)Your ON clause should be work on the same column of your PK, that should be enough to avoid the unique constraint violation.
    Nicolas.

  • Constraint voilation-AD error

    Can anybody tell me what this error mean?
    Unable to set user info: 'SetInfo(): 0X8007202F: , 000020B5: AtrErr: DSID-03152392, #2:
         0: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 200f4 (homeMDB)
         1: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 200ab (homeMTA)
    , A constraint violation occurred.
    Thanks.

    Can anybody tell me what this error mean?
    Unable to set user info: 'SetInfo(): 0X8007202F: ,
    000020B5: AtrErr: DSID-03152392, #2:
    0: 000020B5: DSID-03152392, problem 1005
    5 (CONSTRAINT_ATT_TYPE), data 0, Att 200f4 (homeMDB)
    1: 000020B5: DSID-03152392, problem 1005
    5 (CONSTRAINT_ATT_TYPE), data 0, Att 200ab (homeMTA)
    , A constraint violation occurred.
    Thanks.Your homeMDB and homeMTA values are being evaluated and validated in AD and are not correct - check with your Exchange Admins (especially if you have a clustered Exchange environments - your AD login server, the location that the MTA is running on and the server your MDB is stored on may all be different from each other

  • OWB Update/Insert throwing unique constraint ..

    Hello Al,
    I am currently facing issue when it is supposed to update/Insert the records in OWB10gR2.
    Also there are no duplicates in the source data while doing this.
    Any help is appreceated.
    Thanks,
    Suresh
    Edited by: user8745316 on Jul 27, 2010 12:58 AM

    Hi Nawneet,
    Thanks for the reply.
    My issue is something like this , there were duplicates from the source and we deleted them but still it gives this error @ Unique constraint voilated errror.
    I also can understand that as we have same matching records by key columns from source and target which should ideally be doing the update and if non matching should be inserting which is not happening now.
    can you please suggest me the issue.
    Thanks for your help.
    Suresh

  • Primary Key Constraint

    dear members,
    I have a tables named orders and part. Both of them contain common column named partnum. The column partnum in the table orders contains duplicates. I tried to add a primary key constraint to that column partnum but sql*plus gave me an error unique constraint voilation.
    The reason for the error was because of duplicates in the column partnum but if i want to assign a column as a primary key and suppose it contains duplicates then how can i do that ? I cannot alter my table orders data, in this case how should i proceed further!!!

    You cannot use a single column with duplicates or null values as a primary key. It's that simple.
    If a given single column has duplicates values its not a possible candidate for a primary key. It has to be an unique value.
    I'm not fully sure here but kinda feels like your table "orders" has information about all orders (purchase, sell, whatever) related with "parts". So, this way if its possible that orders has duplicates because you have several orders on the same "part". I think "part" has a primary key on "partnum". If there's a need for a pk in "orders" maybe you have an additional column, let's call it "ordernum".

  • How to display message using default lock in ORACLE 9i?

    I am using ORACLE 9i I am inserting a same record in a same table (which is having primary key) of same user with different sql editor (or from different machines).
    with same time.
    One person is able to insert the record..
    But other one is in processing state, once the inserted person give commit,then only other person got the message "Primary key constraint voilated".
    This is bcoz of concurrency in oracle. For this purpose Oracle uses default lock.
    Is it possible to give message to other person like "One user is using this table..", after a record is inserted and before commit is get issued by the inserted user?
    how can i do this?
    Thanks a lot for your help

    [url http://forums.oracle.com/forums/thread.jspa?threadID=543335&tstart=0]duplicate thread

  • Problemm on Unique index

    Hi !
    Please help me in solving this issue , i am stuck up with an insertion querry..
    my constraint is
    create table STG_PLNT_PUR_ORD
    SOURCE_SYSTEM VARCHAR2(30) not null,
    TYPE_LOOKUP_CODE VARCHAR2(25),
    PO_NUM VARCHAR2(20) not null,
    LINE_NUM NUMBER not null,
    RELEASE_NUM NUMBER,
    SHIPMENT_NUM NUMBER not null,
    DISTRIBUTION_NUM NUMBER,
    AUTHORIZATION_STATUS VARCHAR2(25),
    SUPPLIER_CODE VARCHAR2(30),
    SUPPLIER_SITE_ID VARCHAR2(15),
    PART_NO VARCHAR2(40),
    UNIT_MEAS_LOOKUP_CODE VARCHAR2(25),
    QTY_ORDERED NUMBER,
    DUE_DATE DATE,
    QUANTITY_RECEIVED NUMBER,
    QUANTITY_ACCEPTED NUMBER,
    QUANTITY_REJECTED NUMBER,
    QTY_UI NUMBER,
    QUANTITY_CANCELLED NUMBER,
    QUANTITY_DELIVERED NUMBER,
    QTY_DUE NUMBER,
    QUANTITY_BILLED NUMBER,
    UNIT_PRICE NUMBER,
    CURRENCY VARCHAR2(15),
    MIN_ORDER_QUANTITY NUMBER,
    PO_AMT NUMBER,
    CREATE_DATE DATE,
    CREATED_BY VARCHAR2(30),
    UPDATE_DATE DATE,
    UPDATED_BY VARCHAR2(30),
    LAST_UPDATE_DATE DATE,
    FULL_NAME VARCHAR2(240),
    PLANNER_CODE VARCHAR2(10)
    tablespace DEV_LM4M_TAB
    pctfree 10
    pctused 40
    initrans 1
    maxtrans 255
    storage
    initial 4M
    next 4M
    minextents 1
    maxextents unlimited
    pctincrease 0
    -- Create/Recreate indexes
    create unique index IDX1_STG_PLNT_PUR_ORD on STG_PLNT_PUR_ORD (SOURCE_SYSTEM,PO_NUM,LINE_NUM,RELEASE_NUM,SHIPMENT_NUM,DISTRIBUTION_NUM)
    tablespace DEV_LM4M_TAB
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    initial 4M
    next 4M
    minextents 1
    maxextents unlimited
    pctincrease 0
    This is select querry from whr i am inserting values to stg_plnt_pur_ord table
    select count(*),
    PO_NUM,
    SHIPMENT_NUMBER,
    LINE_NUMBER,
    RELEASE_NUM,
    DISTRIBUTION_NUM
    from (SELECT /*+ USE HASH */
    PH.type_lookup_code "TYPE_LOOKUP_CODE",
    nvl(PH.segment1,0) "PO_NUM",
    nvl(PLL.shipment_num,0) "SHIPMENT_NUMBER",
    nvl(PL.line_num,0) "LINE_NUMBER",
    nvl(PLL.po_release_id,0) "RELEASE_NUM",
    nvl(PD.distribution_num ,0)"DISTRIBUTION_NUM",
    PH.authorization_status "AUTHORIZATION_STATUS",
    PL.min_order_quantity "MINIMUM_QUANTITY",
    PV.segment1 "SUPPLIER_CODE",
    PVSA.vendor_site_id "SUPPLIER_SITE_ID",
    MS.segment1 "PART_NO",
    PL.unit_meas_lookup_code "UNIT_MEAS_LKUP_CODE",
    PPF.full_name "FULL_NAME",
    MS.planner_code "PLANNER_CODE",
    PLL.quantity "QUANTITY_ORDERED",
    DECODE(PLL.need_by_date, NULL, PLL.promised_date, PLL.need_by_date) "DUE_DATE",
    PLL.quantity_received "QUANTITY_RECIEVED",
    PLL.quantity_accepted "QUANTITY_ACCEPTED",
    PLL.quantity_rejected "QUANTITY_REJECTED",
    (PLL.quantity_received - PD.quantity_delivered) "QUANTITY_UI",
    PLL.quantity_cancelled "QUANTITY_CANCELLED",
    PD.quantity_delivered "QUANTITY_DELIVERED",
    (PLL.quantity - PLL.quantity_received - PLL.quantity_cancelled) "QUANTITY_DUE",
    PLL.quantity_billed "QUANTITY_BILLED",
    PL.unit_price "UNIT_PRICE",
    PH.currency_code "CURRENCY",
    (((PLL.quantity - PLL.quantity_cancelled) * PL.unit_price) *
    DECODE(PH.rate, NULL, 1, PH.rate)) "PO_AMT",
    PV.last_update_date "LAST_UPDATE_DATE"
    FROM po_headers_all PH,
    po_lines_all PL,
    po_vendors PV,
    mtl_system_items MS,
    po_line_locations_all PLL,
    po_distributions_all PD,
    po_vendor_sites_all PVSA,
    per_all_people_f PPF --,
    -- po_releases_all PR
    WHERE PH.type_lookup_code IN ('BLANKET', 'STANDARD') AND
    PH.po_header_id = PL.po_header_id AND
    PV.vendor_id = PH.vendor_id AND
    PVSA.vendor_site_id = PH.vendor_site_id AND
    PL.item_id = MS.inventory_item_id AND
    PPF.person_id(+) = PH.agent_id AND
    PPF.object_version_number =
    (SELECT MAX(object_version_number)
    FROM per_all_people_f PPF2
    WHERE PPF.person_id = PPF2.person_id
    GROUP BY person_id) AND PH.po_header_id = PLL.po_header_id AND
    PL.po_line_id = PLL.po_line_id
    --AND PR.po_release_id(+)=PLL.po_release_id
    AND PH.po_header_id = PD.po_header_id AND
    PL.po_line_id = PD.po_line_id AND
    PLL.line_location_id = PD.line_location_id AND
    NVL(PLL.closed_code, 'x') NOT LIKE 'FINALLY%' AND
    NVL(PL.closed_code, 'x') NOT LIKE 'FINALLY%' AND
    NVL(PH.closed_code, 'x') NOT LIKE 'FINALLY%' AND
    NVL(PH.cancel_flag, 'x') != 'Y' AND
    PH.ship_to_location_id IN (1, 134) AND MS.organization_id = 1)
    group by PO_NUM,
    SHIPMENT_NUMBER,
    LINE_NUMBER,
    RELEASE_NUM,
    DISTRIBUTION_NUM
    having count(*) > 1;
    After the execution of this qurry i am getting 0 rows returnd
    but while inserting into table it is giving me unquie constraint voilated i doesnt wht is thr prblm
    Please help me.........

    unique index IDX1_STG_PLNT_PUR_ORD on STG_PLNT_PUR_ORD   (SOURCE_SYSTEM,PO_NUM,LINE_NUM,RELEASE_NUM,SHIPMENT_NUM,DISTRIBUTION_NUM) it tells you that your are trying to insert a rows for the 4 columns above
    which is already exists in STG_PLNT_PUR_ORD.
    INSERT INTO stg_plnt_pur_ord
    (source_system,                    <---
      type_lookup_code,
      po_num,                           <---
      line_num,                         <---
      release_num,                      <---
      shipment_num,                     <---
      distribution_num,                 <---
      authorization_status,
      supplier_code,
      supplier_site_id,
      part_no,
      unit_meas_lookup_code,
      qty_ordered,
      due_date,
      quantity_received,
      quantity_accepted,
      quantity_rejected,
      qty_ui,
      quantity_cancelled,
      quantity_delivered,
      qty_due,
      quantity_billed,
      unit_price,
      currency,
      min_order_quantity,
      po_amt,
      create_date,
      created_by,
      update_date,
      updated_by,
      last_update_date,
      full_name,
      planner_code)
    VALUES
    (l_source,                         <---
      l_type_lookup_code(i),
      l_po_num(i),                      <---
      l_line_num(i),                    <---
      l_release_num(i),                 <---
      l_shipment_num(i),                <---
      l_distribution_num(i),            <---
      l_authorization_status(i),
      l_supplier_code(i),
      l_supplier_site_id(i),
      l_part_no(i),
      l_unit_meas_lookup_code(i),
      l_qty_ordered(i),
      l_due_date(i),
      l_quantity_received(i),
      l_quantity_accepted(i),
      l_quantity_rejected(i),
      l_qty_ui(i),
      l_quantity_cancelled(i),
      l_quantity_delivered(i),
      l_qty_due(i),
      l_quantity_billed(i),
      l_unit_price(i),
      l_currency(i),
      l_min_order_quantity(i),
      l_po_amt(i),
      SYSDATE,
      USER,
      SYSDATE,
      USER,
      l_last_update_date(i),
      l_full_name(i),
      l_planner_code(i));why not try to capture the rows that violate the constraints. something like
       Begin
         Insert Into STG_PLNT_PUR_ORD
         Values
       Exception
         When Others Then
           dbms_output.put_line('l_source: '||l_source);
           dbms_output.put_line('l_line_num: '||to_char(l_line_num(i)));
           dbms_output.put_line('l_release_num: '||to_char(l_release_num(i)));
           dbms_output.put_line('l_shipment_num: '||to_char(l_shipment_num(i)));
           dbms_output.put_line('l_distribution_num: '||to_char(l_distribution_num(i)));
       End;or create another table to log the row in error
       Begin
         Insert Into STG_PLNT_PUR_ORD
         Values
       Exception
         When Others Then
           insert into log_error
           values
           (l_source,
            l_line_num(i),
            l_release_num(i),
            l_shipment_num(i),
            l_distribution_num(i));
       End;

  • Updating of records in target

    I have a certain req which i am facing issue to acieve:
    Source View has few access related records which get updated on regular basis as user is approved access.
    Target table is kind of master table to maintain master data for each usr with access details.
    The interface to transfer data about user access from source view to target runs every 30 min
    Consider a scenario:
    At 11, say USER1 requests for access to APP1 and is approved. this details will show up in source view.
    Now interface will fetch this info and transfer to target master table.
    Interface runs every 30 min, suppose USER1 request another access level for APP1 at 11:15, during this 30 min. Thus the view will now have 2 records, for USER1 one access level at 11 & other at 11:15.
    The target table has primary key made up of USERID & ApplicationName as there should be only one record which should contain access detail for user-application combination.
    In such a situation, if i run the interface transfering those 2 records from source view, it prompts me error saying primary key constraint voilated as it tries to insert 2 records for same user-app combbination.
    How can i avoid this? is there any other way to maintain master details so that there is only one record for user- app combination

    You should start by checking the Distinct checkbox on the Flow tab.
    Or if you are also passing the dates to the target table which will make both the records as Distinct, then you should use LAST_VALUE analytical function in Oracle to get only the last record
    Edited by: actdi on Mar 5, 2012 8:17 AM

  • Scan to network folder will not work for Yosemite

    Scan to network folder, which is supposed to allow the unit to scan and save to a shared directory on a remote computer, does not work in Yosemite,  though it will work on Macs sporting earlier OS on same network. 
    HP personnel have indicated that HP does not support Apple Mavericks. One can only assume then that it will not work on Yosemite either
    Yet these units are still being sold to be used with Apple OSX.
    Please resolve HP's position.  If these units will not function properly under Mavericks and Yosemite, please explicitly say so.  The scan to network feature should not have anything to do with any OS issue, and it is much more likely that the issue is faulty HP firmware.
    If these units are supposed to fully function under Mavericks and Yosemite,  please provide substantive resolution of the many many problems users have experienced.
    The Scan to Network feature is what makes using these units viable as scanners. The fact that this works poorly at best, and not at all on any recent Apple OS, is simple acceptable

    IT IS OFFICIAL
    HP Case Manager has indicated that HP is abandoning Scan to Network Folder starting with Yosemite as OS security constraints present issues with using its current transport.
    Of course this took an hour of double talk and fiddling about before the admission was forthcoming...
    Shall we count the days until that information actually shows up in the forums?

  • Web Services Client is not working fine on JBOSS 4.0.4.GA

    Dear Team,
    we had JBOSS AS 4.0.3 and web services was build on EJB which was working fine. we new have to migrate it to JBOSS 4.0.4.GA Application Server....
    we have generated wsdl, webservices.xml and jaxrpc-mapping.xml file from wstools.exe of JBOSS AS 4.0.4.GA and we are able to see the web services wsdl on web browser.... but when we execute the same client which was earlier running for JBOSS 4.0.3 it throws error saying
    javax.xml.rpc.ServiceException :modeler error : uniqueness constraint voilation, duplicate member found "type" to javastructureType "userDetails"
    rgrds,
    ~J

    Please provide the following information:
    - Help > About BEA Workshop studio - build #
    - Window > Preferences > Java - Installed JREs - what is your default JRE selection?
    - Run > Run... _ J2EE Server > JBoss 4.0 - Have you customized any of the default values. Ex: Arguments, Classpath ...
    - What kind of application are you trying to debug Struts/JSF?
    - Can you try to reproduce the problem with the bundled samples workshop-struts-tour/bookstore (run the app and modify one of the configuration file).
    - Do you see the same behavior with Sun JDK?
    - Finally, copy-paste the first line from the "Console View"
    Message was edited by:
    ram.v

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • Clear Cache of item in validation

    Hi,
    I am working on Form with Report. i want to clear cache of the item in validation code.
    i am sending you my code:-
    DECLARE
    CNT NUMBER;
    BEGIN
    SELECT 1 INTO CNT FROM CURRENCY_MAS WHERE CODE =:P111_CODE;
    APEX_UTIL.CLEAR_ITEM_CACHE('P111_CODE');    // This Statement is not working
    RETURN FALSE;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN TRUE;
    END;

    Hi Jari,
    Thanks to Reply me.
    I am getting problem. I am using form with report. I am doing this Because i want to keep
    the control to the "Create" New entry form until validation not satisfied.This problem has been resolved by the code.
    But as i do the any entry in ":p1_code" Primary Key item It giving the error Unique constraint voilated even if value not exist into the table.
    ORA-00001: unique constraint (TADEV.CURR_UK) violated
    Unable to process row of table CURRENCY_MAS.

  • Problem with "Package Spec" please help.

    Hello once again.
    I'm developing a master-detail form, so I'm using a "Package Spec" variable to hold the primary key value from the master form. The primary key value for the master is generated by a sequence.
    Here's the package spec:
    PACKAGE primary_keygen IS
    pkey varchar2(15); 
    END;Now the master table has the following "Before Insert" Trigger .
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    DECLARE
    primary_key_value varchar2(15);
    BEGIN
    select lpad(to_char(ref_gen.nextval), 4,'0')
    into primary_key_value from dual;
    primary_keygen.pkey:='ABC/'||primary_key_value;
    :new.Ref_Number:=primary_keygen.pkey;
    END;For the detail block. I have the following "Before Insert Trigger" to generate the primary key values.
    CREATE OR REPLACE TRIGGER DET1_NUM_GEN
    BEFORE INSERT
    ON DETAIL1
    FOR EACH ROW
    BEGIN
    if :new.M_ref_number is NULL THEN
    :new.M_ref_number:=primary_keygen.pkey;
    ENd if;
    END;Works quite fine if I have only one detail block. But if I have multiple detail blocks. Depending on the user's selection. i.e. After entering data into the master block, the user selects a detail block ('Letter type'- using stacked canvases for this purpose and radio buttons for selecting the view) and then Inserts data into it. here's what I do in the Detail block2.
    CREATE OR REPLACE TRIGGER OREF_NUM_GEN
    BEFORE INSERT
    ON DETAIL2
    FOR EACH ROW
    BEGIN
    if :new.O_ref_number is NULL THEN
    :new.O_ref_number:=pkey_gen.master_key;
    ENd if;
    END;Now the problem is that When I enter one record into detail1, works fine, but for the second time, when I try to insert another record. the master table gets a new reference number (primary key value) while the detail block gets the previous value that was used in the first record!, so that means 'pkey_gen.master_key' is holding the old value, while in my opinion it should hold the new value, I dont know whats wrong here. If I try to insert two consecutive records into the same detail table, I get an error saying "Unique Constraint voilated", becuase the variable is holding the old values.
    And lastly after it inserts the record into the database, I get a dialog box saying, "successfuly inserted 2 records into the database" and when I click ok, the Form closes by itself, any ideas on how to stop this?
    I'm really stuck here. Please help me out on this.
    Thanks.
    Note: I'm using Form6i with Database 10g.
    Message was edited by:
    fahimkhan82

    Hi,
    Maybe the best way to start is to try building a new form from scratch. For simplicity I will assume that you have one master and one detail table. Master table has a primary key and the detail table has a foreign key to the master. Based on this, with the forms you can create a database block based on your master table. Use the wizard. Again using the wizard, create a second block based on the detail table. You'll see a screen to prompt to create a relationship. Create one by selecting the master table and the right foreign key relation. Now take a close look to all triggers automatically created by the form. Also check the "Relations" object found in you master block object tree. Note that the foreight key column in the detail table has the "Copy Value From Item" property set to monitor the master block's primary key.
    This is the basic. You don't need the database triggers, except (in case you want to insert through, say, SLQPlus) the one for the master table, which will look like this:
    CREATE OR REPLACE TRIGGER MASTER_NUM_GEN
    BEFORE INSERT
    ON MASTER
    FOR EACH ROW
    BEGIN
    IF :new.ref_number IS NULL THEN
    select 'ABC/'||pad(to_char(ref_gen.nextval), 4,'0')
    into :new.ref_number
    from dual;
    END IF;
    END;
    Now you have to take care about the inserts in your form. Create PRE-INSERT trigger on the master block.
    IF :master.ref_number IS NULL THEN
    SELECT 'ABC/'||pad(to_char(ref_gen.NEXTVAL), 4,'0')
    INTO :master.ref_number
    FROM dual;
    END IF;
    Run the form and explore different situations to see how the form is keeping the data integrity.
    Compile with Shift+K (incremental). Sometimes forms blow just because not all of the trigers were compiled properly.
    Hope this helps...

  • Java.lang.LinkageError in weblogic 10.3

    i had deployed the jasperserver.war in weblogic 10.3 server...
    i am getting the following exception...
    Context Initialization failed
    org.springframework.beans.factory.BeanDefinationStroreException:unexpected exception parsing xml document from ServletCotext resource[WEB-INF/applicationContext.xml]nested exception is java.lang.LinkageError:loader constraint voilation when resolving the method javax.xml.parser.DocumentBuilder.setEntityResolver(Lorg/xml/sax/EntityResolver:)V"the class loader intance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class,og/springframework/factory/xm/DefaultDocumentLoader and the classloader<instance of <bootloader>) for resolved classes javax/xml/parsers/DocumentBuiler have different class objects for the type org/xml/sax/EntityResolver used in the signature
    please help me out ...
    thanks in advance
    venkat seerla

    I think there is conflict with a class in the system classloader an one into jasperserver.war. Maybe It is due to a diferent implementation of Spring framework of WebLogic and jasper reports. Check if jasper spring version matches weblogic spring version.
    To understand classloading visit http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/classloading.htm

  • How to import a single table?

    Simple question: I have done an export some weeks ago of a table.
    exp user/pass@database file=c:\table001.dmp log=table001.log tables=TABLE001 rows=yes indexes=no
    Now I want to recover only this table, what is the command to do it?
    imp user/pass@database file=c:\table001.dmp??
    Will the data contained in table001 be deleted and then oracle will insert the data of my dmp file?
    Will it just add it to the content with possible PK violations?
    If the table has been droped do I have to recreate it again before doing the import?

    Will the data contained in table001 be deleted and
    then oracle will insert the data of my dmp file?No, import will not drop table nor delete records. It will fail if table exists, unless import with IGNORE=Y.
    Will it just add it to the content with possible PK
    violations?Yes, if there's PK constraint voilation you will find error in logfile. import will disregards the record.
    If the table has been droped do I have to recreate it
    again before doing the import?No, you don't have to recreate it.

Maybe you are looking for

  • Instrument I/O Assistant installation incomplete...Student Edition 7.1

    I'm using LabVIEW 7.1 Student Edition, and I can't seem to get the Instrument I/O Assistant to work. The student edition doesn't come with the Drivers CD, so I got the I/O Asst from ni.com. After reading some other posts I uninstalled the I/O Asst fr

  • Any Ideas For Flash Player Install problems?

    I cannot get adobe Flash player to install on My MBP running Snow Leopard. It Starts to install but hesitates at from 80% to 95% then finishes but does not work. Help!!

  • Geting and setting date and time in oracle using jdbc

    can u send me a sample snippet which shows me how to set date and time to a column in oracle database where the column datatype is date. and also send me the sample code to get the date and time from the above said column thanks in advance

  • Problem in querying synonym using cachedRowSet & cachedDataProvider

    Hi.... I have some trouble using cachedRowSet and cachedDataProvider combination. The problem was occured when I refreshed chachedDataProvider, my table component in pages show "No items found.", whereas... i'm sure there is nothing wrong with my que

  • USE ROWID AS PRIMARY KEY OF ENTITY ON EJB3

    When we launch the Create Entities from Tables wizard, and create JPA (Java Persistence API) entities from existing database tables, if the table has no primary key and unique key field, you will get a warning. When you run, you will get the followin