ReadXML behaviour different in EntityImpl and VIewRowImpl?

Hello,
while experimenting with BC4J's XML import/export features and I encountered a strange behaviour:
When I call readXML(Node, 0) on a ViewRow and then commit the transaction, the data is updated properly in the database, but when I call readXML(Node, 0) directly on an Entity object, and then commit, nothing happens!
Using the debugger, I looked at the entityObject's data (the "mStorage") and it is properly updated by readXML. However it is not posted to the database...
Any idea why this is happening?
Thanks for any help
Rémi
PS: I'm currently using Jdev 9.0.3.1 on an oracle 10g database.

Hi Deepak,
No the entity attributes are just normal persistent attributes...
I've looked into it a bit further, and it seems that the readXML method of EntityImpl doesn't update the Entity's state to MODIFIED. (whereas the readXML method of ViewRowImpl does change the entity's state)
Is this intended?
Is there a way to force the entity state to "MODIFIED"?
Thanks for any help
Rémi

Similar Messages

  • JComboBox - different behaviour in 1.3 and 1.4

    I have noticed that there is a difference in JCombobox behaviour in 1.3 and 1.4.
    I think it is better to give the program than explaining the issue.
    the below given program shows the difference.
    import javax.swing.* ;
    import java.awt.* ;
    import java.awt.event.* ;
    import java.util.* ;
    * Test program to show difference between
    * Combo behaviour in java1.3 and 1.4
    public class CTest extends JFrame
         private JComboBox combo1 ;
         private JComboBox combo2 ;
         public CTest()
              super() ;
         public void init()
         combo1 = new JComboBox() ;
              combo1.addItemListener( new ItemListener()
                        public void itemStateChanged( ItemEvent event )
                        if (null != combo1.getSelectedItem() && event.getStateChange() == ItemEvent.SELECTED)
                             loadCombo2(combo1.getSelectedIndex()+1) ;
         combo2 = new JComboBox() ;
              combo2.addItemListener( new ItemListener()
                        public void itemStateChanged( ItemEvent event )
                        if (null != combo2.getSelectedItem() && event.getStateChange() == ItemEvent.SELECTED)
                             System.out.println("Combo2 item selected : "+ combo2.getSelectedItem()) ;
              JPanel panel = new JPanel(new BorderLayout()) ;
              panel.add(combo1,BorderLayout.NORTH) ;
              panel.add(combo2,BorderLayout.SOUTH) ;
              getContentPane().add(panel) ;
         public void loadCombo1()
              combo1.removeAllItems() ;
              for (int iCount = 0 ; iCount <5 ; iCount++)
                   String strItem = "Item : "+iCount ;
              combo1.addItem(strItem) ;
              try
                   combo1.setSelectedIndex(0) ;
              catch(Exception e)
         private void loadCombo2(int itemCount)
              combo2.removeAllItems() ;
              for (int iCount = 0 ; iCount <itemCount ; iCount++)
                   String strItem = "Item : "+iCount ;
              combo2.addItem(strItem) ;
              try
                   combo2.setSelectedIndex(0) ;
              catch(Exception e)
         public static final void main(String args[])
              CTest app = new CTest() ;
              app.init() ;
              app.setSize(100,100) ;
              app.setVisible(true) ;
              app.loadCombo1() ;
    In jdk1.3 every time you change the selection in combo 1 there will be selection change in combo 2 also. but not in jdk1.4.
    i am not sure whether it is a bug. But surely te behaviour is different.
    any comments on this issue???

    Anil,
    I've just noticed this as well, so I had a quick look at the 1.4 sources. Quite simply, adding and removing items in a JComboBox will never fire an ItemStateChangedEvent, even if the selected item does change.
    The culprits are intervalAdded() and intervalRemoved() in JComboBox.java. Under 1.3 these methods called contentsChanged() which would then fire an ItemStateChangedEvent if necessary. Under 1.4, these methods are empty. Why? I have no idea. It seems like a bug to me, but can't see anything in the bug database about it. Hope someone from Sun can explain it.
    Regards,
    Peter

  • SAP Personas: An unexpected behaviour has been detected and you have been disconnected – please log in again.

    Hallo everyone,
    We are installing Personas and facing several challenges.
    Personas 2 SP02 was installed according to instructions of Note '1848339 - Installation and Upgrade note for Personas' and configured according to the Config Guide v1.3 (rel. May 2014). The referenced notes were also applied as well as the 'How to config - FAQ' blog by Sushant.
    We are able to log on and execute transactions and perform activities successfully (e.g. SE80, SPRO, KB15, etc.).
    When trying to copy a screen the following error appears: 'An unexpected behaviour has been detected and you have been disconnected - please log in again.'
    Thereafter one can simply continue executing transactions without having to log in again.
    Please see the download of the error attached as per blog: SAP Screen Personas Support Tips – client side logging
    The HAR is unfortunately too large to attach. Are there any alternatives?
    Thank you in advance for you assistance!
    Kind regards,
    Daniel
    Message was edited by: Daniel K

    Hi,
    I have never worked on SAP PERSONA but you can try below things
    1)try to use different user or J2ee_admin since it might be same user multiple session case
    2) Try with different browser since plugins can behave unexpectedly
    3)Make entry in host file also
    4) check dev_icm logs
    5) check on ABAP side for dumps in ST22
    Warm Regards,
    Sumit

  • I have 3 different itunes accounts and would like to combine them into just one for all my devices, a macbook pro, an iphone 4S, an older IPOD, and a ver sion one Ipad. how can i do this on all devices ?

    i have 3 different itunes accounts and would like to combine them into just one for all my devices, a macbook pro, an iphone 4S, an older IPOD, and a ver sion one Ipad. how can i do this on all devices ?

    i had one for a long time, then when i got the ipad i didn't realize they would all still work under one so i set up the second one on that
    then when i got the new iphone i put in the info for the first and main one from my mac pro and it would not work at all, and i knew it was right, then it asked me to create a new one or i couldnt finish the setup
    hence why i have 3 now
    hard to believe you cannot combine into one
    oh well, i will just make them all accessible for all 3
    thanks

  • I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    I have two separate itune accounts under two different email accounts and would like to combine them under one account.  Is this possible and if so, how do I do it?

    If you go to Settings > iTunes & AppStore , you can sign out from your account, and sign in with the one you've used to purchase apps.This will not remove any apps you already have on it.
    Then you can go to AppStore and download apps you've purchased (either via "Purchased" button in "Updates", or simply search for them and download them.
    That way you can have multiple accounts' apps on your iPad. When updating, you will be prompted for the credentials for account you've purchased given App with.

  • HT1351 my ipod touch 2nd generation is no longer reconized in itunes when connected to my computer. I have tried different ipod cables and nothing works.

    my ipod touch 2nd generation is no longer reconized in itunes when connected to my computer. I have tried different ipod cables and nothing works.

    Hi Imminnie,
    Thanks for using Apple Support Communities.  If iTunes doesn't recognize your iPod touch, this article may help:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If issues persist, a thorough removal and reinstall of iTunes would be the next thing to try:
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Cheers,
    - Ari

  • Differance between Discoverer and BI Discoverer

    hi guyz ,am new to ebs and discoverer,one question always bother me what is differance in discoverer and BI Discoverer,according to my understanding discoverer is separate tool where we develop report then link it to BI and BI Discoverer is EBS builtin tool.if am right so what both r oracle product ,if it's also true why we need both ,why not single is enough.thanx

    Hi,
    There is no difference. Discoverer is shipped with eBS but it is the same tool (though an older version) as the standalone Discoverer. eBS is also shipped with an predefined EUL and some reports which are integrated into some of the eBS menus. You can write your own reports and create your EUL and add the reports to the menus.
    There are 4 Discoverer tools. Discoverer Plus, a web based report writing tool. Discoverer Viewer a web based report viewing tool. Discoverer Desktop, a windows based report writing tool and Discoverer Administrator used for managing the EUL.
    You need all these tools to use Discoverer with eBS and they should be downloaded separately from eBS to ensure you have the latest versions.
    Rod West

  • Two Different iPod's and One Computer

    My sister and i both have iPods and i need to know how to keep our songs separate so we dont end up with all of eachothers songs. it would be helpful!!! is there any way to have two iTunes accounts on 1 computer or am i screwed!!

    Well, get this - our family has 3 iPods (all different models, too) and we have a way of keeping unwanted songs out of our iPods. If you have Windows XP, create a new section for every iPod user. If you use one log-in for non-iPod/iTunes business, you can still use it, but keep the others for the iPods only. After, upload your library onto each log-in and just delete the songs that are not yours. Don't worry - your iPod's songs won't be erased because someone deleted them from their iTunes library.
    Or Try This...
    Create Playlists for each other. When you go to plug in your iPod, got to "Edit", "Preferences", then "Update." click on the box that says to update selected playlists. Every time you update, just change the selected list.
    Hope this helps

  • HT5624 Hi, I have an iPad with a different iCloud username and password then my Apple ID. I forgot my iCloud password and the email I used is no longer working. How do I change my iCloud I'd and password to match my Apple ID one? Thanks in advance

    Hi, I have an iCloud account with a different iCloud username and password then my Apple ID. I forgot my iCloud password and the email I used is no longer in use. How do I change my iCloud Username and password to match my Apple ID one? Thanks in advance

    Hi Cplantin!
    Here is an article for you that will help you with this question:
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/TS5223
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    Each device only syncs waht you select.
    Select only what you want for each phone.

  • What is the best way to manage multiple devices with one iMac - different users with seperate itunes accounts or one mac user with different itune logons and libraries?

    Hello
    I have just purchased an imac which I am very happy with.  In our household we also have two iphones (one mine and one husbands) and one ipod (my sons). We all have individual itunes accounts set up on our previous computer (not a mac). We have sepereate apps and music, although there may be the odd occasion where we would like to share a song (if this is possible) across devices.
    I am just wondering the best way to manage these devices using the new imac.  Should I create individual accounts to logon to the imac, then from within these launch our own itunes accounts and sync our devices with these.  Or should I be using one version of itunes, logging on to this with our different itunes usernames and storing things in libraries.
    Any help would be greatly appreciated. 
    Thanks

    I am presuming that we cannot share downloaded apps and music between accounts because of the copyright issue,
    Though I'm no copyright lawyer, as long as it's within a household, you can share content among users. Such sharing is, absent specific language preventing it not present in the iTunes Store terms of use, generally considered to be "personal use". So you can share apps and music amongst your users on your computer and with their devices. You just can't give any of that content to friends or relatives who don't live with you.
    What I am not clear on, it making sure that this appears in each itunes account - is it easy to find the file storage folders that match the itunes accounts and what would these be?
    The iTunes library and files are by default in a user's Home/Music folder. But you don't have to find the folder; in fact putting a file into the folder yourself won't add the file to iTunes. Just drag the file into the iTunes window. iTunes will copy it to the correct location.
    Regards.

  • How do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    how do i sync apps to my iPhone 4S using itunes without losing aps already installed on the phone but with a different apple ID, and i dont have the apple ID??

    How have you managed to get apps on your phone that are tied to a different and unknown AppleID?
    If these apps were not purchased by you, having them is effectively software piracy and you should purchase them using your own AppleID if you want to keep hem.

  • How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    Phone A = phone with information you want duplicated
    Phone B = phone that you want to copy from A
    Backup Phone A.
    Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
    When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
    After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup.

  • HT2978 I have 2 different itunes accounts and want to combine them.  How do I do that?

    I have 2 different itunes accounts and want to combine them.  How do I do that without loosing prior purchases on either account?

    Open the Mac App Store and try purchasing Mountain Lion 10.8. If you get told it's incompatible, choose About this Mac from the Apple menu, check if the computer has at least a Core 2 Duo(not Core Duo) or better CPU with at least 2GB of RAM, and if it does, phone the online Apple Store and order a download code for Lion 10.7.
    (89791)

  • Can I use 1 computer with 2 different iTunes accounts and devices? We're afraid we're going to wipeout one library or the other if we do??

    My son got an iPhone and wanted his own iTunes account. Now his computer died, and he wants to connect to his iTunes account on my computer. When it asks to sync the computer, a message comes up and we're afraid either his or my library are going to be wiped out by trying to do this. Is it possible to use 1 computer with 2 different iTunes accounts and devices without wiping out one of the libraries? Thanks for any info.

    If the content was not originally purchased/synced to the device from your computer it will erase and replace the content from the device with that of the computer. If you have content that you want to backup you can transfer purchases http://support.apple.com/kb/ht1848 check this link out

Maybe you are looking for

  • Setting timeout in weblogic.admin command

    Hello: I run a script that checks the state of several thing in my platform. One of the commands I use in this script is java -cp .. weblogic.Admin localhost:7001 ..... GETSTATE IS there anyway to set a timeout in this command for the case weblogic s

  • Logical error in gridLayout?

    Hello, Could anyone advise, when I display the JPanel. The buttons with a value of 5, 10,15, and 20 are not displayed. And any reason for this? Thank you   JPanel numpad = new JPanel(new GridLayout(4,4,2,2));   JButton nums[][];    nums = new JButton

  • Help with encrypted mail!

    Hi, I'm trying to build a tool to send mail but when I run the program a "E-mail Scanner window" pops up with this message: "An encrypted email connection has been detected" and I can't send the mail. Once I've closed this window appears this message

  • Why is the apple menu list displaced?

    At the finder level under the apple menu the list is displaced to the right and cannot be read.

  • Can't configure WRT160N

    Hello All I have a WRT160N that I used just once after purchase (my ISP gave me a wireless router). I could not remember the PW, so I reset. (The computer saw the old router name but I had no PW) When I run the software (CD that came with the product