problem with recording new object database

Hi all

I am having some problems with registration of the database object.

I have 2 classes

{Test}
Laboratory Lab - > not nullable in DB
LastElement-> element (2 part)
Items in collection-> (a-2-many element)
}

Element
{
String value
Test parentTest-> (one to a test - key to building elements)
}

1. I create new Test ts1 and new element el1
2. I add el1 ts1 items
3. I updated el1 lastElement in ts1
4 assignSequenceNumbers
When I will I have an exception for the Insert for Test-> impossible to insert null for LAB_ID

I found that if I do step 3 everything works fine and the INSERTION is done in a single step (all the attributes private and one-2-one References are included)
If I do the step 3, only private attributes are generated for the insert and after insertion will update for all individual references. And it would be ok if I wouldn't not nullable fields.

Is it possible to force Toplink do not separate first INSERTION to 2 calls?

Any suggestions will be greatly appreciated.

PS. all objects are correctly saved in UnitOfWork

Thank you

First of all you have parentTest in el1? You must take care of both sides of the relationship.
Secondly, if you did and which does not help, maybe you can change a constraint not null on defered lab so he would be checked at the end of the transaction not to each insertion.

Published by: sebastian.kolski on October 8, 2009 10:27

Published by: sebastian.kolski on October 8, 2009 10:28

Tags: Fusion Middleware

Similar Questions

  • I can't call anyone on Skype, he said only: "problem with recording device" help?

    Could someone help me? my lack of Skype let me call anyone, when I try to call or answer a call it comes a message saying "problem with recording device"-does anyone know how to fix this help please!

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?OS=4158&LC=no&cc=no&DLC=no&sw_lang=&product=7264...

    You can install this "driver - Lyd" (Realtek High-definition-lyddriver (HD))

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-135685-1&CC=no&DLC=no&LC=No... =

  • 2 problems with a new operating system installed

    Hello. I had a problem with my new istalled windows XP. I can't use text fields in IE and system restore (description of control point). There are also 2 opened with items in the context menu of files. What to do

    Hello Alpha,

    You must have windows media player to integrate its function in your browser. And to open it with windows. You will need to Open regedit. Then navigate to HKEY Classes root.
    Find the file extension that gives you these open wrong with programs, and you should find OpenWith list and many others. If you do not find it open with list here so watch the file type and scroll down and find the type of file name and search for.

    -Alex

    EDIT: actually, here's a list of locations to search:

    HKEY_CURRENT_USER-Software-Microsoft-Windows-CurrentVersion------Explorer------FileExts------.xyz------OpenWithList

    HKEY_CURRENT_USER-Software-Microsoft-Windows-CurrentVersion------Explorer------FileExts------.xyz------OpenWithProgIDs

    HKEY_CLASSES_ROOT\.xyz\ OpenWithList

    HKEY_CLASSES_ROOT\.xyz\ OpenWithProgIDs

    HKEY_CLASSES_ROOT\SystemFileAssociations\\OpenWithList

  • Fuze causes problems with the new Gigabyte mb

    I know this may sound weird, but with assistance from others and a lot of time to put into it, I found that the "rocket" poses problem with my new motherboard Gigabyte EP45-UD3R.

    I was getting problems strange behaviors and reboot, flaky stuff.  Once I reduced to my USB devices I then reduces it to the "rocket".

    Anyone know anything about this at all?

    I would have given this another day before posting.  But I have the answer and it will go here.

    In the BIOS with the EP45-UD3R (Gigabyte is not a brand off but very good Mo and has existed for some time - including Dell has used their) there is a setting under embedded devices.  It's called "Legacy USB Storage Detect". If this option is enabled it will attempt to boot from a USB device. The "rocket", like others, lights up as soon as your PC turn on.  It was trying to boot from the "rocket" and causing flaky problems.  Once that I disabled it the problem has been resolved.

    I should have taken myself.  Arghhh...

  • I have a problem with my new battey.

    Hello

    I have burshaced a new battery just two days, a go.

    My new battery is:

    multiple charges of 12 cells HP extended battery (ks527aa)

     

    In its terms of reference, I found that it works up to 8 relax, he worked with me for 3 just relax until he had to reload!

    My labtop is Hp dv6 2170ee.

    Y at - it problems with my new battery?

    Please help me.

    Thank you much in advance,

    Best regards

    Aya.

    You are making it harder than it needs to be. As I said, run the battery up to 20% and run it up to 100% of load in the laptop. There is never a need to charge outdoors. Yes, 2 hours is a bit low for a cell of 12. As I said before 3.5 to 5 hours is a better scope. Try power cycling as I suggest. You can afford to put two or three cycles on the counter. Also watch the video I linked to you and see if you can pick up some practices that will help you extend the life of video. If you have switchable graphics you will get much more autonomy in the integrated graphics intel then the dedicated system. Crank also the brightess of the screen down a few notches.

  • Dependency problem with the new Blackberry Plugin for Eclipse

    I just encountered a problem with the new version of the JDE Eclipse Plugin. I set up my application project so that it uses two other projects such as libraries. Both of these projects are on the way to build Java in the settings of the application project, and the manufacturer Eclipse compiles without errors.

    But when I try to run on the Simulator, the application loader throws an Exception stating that it could not find one of the classes listed in library projects. Since it is the importation of first class in the main class, I guess that it was unable to find the entire library.

    I tried to have the application project to import the project two library, but nothing alx files has changed.

    In the old version of the Plugin, there is a property of the project "Blackberry project dependencies" or something like that, which should be set for library and rapc.exe projects and the simulator would be their. That went away, and I was told during Devcon now suffice to add libraries to the classpath. Apparently, this is not so for me.

    Can you give me an indication of what goes wrong?

    The problem seems to be that I imported my projects since the previous version of Eclipse plug-ins, Blackberry. I have now created a new workspace and new projects, completely maintaining the source files, and it works.

  • Problem with adding new storage to the CDV provider profile

    Hi all

    I have problem with adding new storage to the CDV provider profile.

    My ENV:

    VCD Version 5.5 latest

    vCenter 5.5

    VCDDB - SQL

    I created the environment with two profiles of storage for the first time and it's work well (the storage profile created before I joined the vCenter on the VCD)

    I created tags and he attributed to the data store and I see the new VM storage through the vSphere web client policy.

    I can also see VMS on the VCDDB the dbo.storage_profile_inv the new storage policy table and when I create new provider TDC I can't.

    What I'm trying:

    1 Refresh the storage via the VCD (right click on the attached vCenter) profile

    2. restart the inventory and the profile based on the vCenter servers

    3. restart the VCD and vCenter servers

    Help, please

    You can just follow KB 2075366.

  • z index / layer of problems with the new YouTube widget!

    Hello!

    I am facing a problem with the new 'youtube' of social media widget. I currently have two layers in my projects. This is a project for which the menu scrolls initially and then sticks to the top of scrolling parallax. By continuing to scroll, the embedded YouTube video widget does not scroll under the menu as it should but scrolls through the menu. It's strange, as the YouTube widget was placed on level 1 and the menu is at level 2. Shouldn't the menu then always be on top? Only the new widget is not properly defined index-z?

    You can check my web project (and look at the code) here: http://www.firstlight.at

    Any help is greatly appreciated!

    I managed to solve the problem, and I believe this to certainly be a bug in Muse...

    In order to avoid widgets Youtube iframed swim on top of all the other div tags, I had to change the code, add wmode = "transparent" and wmode = "Opaque" to the class of the iframe. This works if you replace all the other parameters behind the CBC "&" by "& amp"tag.

    Here's the original code generated by Muse. This could not prevent my "2nd layer" slip below "Layer 1".

    Makes the following changes to the code, forced the Youtube widget below all other div again (I pinned all changes to "BOLD", so you can see the changes easily):

    Ensure that you do not miss the following change: you need to change all of the vipers '&' to '& amp' this procedure will not work!

    After the new version, I'm sure the Adobe team is working hard to bust of bug last version. But I hope that we will be dismantled soon, otherwise users using the youtube widget will have to recode output Muse whenever we make a change and it is exactly what is the Muse striving to prevent (; After all, in Dreamweaver, you can hardcode the change and he would stick!

    I hope that it will be useful to someone!

  • Problem with the C++ object to qml exponent

    Hello, I followed the instructions by Qml and C++ integration but got stuck at a certain time.

    Here is my code:

    // applicationui.cppPage* ApplicationUI::doLoadPageDetails(){
    
        qmlRegisterType("myHtmlPage", 1, 0, "HtmlPage");
    
        QmlDocument *qml = QmlDocument::create("asset:///PageDetails/PageDetails.qml").parent(this);
        qml->setContextProperty("app", this);
    
        HtmlPage *htmlPage = new HtmlPage();
        qml->setContextProperty("htmlPage", htmlPage);
    
        htmlPage->setHtml("*some html code*");
    

    This function creates a Page with a container that contains a WebView. Here, I want to fill the string saved as htmlPage.html.

    I created the RPC classes as described in the link and they work. When I check the htmlPage-> html() in C++, I get the string I wanted.

    Now, my problem is how to get this string for qml.

    Here's what I do:

    import myHtmlPage 1.0....Container {
    ....
            ScrollView {            visible: true
                WebView {
                    attachedObjects: [
                       HtmlPage {
                            id: htmlPage
                        }
                    ]
    
                    id: webViewScrollable1....
                    html: "" +
                    "" +
                   "*style options*" +
                    "" +
    
                    htmlPage.html +  //<----- this should give me the string I saved in C++ under htmlPage->html()
    
                    "" +
                    ""
                }
            }
    

    But nothing is displayed on the page. But why? I forgot to link something?

    I think you're getting confused in the difference between a property and recording a QML component.

    You do both.

    When you attach an object to a QML file, you create an instantiation of the object at this time, when you set a context property that you you already created that object and are just passing a reference to this.

    So when you join HtmlPage in your QML file you create a new object and does not reference that you have created in your program C++ part, so no text.

  • "Problem with recording device" - with no Microphone

    In short, despite not having a mic that I usually use Skype calls to be able to listen to friends when you play and do stuff in general. However today all of a sudden when we tried it auto-a ended the call with an error 'problem with the recording device '.

    It happens both with echo and simple restart does not solve the problem either.

    Apparently, with the new codec NGC (new generation call), which is now used for all calls from Skype, it is mandatory to have a microphone connected to the computer. Without a microphone, Skype calls will not work.

  • Problem with my new HP Pavilion TS 23-F202IN

    I don't know what the right forum? I checked that this reading All in One is only printers or also for all in a desktop PC?

    I just unboxed it today and now the first problem I faced...

    The keyboard and the wireless mouse do not connected possible fault in the USB receiver that displays no lights when it is connected to the computer... I tried to connect to all the PORTs and the receiver receives no LED light on it so is not conenct to the mouse and the keyboard, even if I keep the button connect, supported on the mouse and the keyboard. The mouse lights are turned on but it does not sync with my PC... I tried to call the HP support center here in INDIA that is not 24 hours, even if they announce it comes 24 hours support... no one answered it because their working time is from 09:00 to 18:00 so sick!

    Then I went to the HP site and followed the link to support that asked me my HP product number and serial number and then there was a link to cat technical support when I went through the cat asked the Executive he tried to solve problems and then when there probly came to a conclusion when he said he would send me a new mouse and receiver it asked me my address at the hearing, I am of the India he said that he will transfer the Chat to an Indian executive support, who came to ask me the same questions, then he told me it is a consumer product, so I need to talk to voice Support team and I could not help on the CHAT! How irritating is that... I have a printer HP ever made a problem with it... and this system has a value of 64 990 /-INR which isn't a small amount and it is the kind according to the sale, I get...

    Is he one of the support here for the response team and address this issue?

    There is also a cat Hillarious records I have if someone wants to read... I'll upload the picturesque images my serial number and address.


    Im a developer of Windows applications

    OK after almost 10 calls back to the HP Helpline, Station of Service HP, HP support line... Finally, I got a new keyboard, mouse and Receiver USB keyboard doenst look alike as it came with my system then obviously, it's just another keyboard HP wireless which is brought... they were just trying to buy time by saying that the keyboard is not available and other stuffs... slightly bad experience but finally the problem was solved...

    My only comments to HP India support would be

    (1) CHECK THE QUALITY OF THE PRODUCT THAT YOU SHIP BEFORE YOU SHIP TO THE CUSTOMER)
    (2) if one of the devices are dead on arrival, take the question on a priority support and fix before 48 hours.
    (3) notify your tracking service center and update the client on their case instead of them calling you 10 times.

    Thank you.

  • SEVERAL problems with the new X 34

    So, I have been active during the overclock.net forums concerning the many problems I am having with my X 34.

    Long story short, I'm back this thing to Newegg and waiting for another delivery. But I thought I'd come at least here because it has high liklihood to return to anyone who cares to Acer. I called their tech support to let them know about the issues, but when the old Indian robot for 2 years at the other end kept referring to as resolution of refresh rate, I decided that I couldn't take more.

    So I took delivery of the monitor yesterday and he initially worked well... but the longer he stayed, the more problems, he has developed.

    My system is one I built a year or two ago and works perfectly with my Dell 3008WFP. Video card is a brand new MSI 980 Ti Lightning. Operating system is Windows 10 x 64. Is a Corsair 750W POWER supply. 16 GB of DDR3 RAM.

    I even made a COMPLETELY new install of Windows 10 on this computer to try to resolve these problems. Did not work. I have disconnected/reconnected everything inside my computer, including RAM and GPU. Did not work.

    And Yes, G-sync is enabled in the NVCP. And Yes, I manually set the refresh rate in the NVCP in correlation with the manual settings on the monitor.

    Problem no. 1: Menu recording does not settings

    -Don't know what the problem is here. But for about 3 hours last night, my monitor would not save settings for serger refresh rate. I would go on the menu... allow the serger... Set it to 100 Hz... Select "Apply and restart. Then (here's the interesting thing I think in hindsight), the screen would flash many colors several times and restart. I assumed that flashing color was normal... but it was never the Predator Logo when it has been reset. The office is finally pointing upwards and I could choose 100 Hz in my NVCP... but when you returned from the settings menu, Overclock was Off back with the default refresh rate. I have nothing would fix it with the reset of the monitor and unplug. Later... I have unplugeed the monitor for 30 minutes and when I plugged it back in, it would save my overclock settings now. It is interesting, but now, when I selected "Apply and reset", he would show the Predator logo when restarting... this logo did not appear before.

    Problem #2: Flashing screen

    -See a video of this question HERE

    -This developed before my eyes. After the initial installation of the monitor, it worked fine. Without no flicker, no problems. But as I was sitting at the dinner table last night, I started to see the monitor flashing intermittently in the other room. I look at the screen, he flickered about 4 or 5 times per minute. For the next hour, he progressed to 30 - 40 times per minute. And subsequently developed in constant blinking. BUT this flicker only happens when I go to the Office at 100 Hz. It happens sometimes in games, but not constant.

    I first thought that I had a bad cable of DP since I used one from Amazon, if I swapped it for the Acer cable included. Nope... same problem. I even inserted my previous EVGA 780 TI... but the flicker that happens too.

    Then, I thought it was a driver problem, I did a clean install of the nVdiia previous drivers. Nope. Then a cleaning installed latest drivers from nVidia WHQL. Nope.

    Then I saw here that you can download the drivers for the monitor directly from Acer. So, I did a guy like an unsigned driver installation. Nope.

    After all this, the problem persists.

    Strange thing about this one is that there was when I first got the monitor but got progressively worse since I got it.

    Another weird thing is that if I have a window open, then it isn't twinkle... reduce the window, and he comes back. It's actually what made me think, it was a driver issue, but as you can see above, I think that I have ruled that that fully.

    Also, if I set my refresh rate to 95Hz or below, the problem occurs. (This is actually how I currently work).

    -UPDATE: the issue has actually started just after executing i1Profiler to calibrate the screen several times back to back. I can't imagine how, but could the rapid exchange of multiple colors full screen damaged electronics somehow? Or is it just a weird coincidence?

    -UPDATED #2: it was suggested that ADC can cause the problem as it caused problems with the previous Acer monitors. So I completely deleted i1Profiler and reset my default .icc profile. I also think that I figured out how to do a monitor factory reset - if you hold the buttons first and fifth, restarting the screen and all the default settings. in any case, does too and the blinking persists...

    #3 problem: Backlight horrible bleeding

    I have to type anything here? Leave some pictures to speak for themselves...

    Trouble #4: Parts of the screen does not not on

    It has been described elsewhere, so I won't detail it here. But yes, I have the same problem. Here is a representative of my monitor picture when the issue arose.

    Overall, I am extremely disappointed, although I can't say I'm surprised. I mean, we deal with Acer here guys... Not exactly known for the high-end products. You can put the red lipstick on a pig...

    So is there more any idea or suggestion out there?

    Until then... I'll wait for my new X 34 excerpt here from Newegg to see if I won the lottery of Acer he...

    I created this post to be a "accepted solution" to this thread with the purpose to help other users who need to find the answers. This should help to find this information faster than to have to go almost 800 posts to find pieces of information.

    Wake up from sleep (backlight) - initial response and follow-up

    Problems with Overclocking at 100 hz - original response

    Coil - Whine Original response

    Color banding - users in Australia reported the problem. The teams in the region to THE have been notified and a firmware is available.

    -Scanning lines Original response

    Thank you
    Cory

  • Problems with recording / playback volume and record length

    I turned up the logging level in the in the Audio section on the Control Panel, but that sound recorder (Windows) in entertainment relit at very low volume.  My headset with microphone and speakers work very well for Skype calls, so I think that the microphone is ok.

    Also, is it possible to save more than a minute?

    Thank you

    Hello Tjansen,

    Thank you for your message.  Please, try the following steps:
    Double-click on the taskbar of the speaker icon > click on 'Options' > select 'properties '.
    Make sure that the 'Micro' and 'PC speakers' have check marks.
    In addition, ensure that your output device and Microphone are not silent by displaying the mute boxes on each category
    You can then adjust the volume coming out of your microphone with the volume slider, you can adjust the bass etc.
    To do this, click on 'Options' > select 'advanced controls '.
    With respect to the registration of more than one minute, you can follow the steps below as a workaround, or you can download a 3rd party program that performs the actions you have requested.
    Allow the recorder record silent for 60 seconds.  Click 'Edit' > 'Copy' > click 'Edit' > 'Paste' > 'Insert '.
    This will add 60 more seconds. Click on "Edit" > "Paste" > "Insert" as many times as you need. Save as a file 'model' (name it something like long record.wav)
    Then, when you want to save something for more than 60 seconds, open the long record.wav file and instructions on the existing (virgins).
    Make sure that you save the new record with a new file name.

    Please let us know if it did or did not help to solve your problem.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Anyone having problems with the new iPhone LTE connection 7 on Verizon?

    I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?

    (1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.

    (2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.

  • Problem with the new update

    Any browser looks graphically unstable and content is empty with the new update, is it just me or is just the update which is unstable?

    Hello

    Try disabling graphics hardware acceleration. You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    1. Click the menu button

      then select Options Preferences on Mac or Linux, or Windows.

    2. In the window of Firefox Options (or preferences), click on the Advanced tab, and then select general.
    3. You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    4. Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

Maybe you are looking for

  • Satellite L300-1AF: Vista see only 2.9 GB RAM

    I just stuck 4 MB of RAM in my L300 and seem to have some weird settings now. I know that Vista 32 bit will treat more than 3.2 MB of RAM, but my system is showing 2940 instead of 3.2.The GMA4500 shipped is showing that using 1341. Is this normal, or

  • NTBACKUP. EXE WILL NOT DO AN ASR DISKETTE

    I can make a backup of hard drive using NTBACKUP. EXE, but it won't make an ASR recovery on my USB floppy disk. I tried to help a Q299526 article but records were not there. I couldn't find the dossier_Windows/repairs where they were supposed to be.

  • Thermal compound HP G61

    Hello I have my laptop for several years now, but recently it has become very hot, and the fan continues blowing loudly. As the guarantee of the laptop disappeared for several years now, I decided to open the case to clean the fan and apply new therm

  • Problem with editing KB2538242 update for visual c ++ 2005

    Hello I have a problem when I try to install the KB2538242 update. I tried many solutions on the internet and nothing worked. I really need to make it work without having to reinstall the system. This is the error that is displayed.

  • Cisco NAC authentication server stopped?

    Hi all is 1_ there a way to specify an order for authentication on NAC Manager v4.7.2 servers?  the needs of the customer, is the primary server (AD) fails it switches to the RADIUS? Is this possible? is 2_ possible for a role on a server auth? Thank