Inserting complex object structures with elements that does exist

hi, i have following problem:
i have a big structure that contains some m:n relations. some elements may already exist. if i want to write a new structure i just have unique key informations to identify the object. the primary key is generated by a sequence.
if there is an element that is already in the database and the structure gets inserted, i get a SQLException because of an error in unique constraint.
i use the function uow.deepMergeClone(pl); to insert the structure. it spreads about 6 tables.
has somebody any suggestions, how to handle that, without parsing this big structure?

Thank you for the link.  I had written that so many years ago, it was probably what was out there at the time.  That's what threw me.  It just
"broke" one day without anyone touching anything.  My hope was to spend a little time patching it and not starting over, but it took longer than I had planned.
As a ColdFusion developer for the last 10 years, it's frustrating that so much is catered to php and asp.  I'll want to find a simple module that is common and shouldn't have to be reinvented and only find it in php and asp.  If I didn't have so much invested in CF, I'd be tempted to jump ship.  I really don't want to, but CF is not supported like the others.  Having vented, I do have to say that I've created some very cool, powerful apps with CF (online testing, conference setups from start to finish, etc.).  I was actually surprised to see that PayPal even had sample code for CF.
I really appreciate your response.  It's nice to know that there are other CF developers still out there.

Similar Messages

  • Problem Inserting into object view with OracleXmlSave

    Gurus,
    I'm trying to insert into an object view with
    multiple collections of objects representing a master/detail relationship and a CLOB column, but I've this error:
    oracle.xml.sql.OracleXMLSQLException: Error Interno
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:1967)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1060)
    at onix.interface_isbn.OnixXmlLoader.doInsert(OnixXmlLoader.java:165)
    at onix.interface_isbn.OnixXmlLoader.setLoader(OnixXmlLoader.java, Compiled Code)
    at onix.interface_isbn.OnixXmlLoader.<init>(OnixXmlLoader.java:23)
    at onix.interface_isbn.correrLoader.main(correrLoader.java:77)
    I'm using OracleXmlSave with insertXML method to do this.
    Is There any limitations to do that? (example
    number of tables into the view, columns datatype).
    I'd appreciate any comments
    Thank

    No known limitations. Please post the sample DDL to create your object types and object view, along with an example of the example XML document you're trying to insert.

  • I was billed for a renewal with eHarmony that does not work. Eharmony said itunes claims the charge didnt go through but I have already been billed. How do I get my money back or get my subscription working??

    I was billed for a renewal with eHarmony via iTunes that does not work. Eharmony said itunes claims the charge didnt go through but I have already been billed it is on my bank statement. How do I get my money back or get my subscription working?? I have all transaction ID's and invoice numbers. Please help this has been very frustrating, thanks.

    Yes, I reported the problem using that exact sequence immediately after discovering the problem with the app.  When I submitted my complaint and request, Apple redirected me the website of the app manufacturer where I submitted the same complaint/request for refund.  I have not heard back from either, and was still charged, so I can only assume that is not the correct way to "Report a Problem" even though Apple would have you believe otherwise.

  • Insert revenue object (Products dependency is that true)

    Hi, while inserting Revenue Object in Opportunities POD, is it necessary to relate it with Product object ?
    Do we receive errors and exceptions when we try to insert the List of Revenue directly into CRM On Demand ?
    If so what is the exception and what is the workaround ?

    The answer is, Yes, it is true.
    Opportunity Product Revenue (called different names in WS 1.0 and 2.0, etc) is an item related to both Opportunity and Product.
    The error message would differ depending on version of WS: 1.0 or 2.0, but there is no workaround: you would have to specify the related product - by its name, row Id, or External System Id.

  • I have inserted an image into my form that does not reflect when i save it a a pdf

    I have insetred an image into my form that does not reflect when i save it as a pdf - please cna you assist?

    Hi leannedatel,
    There was a possible answer to this posted previously. Try this thread for a solution:
    http://forums.adobe.com/docs/DOC-4144
    Cheers!

  • Ap 3700 PoE with PSE that does not support CDP/LLDP power Negotiation

    We run into a problem when AP 3700 is connected to an 802.3at PSE
    that only supports physical event classification as compliant to 802.3at standard for PSE,
    but does not support CDP/LLDP power negotiation.
    AP 3700 (I believe the firmware version does not matter much) cannot get enough power after not receiving any CDP/LLDP power negotiation packet. (get no more than 15W power although PSE supports 30W.)

    Hi Leo,
    Thanks for the information, and do you know if Phihong power injector supports 802.3at LLDP power negotiation or not?
    And is there any special configuration on AP3700 side like disabling CDP/LLDP power negotiation to make it to work with such power injector,  and what is the command if there is any?
    Thanks again, Leo.

  • Edit with elements function does not work

    I have just installed my new version of elements 9, and have already hit a problem. When in the Organiser, if I right click and select "edit with photo shop elements", absolutely nothing happens other than Elements open and no photo appears. The only way I seem to be able to open the image in Element is either via the traditional "open file" command, or by dragging the photo from organiser into elements.
    Any help gratefully received.
    Cheers
    David

    Hi,
    Please try couple of probable solutions as mentioned below:
    Solution 1:
    1. Close Elements.
    2. Launch the Photoshop Elements Welcome Screen and hold down ctrl + alt + shift as you click Editor.
    3. Continue to hold the keys until you see a message box asking if you want to delete Photoshop Elements settings file; click Yes. Elements will open with default preferences.
    Solution 2: In case any network printer is attached try to launch without network or printer uninstall or make different printer as default.
    Solution 3: Try launching with anti-virus off or removing PSE from conflicting list.
    Solution 4:
    On the drive on which you have installed PSE,on my machine it is on C:
    Go  to C:\Program Files\Adobe\Photoshop Elements  10\Locales\<locale>\Plug-Ins\Import-Exportand you will find twain  plug-in. Remove that plug-in from that location and copy it somewhere  else.
    Now launch PSE and check if it works.
    For related post for Twain please see this:http://forums.adobe.com/message/2954743#2954743
    Thanks,
    Garry

  • Does my new Pavilion 23 come with software that plays Music CD's and converts to MP3

    Well the title says it about all. I have a newer Pavilion 23 A6 VISION AMD
    I wanted to play a music CD and have the tunes converted to MP3 on a flash or on my Motorola Xoom. Let's just say a flash drive for now.  What's the procedure?
    Do I record them and save them somewhere first and then convert them?  Does the Pavilion 23 come with software that does that? How about Realplayer or Media Player? I also have the Cyberlink Media Suite bundled.
    Thanks for considering my query!  Jack  ":-D
    I ALWAYS KUDO AND MARKED SOLVED. IT'S THE RIGHT THING TO DO ... doncha know. ":-D
    Look to the left and click on the STAR for a KUDO
    Look to the right and see OPTIONS to mark ACCEPT AS SOLUTION. Thanks!
    This question was solved.
    View Solution.

    When requesting assistance, please provide the complete model name and/or product number of the HP computer in question. HP/Compaq makes thousands of models of computers. Without this information it may be difficult or impossible to assist you in resolving your issue.
    The above requested information can be found on the back, or bottom of your computer. Please do not include your serial number.
    Using Windows Media Player... typically, you would insert the CD and rip the songs (or all tracks) to the media/music library. After you are done ripping the music, you can copy the files to a USB stick or other storage device.
    Please click the white KUDOS star to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Elements Organizer does not install when reinstalling PSE10

    I have a problem that I cannot seem to resolve. Previously Adobe Photoshop Elements 10 had been running flawlessly on my computer and was easily opened by clicking the desktop icon which had a "C:\Program Files (x86)\Adobe\Elements 10 Organizer\Photoshop Elements 10.0.exe" target. After uninstalling and reinstalling Photoshop Elements 10, when I click on the Desktop icon to start the application, I get a dialog box that says "The item 'Photoshop Elements 10.0.exe' that this shortcut refers to has been changed or moved so this shortcut will no longer work properly". If I right click the Photoshop Elements 10 desktop icon and check properties, the Target says "C:\Program Files (x86)\Adobe\Elements 10 Organizer\Photoshop Elements 10.0.exe". When I open Explorer and navigate to where the target says the application file should be, the "Elements 10 Organizer" directory does not exist. The only directory that does exist is the "Photoshop Elements 10" directory and it contains the 'PhotoshopElementsEditor.exe'. Yes if I click on that file the Editor opens, however when I try to load the Organizer workspace once the editor is open, it does not load because the entire folder and application is missing. I even tried searching the entire C-Drive to find the Photoshop Elements 10.0.exe file but it was nowhere to be found.
    To be specific, I had PSE8, PSE9, and PSE10 installed on my 64-bit Windows 7 Professional w/SP1 computer. I decided to uninstall PSE8 & 9 because I had just purchased PSE12 and wanted to make room for the PSE12 installation. When I tried to first uninstall PSE8, the uninstaller stopped with the warning that PSE8 was installed in the same directory as PSE10. The uninstall then terminated when I clicked on OK. Next tried to uninstall PSE9 and received the same warning and uninstaller termination. The same thing happened when I tried to uninstall PSE10. Faced with the situation that all three products were installed in the same directory and would not uninstall individually, I found it necessary to uninstall all three applications manually according to the directions on the Adobe's knowledgebase.
    To uninstall PSE8, PSE9, & PSE10, first thing I did was create a system restore point which is something I always do just in case something goes wrong. Then starting with PSE8, I first printed out the Photoshop Elements Help "Manually remove Photoshop Elements 8 | Windows that I found at http://kb2.adobe.com/cps/826/cpsid_82673.html. Subsequently I printed out the directions for each product, PSE8, PSE9, and PSE10, are all on the Adobe website. Next I followed the directions contained in each article except for running the product uninstaller as I mentioned above and removed all three applications then rebooted my machine.
    Next I reinstalled PSE10 and tried to open it only to find that it did not fully install especially the Elements Organizer. As mentioned you can open the Editor by going directly to the executable file however you cannot access the Organizer because it did not install and cannot be found anywhere on the computer. I have uninstalled and reinstalled PSE10 five time now each time using the product Uninstaller plus the "Manually remove PSE10" directions and I still cannot get the Elements Organizer to install.
    My question is does Adobe have a utility that can be run after manually installing a specific product that would find registry entries that were not removed after completing the manual removal process? The problem I see is the manual removal process which shows possible registry entries to remove manually is built on the assumption that you were able to run the Uninstaller which is not the case with my problem.
    Secondly does anyone have any suggestions on how to install both the PSE10 Organizer and Editor?

    I believe I found a solution but I need help in changing some of the parameters to reflect for a United States program install.
    If you go to "Elements 10 Organizer is not installed [SOLUTION]" at http://forums.adobe.com/message/4745941 you will note the Poster says it is possible to force the install of Elements Organizer 10 by using the command line:
    msiexec /i "E:\Adobe Photoshop Elements 10\ElementsOrganizer\Elements 10 Organizer.msi" TRANSFORMS=1031.mst ELEMENTS_DE_DE=1 ORGANIZER_DE_DE=1 STARTWATCHSERVICE=1 SUPPRESSREBOOT=0 NOT_STANDALONE=1 /l*v "C:\Users\<username>\AppData\Local\Temp\OrganizerInstall.log".
    I found that the above command line input does in fact start the setup for the PSE10 "Elements Organizer" Installer except it is in a language other than English.
    Is there anyone familiar enough with coding and command line prompts to change whatever paramenters are necessary to have the installer run in English.
    Hopefully there are some Adobe Staff monitoring this message that can answer the question for me.
    Message was edited by: DAllenJ2215

  • Truncate that does not work in a SSIS package but works in SSMS

    Hi guys I have this simple code
    if object_id('[dbo.generator Only production 2011]') is not null
    begin
    truncate table [generator Only Production 2011]
    end
    embedded in a SSIS package. It does not work and I don't understand why. If I run the truncate table [generator Only Production 2011] directly from SSMS it works perfectly.
    Any clue?
    Thanks

    if object_id('[dbo.generator Only production 2011]') is not null
    You quoted the whole schema + object name with brackets; that query will never return a result =>
    if object_id('[dbo].[generator Only production 2011]') is not null
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How To Insert A object into Conext

    Hi Techies,
    I have 8 tables in my designer
    and I have two contexts at designer level
    And how to insert a object into a context that is not referencing any table.
    For Example I have an object like "rownum" (Which should must be added at Universe level only not at report level). Here this object is not referencing any table and I want this to be used in a query where the remaining objects are coming from the context..
    Thanks in Advance..

          Double-click the Objects and click the TABLES button and select the table you want to associate the object to for the context to work properly (see below).
    Regards,
    Ajay

  • Embedding fonts in an existing pdf that does not have the fonts embedded

    Hi,
    I have an existing pdf that fails to open on my ereader.
    So I opened in acrobat x pro to see what might be the cause.
    Selecting "file"--> "properties" -->"font" ( fonts used in this document) I can see that this pdf uses multiple windows trueType fonts and that none of them are embedded in the pdf document.
    Now my ereader is linux bases, so I am guessing this might be a problem.
    Being an ereader I didn' give me much to go on.
    So i would like to embed all the fonts listed in this list into the pdf file and save it again with the fonts embedded.
    I went to "file"-->"save as optimized pdf" -->"font"
    But there both lists embedded and unembedded fonts are empty.
    Why is this and how can I embed the fonts shown in the document properties into the pdf?
    They seem standard windows fonts like e.g.  ArialNarrow

    I just looked a bit furder and actually checked wether the fonts existed and found the following:
    I am using windows vista.
    The fonts mentioned in the properties of the pdf actually exist in the windows installed fonts but
    in windows they are no longer TrueType but OpenType.
    So I am guessing this might be the reason they are not in the list of unembedded fonts in the optimizer window.
    Is there an easy way to say to acrobat to replace one font ( not found on this computer) with another font that does exist and also to embed that font in the pdf document?

  • After updating to Maverick some emails arrive with contents that do not belong to Sender and title.

    Since updating to Mavericks I'm receiving some e-mails with contents that does not match the Sender and Title. Also receiving blank emails that DO have contents on my iPhone.

    HI..
    A rebuild can help >  Mail (Mavericks): Rebuild mailboxes

  • When using Windows MS Word, you can insert an object such as a video into your document - can anyone tell me how to do that with Pages on an iPad please?  Thanks!

    Hi
    When I was a PC user, I could insert an object such as a video into my MS Word document - and it would appear as an icon, which when clicked, would begin to play the video.
    I find that I cannot insert such videos/movies into my Pages document on my iPad, but maybe I am missing something, being new to the Apple way of doing things?:)  Would appreciate any help, thanks!

    "maybe I am missing something"
    Maybe you are.
    This forum/community is named "AppleWorks" because it is intended to discuss issues and techniques involving the now discontinued Apple productivity application AppleWorks.
    Your question concerns Pages, and specifically, Pages for iOS, the version that runs on iPad (and other iOS devices).
    Admittedly, the Pages for iOS community is difficult to locate. It's rolled in with the other iWork applications in a community named iWork for iOS, where you'll find several people willing and able to answer your question. The link will take you there.
    Regards,
    Barry

  • Why does Livecycle Designer need to lock scripting on objects with children that are fragments??

    Can someone tell me why Livecycle need to lock scripting on objects with children that are fragments??
    I mean, just because I have a fragment (which you can't edit the script for), why does Livecycle need me to NOT edit say the initialise event on the Main form.
    Yes, I can remove my fragments, edit and reinsert.  Also if the event already has a script, I can edit the xml.  But neither of these are terribly convenient.
    Couldn't there be a better way?

    The purpose of the fragment is to create re-usable or standard components. In most cases the fragment is not created by the same person designing the form and they do not want the from designer to modify any part of the fragment (it is a separate XDP file). There may be code in that fragment that relies on the structure that exists. If you have the rights you can always edit the fragment and when your PDF is created the changes will be picked up.
    If you want to be able to modify the fragment while it is in Design mode sounds to me like you want to add a component to the object library. This will allow you to have a reusable piece of a form that you can modify on a form by form basis. To do this simply build the piece that you want. Lasso the entire form and drag it onto the Custom library. When you release it a dialog will pop up allowing you to name your component. Now on any form design you can drag your new component onto the canvas and all methods/properties and code will come with that component (allowing you to modify it for that form as you see fit).
    Note that you can create your own libraries to hold your components if you see fit. Also if you put your libraries on a shared drive, you can share components between Designers.
    Paul

Maybe you are looking for

  • Ipod Classic in recovery mode freezes itunes

    My 160gb 2009 ipod classic wasn't being recognized in itunes. I did everything and it wouldn't work. It was working perfectly fine other than that. And when it was plugged in, it was charging, etc. I closed itunes, put it into recovery mode while it

  • Emac Display Expanding and Contracting

    I have a first generation Emac that I just bought used. The screen is expanding and contracting (left - right). Any suggestions on what this is? Thanks.

  • TestStand 2012 Custom Report Path/Name

    Does anybody know how to get a TestStand 2012 report placed in a custom location with a custom name, both of which are determined using information obtained in MainSequence? I had a method of accomplishing this in TestStand 2010, but it does not work

  • Invoice without PO in SUS ( MM-SUS)

    Hi I am planning to implement MM-SUS scenario. Can vendor create and send an invoice w/o PO reference from SUS? if yes, is this std. functionality or some development is required? Pranay

  • Final Cut Express Serialization won't let me pass

    I'm trying to install FCE 1.01, and I get to the "Final Cut Express Serialization" window and enter the correct information. First, the "OK" button remains grayed out and I can only cancel (after checking the serial number a gazillion times). I went