Objects are updated/created in the database in wrong order

Hello,
I have three objects tied with certain relations: Ticket, Type and
Solution.
Relation between Ticket and Solution is unidirectional one-to-one - ticket
may contain one solution. Relation between Type and Solution is one-to-many
bi-directional.
During transaction I do the following:
1) instantiate new Solution and add it to the Type;
2) set this Solution to the Ticket.
On commit Kodo tries to update ticket before creating solution in the
database. What am I doing wrong?
Thank you in advance.
Best regards,
Alexey Maslov

Alex,
Thank you. It worked :)
"Alex Roytman" <[email protected]> wrote in message
news:[email protected]...
The best way to handle update/insert order is not to rely on it. Not only
foreign key sensitive to order but unique constraints too. So if your
database supports it (and most decent databases do) use defferred
constraints - the ones which get applied on commit not on
insert/update/delete and you will be fine
"Alexey Maslov" <[email protected]> wrote in message
news:[email protected]...
Patric,
Thank you for response.
It's not about Type->Solution relation. We've got constraint from
Ticket
to Solution. But we need to load Ticket to get it's Type.
It's a problem to instantiate the Solution before loading Type. Thething
is that Type object is used to construct Solution automatically adding
it
to
internal collection.
This is done to overcome JDO deficiency in relation maintenance. I'vefound
this pattern in Robin Roos' book.
create...() method usage makes sure that dependent object is added tothe
parent after each creation. Adding objects manually after creation wouldbe
error-prone and code-cluttering.
Where's that "transparency" so much told about on JDOCentral?
P.S. I wonder how this pattern works in other places?
"Patrick Linskey" <[email protected]> wrote in message
news:[email protected]...
Alexey,
In Kodo JDO 2.3 and 2.4, object changes are flushed to the database in
the order that the objects are first enlisted in the transaction. So,
if
you instantiate the Solution object before loading Type, everything
should work the way you want it to.
We have more sophisticated foreign key constraint satisfaction code in
internal codebases -- expect to see this hit production in the nextfew
months.
-Patrick
Alexey Maslov wrote:
Hello,
I have three objects tied with certain relations: Ticket, Type and
Solution.
Relation between Ticket and Solution is unidirectional
one-to-one -
ticket
may contain one solution. Relation between Type and Solution is
one-to-many
bi-directional.
During transaction I do the following:
1) instantiate new Solution and add it to the Type;
2) set this Solution to the Ticket.
On commit Kodo tries to update ticket before creating solution inthe
database. What am I doing wrong?
Thank you in advance.
Best regards,
Alexey Maslov
Patrick Linskey [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • TopLink cached object changed are not commited to the database

    Hello,
    I'm using TopLink 10 and I have a writing issue with a use case:
    1. I read an obect using TopLink that is in the IdentityMap
    2. Using JSF this object is edited throught a web form.
    3. I give the modified object to the data layer and try to modify inside a unit of work:
    UnitOfWork uow = session.acquireUnitOfWork();
    //laspEtapeDef comes from JSF and has been modfied previously
    LaspEtapeDef laspEtapeDefClone = uow.readObject( laspEtapeDef );
    //I update the clone field
    laspEtapeDefClone.setDescription(laspEtapeDef.getDescription());
    uow.commit();4. I use again the same object to display it once modified.
    The object is modified in the cache but the modified fields are never commited to the database. This code works only if I disable the cache.
    So, I've modified my JSF form to send the fields instead of modifying directly the object.
    My question: Is there a way to commit changes mades in an cached object?
    I've found the following section in the documentation, that explain the problem but doesn't gives the solution:
    http://docs.oracle.com/cd/E14571_01/web.1111/b32441/uowadv.htm#CACGDJJH
    Any idea?

    How are you reading in the object initially? The problem is likely that you are modifying an object from the session cache. When you then read in the object from the uow, it uses the object in the session cache as the back up. So there will not appear to be any changes to persist to the database.
    You will need to make a copy of the object for modification, or use the copy from the unitofwork to make the changes instead of working directly on the object in the session. Disabling the cache means there is no copy in the session cache to use as a back up, so the uow read has to build an object from the database.
    Best Regards,
    Chris

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

  • Updating data in the database table

    Can any help me in the code for updating data in the database table.
    Regards,
    Rahul

    Hi Rahul,
    A slightly longer procedure that i'm adding here...
    1.) Create the component (i'm sure you have this covered)
    2.) Next on the button click that updates the database - add an action.
    3.) double click the action so that you are taken to the methods section of the view.
    4.) next you need to add the code that is required the update the database - this will be in the form of the above two posts.
    5.) compile and test the application
    Let me know in case you need further information on how to do this with a function module or something.
    Thanks.

  • Duplicate Resource Objects  are displayed while provisioning the resource

    Duplicate Resource Objects are displayed while provisioning the resource to organization after creating a new workflow through export and import process.
    A workfolw already exists in the environment and I am trying to replicate the work flow with a different name . So i import all the components related to provisioning workflow rename the names of the components and make the necessary changes and import it back. after this I am getting Duplicate Resource Objects being displayed while provisioning the resource to organization .plz help.its urgent

    I have tried this process thrice not able to solve this problem ......unchecking allow multiple ..i don t think matters as this is provisioning to org ...n what i am telling is the list from which u select the resources to be provisioned --that list shows duplicate resource object names at a time..Each time I import an xml the number of same resource object names being displayed in the list increases ...So If I have imported three workflows then (say Resorce Object AD) appears thrice in the list. I have not given the resource objects same name in all the workflows for this to happen
    Sahana

  • EMERGENCY: List of files in Recovery Area not managed by the database

    Hi,
    this is an emergency request....
    I have this data guard set up. And i accidently dropped online redo logs, standby logs and the archive log except the current online redolog.
    i actually ran to cleanup the whole directory which included the controlfile and the datafiles (was on the wrong location on ASM)
    but the controlfile and the datafiles did not get deleted. i can still see them on the ASM.
    and now when i am trying to restore the archive logs, but i keep getting error as shown below...
    WARNING: A file of type ARCHIVED LOG may exist in
    db_recovery_file_dest that is not known to the database.
    Use the RMAN command CATALOG RECOVERY AREA to re-catalog
    any such files. This is most likely the result of a crash
    during file creation.
    so when i did the below i was getting error as:
    RMAN> CATALOG RECOVERY AREA;
    using target database control file instead of recovery catalog
    searching for all files in the recovery area
    no files found to be unknown to the database
    List of files in Recovery Area not managed by the database
    ==========================================================
    File Name: +DATA/afcpdg/controlfile/controlfile01.ctl
    RMAN-07526: Reason: File is not an Oracle Managed File
    File Name: +DATA/afcpdg/onlinelog/group_1.304.718194815
    RMAN-07527: Reason: File was not created using DB_RECOVERY_FILE_DEST initialization parameter
    number of files not managed by recovery area is 82, totaling 168.10GB
    But i do see those data files that RMAN is complaining as shown above in the ASM.
    I HOPE I DID NOT MESS UP THE CONTROLFILE and the DATFILES
    CAN SOMEONE HELP ME FIX THIS MISTAKE THAT I DID.
    Right now the data guard is running fine, the logs are getting shipped from primary and the getting applied at the DG.
    And i am able to see all the redo logs got deleted.
    But not sure how the deleted redo logs got created in the ASM (i did not create them manually)
    Thanks.
    Philip.
    Edited by: user8898644 on May 5, 2010 8:52 AM
    Edited by: user8898644 on May 5, 2010 9:16 AM
    Edited by: user8898644 on May 5, 2010 11:43 AM

    Yes this happened on the standby database.
    I had to restore the archive logs because i deleted all the archive logs which got shipped from the primary.
    I did re-create the standby logs. But when i checked back the redo logs that i deleted came back again.
    I have no idea how they can back again. is it a feature of ASM where a mirrored copy of the files are stored on ASM and they re-create them when accidently dropped.
    Can you help me understand how the redologs got created again automatically.
    Right now the data guard is running fine but i do see the error
    WARNING: A file of type ARCHIVED LOG may exist in
    db_recovery_file_dest that is not known to the database.
    Use the RMAN command CATALOG RECOVERY AREA to re-catalog
    any such files. This is most likely the result of a crash
    during file creation.
    and when i do the following
    RMAN> catalog recovery area;
    i do see errors as below...
    List of files in Recovery Area not managed by the database
    ==========================================================
    File Name: +DATA/afcpdg/controlfile/controlfile01.ctl
    RMAN-07526: Reason: File is not an Oracle Managed File
    File Name: +DATA/afcpdg/onlinelog/group_1.304.718194815
    RMAN-07527: Reason: File was not created using DB_RECOVERY_FILE_DEST initialization parameter
    File Name: +DATA/afcpdg/onlinelog/group_2.372.718194833
    RMAN-07527: Reason: File was not created using DB_RECOVERY_FILE_DEST initialization parameter
    File Name: +DATA/afcpdg/datafile/system.596.715610261
    RMAN-07527: Reason: File was not created using DB_RECOVERY_FILE_DEST initialization parameter
    File Name: +DATA/afcpdg/datafile/undotbs1.571.715603525
    number of files not managed by recovery area is 82, totaling 168.10GB
    we do have the db_create_file_dest and db_recovery_file_dest pointing to the same location as +DATA
    How do i fix the above error?
    Thanks in advance.

  • Why objects are  dynamically created in java

    Why objects are dynamically created in java even if dynamically created object requires more space & more memory references as compared to static object?

    I don't even know where to start...
    KAMAL.MUKI wrote:
    Why objects are dynamically created in javaWhat is the alternative?
    even if dynamically created object requires more space & more memory referencesCan you prove that?
    as compared to static object?Can you define "static object"?
    I vote "troll".

  • How to list all the datatypes are being used in the database?

    Is there any way you can list all the oracle datatypes are being used in the database?
    Thanks,
    Chau

    Use USER_TAB_COLUMNS or DBA_TAB_COLUMNS to determing various data type but USER_TAB_COLUMNS will show you what type being used by a schema user

  • After upgrading to 3.6.8 none of the plugins load even though there are updates available. The updates will not install and even though the error states to look at the console error log there are no errors listed in the log.

    After upgrading to 3.6.8 none of the extensions load even though there are updates available. The updates will not install and even though the error states to look at the console error log there are no errors listed in the log. All extensions are listed in Addons>Extensions.
    == This happened ==
    Every time Firefox opened
    == Upgrading to newer Firefox version (3.6.8)

    I have been having the same issue for the last two weeks. No real indication as to why it ever began other than I had turned off my router and Airport Extreme Base Station off for a weekend while I was away from my place.
    iPad, iPhone, iPod Touch, all have no issues at all with my Airport Extreme Base Station. Can stay connected throughout my living room, bathroom, bedroom, no issues whatsoever.
    My 5 month old MacBook Pro 2.66 GHz Core i7 Airport is sometimes perfect, able to connect, DHCP, and browse without issue. Then, for no reason, I won't be able to join my wireless network, or when I can join, I can't pick up an IP address. And then it will connect, pick up and IP, and then it won't browse. No real rhyme or reason to when this will happen, or when it works.
    I thought that it was an issue with my MacBook Pro, but then my sister visited with her brand new MacBook Pro 2.26 Intel Core 2 Duo, and while a month ago she was able to connect, DHCP, and browse without issue, this weekend she had all of the same issues I was having.
    My XBOX 360 and MacBook Pro have absolutely no issues with the wired connection. Only my WAN seems to have this issue.
    Did you ever find anything more to this?

  • Noticed my hard drive getting filled, didn't save 500 Gb of data on it. I made the observation that hidden files are been created on the Hd. I assumed they were unnecessary and deleted most of them. To my dismay am getting a kernel panic msg. what to do?

    I noticed my hard drive getting filled, didn't save 500 Gb of data on it. I made the observation that hidden files are been created on the Hd. I assumed they were unnecessary and deleted most of them. To my dismay am getting a kernel panic message. How do i go about getting this fixed?

    Depending on what directory or directories you were erasing from you've certainly erased important system files and perhaps important applications files as well. If you have been using TimeMachine to back your computer up you should reboot into recovery mode (restart and hold Command + R until you see the Apple icon) and perform a restore.
    If you haven't, boot into recovery mode anyway and choose the install OS option. Keep your fingers crossed that the OS is the only thing you deleted and that this works. You may also find it necessary to reinstall some of your software.

  • How to find when index was created in the database.

    Hi,
    Please help me, how to find when index was created in the database. It should give with date and time.
    Thanks... Bakser

    Please help me, how to find when index was created in the database. It should give with date and time.DBA_/ALL/User_objects Created
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    OBJECT_NAME                                        VARCHAR2(128)
    SUBOBJECT_NAME                                     VARCHAR2(30)
    OBJECT_ID                                          NUMBER
    DATA_OBJECT_ID                                     NUMBER
    OBJECT_TYPE                                        VARCHAR2(19)
    CREATED                                           DATE
    LAST_DDL_TIME                                      DATE
    TIMESTAMP                                          VARCHAR2(19)
    STATUS                                             VARCHAR2(7)
    TEMPORARY                                          VARCHAR2(1)
    GENERATED                                          VARCHAR2(1)
    SECONDARY                                          VARCHAR2(1)
    select OBJECT_NAME,TIMESTAMP,CREATED  from ALL_OBJECTS where OWNER='OWNERNAME' AND OBJECT_NAME='OBJECT_NAME' AND OBJECT_TYPE='INDEX';Edited by: Anantha on Apr 21, 2009 3:18 PM
    Edited by: Anantha on Apr 21, 2009 3:19 PM

  • Trigger changes are not committing to the database

    I have 9iAS and 9i DB both on my laptop.
    I am having a problem in which a trigger run off a WHEN_BUTTON_PRESSED function is not committing the changes to the database. In the trigger I have:
    1 record insert into table A.
    1 record update to table B.
    1 record insert into table C.
    1 delete from table D.
    None of the data is related.
    I have tried various combinations of the below to get the changes to commit:
    POST;
    COMMIT_FORM;
    Exit_Form(NO_COMMIT, NO_ROLLBACK);
    MESSAGE('Got past COMMIT');
    COMMIT;
    CLEAR_FORM(NO_COMMIT);
    ENTER_QUERY;     
    I am getting varying amounts of "FRM: 40508 Oracle Error: Unable to INSERT record" statements. Even so, many times the form would act as if the changes had been properly applied. But when I did a separate DB verification, I would see that the changes are not being committed. Also, most of the time the changes would also be reflected in the calling form queries, but when I exit, all changes are rolled back no matter how many commit stmts are in the trigger.
    I have finally gotten the form to do what I want to do (the 4 steps noted above), but I had to add a FORMS_DDL('COMMIT'); stmt and I am still getting a FRM 40508, but at least the changes are appearing in the db.
    Any ideas on why so many troubles in getting the changes to commit??? I have spent a ton of hours trying "what ifs" to see what might work. Also, this trigger is the only real "code" in the forms.
    Kim

    Brett -
    You're probably right about the intention, but this is a place where people can come and share styles, ideas, and coding tricks, I don't understand why someone would say that. Additionally, I had a professor who was a complete momo that said that all the time (consequently, his lax attitude towards teaching crippled the IS program where I graduated and most likely will cause it to no longer be available). It's a personal peeve of mine, just to let you know where I was coming from.
    Secondly, the problem I'm having may have to do with what you said, however I can't be sure. To give a better description of my scenerio, I created a form that allows the user to load information about an employee by querying a SSN. Most of this information is for display only. Six fields are available to be updated and I wrote a DML UPDATE statement that I placed inside a WHEN-BUTTON-PRESSED trigger. However, these changes won't be written to the DB because Forms is attempting to write my entire datablock, instead of just following the specified DML statements. I'm at a loss as to why this would happen, but for simplicity's sake, I would listen to ideas of how to suppress this from happening so only my statements are used when updating the DB. If you can help, thank you, if not, then thank you for your time.
    Steve

  • Updating records in the database problem...

    hi, hello to all members, my problem is this, i can't update my records, my table name is UsrTable with a two fields only, which UsrName and Password. all i want to do is when the user wants to sign up and enters there username and password the database will be updated of the new record. i paste the sorce code in here to make it precise co'z i cant figure out how to update the database, sorry if the coding is too long and not good , im just a beginner in JAVA especially using JDBC.
    ****START CODE*****
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class SignIn extends JFrame
    private JPanel jInput;
    private JPanel jButton;
    private JButton Savebtn,Exitbtn;
    private JLabel userlbl,passlbl,connectionLabel;
    private JTextField Usertxt;
    private JPasswordField Passtxt;
    public static final String DRIVER = "sun.jdbc.odbc.JdbcOdbcDriver";
    public static final String url = "jdbc:odbc:UserInfo";
    public static final String DATABASE = "\\User.mdb";
    private Connection connect ;
    public String tmpUser,tmpPass,query;
    public SignIn()
    super("Create your Account..");
    setResizable(false);
    ImageIcon imgIcon = new ImageIcon("c:/JavaCourseware/Images/cdicon.jpg");
    this.setIconImage(imgIcon.getImage());
    addWindowListener(new WindowAdapter()
    { // Opens addWindowListener method
    public void windowClosing(WindowEvent e)
    { // Opens windowClosing method
    int result;
    result = JOptionPane.showConfirmDialog( null,"Are you sure you want to exit?",
    "Confirmation Required...", JOptionPane.YES_NO_OPTION );
    if(result == JOptionPane.YES_OPTION)
    System.exit(0);
    else
    return;
    } // Closes windowClosing method
    }); // Closes addWindowListener method
    try
    InitComp();
    catch(Exception e)
    public void InitComp() throws Exception
    Usertxt = new JTextField(15);
    Passtxt = new JPasswordField(15);
    connectionLabel = new JLabel();
    userlbl = new JLabel("Enter your username: ");
    passlbl = new JLabel("Enter your password: ");
    Savebtn = new JButton("Save");
    Exitbtn = new JButton("Exit");
    this.setSize(new Dimension(320,150));
    this.setLocationRelativeTo(null);
    this.getContentPane().setBackground(Color.blue);
    connectionLabel.setForeground(Color.YELLOW);
    connectionLabel.setBackground(Color.BLUE);
    connectionLabel.setFont(new Font("Arial", Font.PLAIN , 12));
    buildTxtInput();
    buildBtn();
    this.getContentPane().add(connectionLabel,BorderLayout.NORTH);
    this.getContentPane().add(jInput,BorderLayout.CENTER);
    this.getContentPane().add(jButton,BorderLayout.SOUTH);
    //make a connection
    try
    //url = "jdbc:odbc:UserInfo";
    Class.forName(DRIVER);
    connect = DriverManager.getConnection(url);
    connectionLabel.setText("You have made a successful connection to: " + DATABASE);
    catch(ClassNotFoundException cnfx)
    cnfx.printStackTrace();
    connectionLabel.setText("Connection unsuccessful" + cnfx.toString());
    catch (SQLException sqlx)
    sqlx.printStackTrace();
    connectionLabel.setText("Connection unsuccessful" + sqlx.toString());
    catch (Exception ex)
    ex.printStackTrace();
    connectionLabel.setText("Connection unsuccessful" + ex.toString());
    Savebtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    try
    Statement state = connect.createStatement();
    if (Usertxt.getText().equals("") && Passtxt.getText().equals(""))
    connectionLabel.setText("Invalid Input!");
    JOptionPane.showMessageDialog( null, "Invalid Entry", "Saving Abort...", JOptionPane.INFORMATION_MESSAGE );
    state.close();
    else
    state.executeUpdate("INSERT INTO UsrTable" +
    "VALUE UsrName = '" +
    Usertxt.getText() +"' AND Password = '" +
    Passtxt.getText() +"'");
    JOptionPane.showMessageDialog(null, "Your account is already created!","Thank you...",
    JOptionPane.INFORMATION_MESSAGE);
    state.close();
    catch (SQLException sqlex)
    sqlex.printStackTrace();
    connectionLabel.setText(sqlex.toString());
    });//end of Save Listener
    public static void main(String args[])
    SignIn Signfrm = new SignIn();
    Signfrm.show();
    private void buildTxtInput()
    jInput = new JPanel();
    jInput.setLayout( new GridLayout(2, 2, 0, 10) );
    //user.setForeground(Color.yellow);
    jInput.setBorder(BorderFactory.createTitledBorder(""));
    //pass.setForeground(Color.yellow);
    jInput.add(userlbl);
    jInput.add(Usertxt);
    jInput.add(passlbl);
    jInput.add(Passtxt);
    private void buildBtn()
    jButton = new JPanel();
    jButton.setLayout( new GridLayout(1, 1, 10, 10) );
    jButton.setBorder(BorderFactory.createRaisedBevelBorder());
    jButton.add(Savebtn);
    jButton.add(Exitbtn);
    }//end of class
    ***END PROGRAM***
    im hoping there's someone can help me with this, co'z im badly need it.thanks..again,

    hi! i followed your code, but i get a different error i dont know what is the meaning of error, first heres my code i write...thanks for the fast reply co'z i badly need it.
    Savebtn.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
                   String password = new String (Passtxt.getPassword());
    if (IDtxt.getText().equals ("")) {
                        JOptionPane.showMessageDialog (null, "Member's Id not Provided.");
                        IDtxt.requestFocus();
    else if (Usertxt.getText().equals ("")) {
                        Usertxt.requestFocus();
                        JOptionPane.showMessageDialog (null, "Username not Provided.");
                   else if (password.equals ("")) {
                        Passtxt.requestFocus();
                        JOptionPane.showMessageDialog (null, "Password not Provided.");
                   else {
                        try {     //INSERT Query to Add Book Record in Table.
                             String q = "UPDATE UsrTable "+"SET UsrName = '"+Usertxt.getText() + "' " +
    "AND Password = '" + password + "'"+"WHERE ID = '" + ID + "'";
                             int result = st.executeUpdate(q);                              if (result == 1) {               .
                                  JOptionPane.showMessageDialog (null, "New User has been Created.");
                                  Usertxt.setText ("");
                                  Passtxt.setText ("");
                                  Usertxt.requestFocus ();
                             else {                                                        JOptionPane.showMessageDialog   (null, "Problem while Creating the User.");
                                  Usertxt.setText ("");
                                  Passtxt.setText ("");
                                  Usertxt.requestFocus ();
                        catch (SQLException sqlex) { }
    and heres the error...
    java.lang.NullPointerException
    at CreateAcc$3.actionPerformed(CreateAcc.java:179)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5100)
    at java.awt.Component.processEvent(Component.java:4897)
    at java.awt.Container.processEvent(Container.java:1569)
    at java.awt.Component.dispatchEventImpl(Component.java:3615)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
    at java.awt.Container.dispatchEventImpl(Container.java:1613)
    at java.awt.Window.dispatchEventImpl(Window.java:1606)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Update Column on The Database After Printing a Report Using BI Publisher

    I need to update a flag on the database to say that a report has been printed. As the report is generated from the branch, I can't work out when and where to run my update process.
    Any help would be appreciated.

    2 things..
    1) Please update your forum handle to a more FRIENDLY name.. We are a friendly group here and do NOT bite (much..)
    2) Please try searching the forum for past articles before posting a new thread. There have a been a posting sin regards to your issue in the past 3 months..: http://forums.oracle.com/forums/search.jspa?objID=f137&q=rich+text+bi+publisher
    Seems to be an issue of the RTF file containing reserved characters used in the XML file used to submit to Bi Publisher from APEX..
    Thank you,
    Tony Miller
    Webster, TX
    Never Surrender Dreams!
    JMS
    If this question is answered, please mark the thread as closed and assign points where earned..

  • How to update data in the database through ALV grid

    Hi All,
    I diplayed an ALV grid with five fields in a classical report. I have already set the fieldcat for one field as wa_fcat_edit = 'X'. I am able to edit(modify) the data in that field. But I want to update the data into the database which is modified by me in that field. Can I update the data using BDC or any other procedure?
    This is an urgent require ment for me. Please help me ASAP.
    Thanks & Regards,
    Ramesh.

    Hi
    Please go through the link.
    Link: [http://www.****************/Tutorials/ALV/Edit/demo.htm]
    regards
    ravisankar

Maybe you are looking for

  • Ipad mini facetime not connecting

    I cannot get my facetime to work on the ipad mini. I get as far as validating the email address, but then it won't go any further than "verifying". After it "verifies" for a few seconds, it kicks me back out to the sign in. HELP! This is driving me c

  • FSRM report error

    Hi, I have couple of Windows Server 2012 R2 boxes and all have same issue: Cannot generate any report in FSRM, any idea welcome. Tried even on system drive (single folder) to generate report same issue Log Name:      Application Source:        VSS Da

  • Dreamweaver can't 'see' Contribute: REDUX

    Hi: I'm checking out DW 8 and Contribute 4 (trial) when I try to use Dreamweaver Launch & Administer Contribute for my site I get the popup "you must install Contribute 2 or later." But I already installed it and it's running. I've seen this topic po

  • Ok when will 7.x come out to fix most of these problems

    Since rollback seems difficult and unsupported I am asking how soon will the next version come out to fix/satisfy needs/requests Thank you

  • Dynamic programing

    Hi All, I need your help to write the code for the below. We have 12 add-on tables. We need to check one by one all 12 table for the transaction data matching. Each table structure is different.The transaction data structure will also be different du