AppSetRollbackOnlyException + strange acting sequence

Hello!

H1. Synopsis:
I realized there is a fair amount of reading, then this should provide a brief summary:
ORA-02291 thrown when parent key does exist
-Sequence of jump from 1 to 21. After some modifications, now spends 1-3. Should only increment 1.
-Who is responsible for the 02291?
-Tables PHOTOS and PIC_INFO exist
-PHOTOS has PIC_ID (NUMBER) and IMAGE (BLOB) fields
-PIC_INFO has fields PIC_ID (NUMBER), PIC_LOC (VARCHAR2), PIC_COORDS (VARCHAR2), PIC_PEOPLE (VARCHAR2), PIC_TAGS (VARCHAR2), PIC_DESC (VARCHAR2).
-Foreign key exists on the PHOTOS that connects the two PIC_IDS in a one-to-one relationship
-Line PIC_INFO must exist before PICTURES can be inserted

I hope someone can help me with this problem very frusturating.

I'm working on a small project with JDeveloper, Flex and Oracle Database XE.

The Flex part is a small program for entering contact information and other information about an image. The image is then transferred via Flex in the XE database.

Unfortunately, the part of download does not work. The FileUpload servlet is to throw an AppSetRollBackOnlyException exception and said that there is a constraint violation. The relevant tables are arranged as follows:

Table PHOTO: fields IMAGE (BLOB) and PIC_ID (NUMBER)
Table PIC_INFO: fields PIC_ID (NUMBER), PIC_LOC (VARCHAR2), PIC_COORDS (VARCHAR2), PIC_PEOPLE (VARCHAR2), PIC_TAGS (VARCHAR2) and PIC_DESC (VARCHAR2).

A foreign key relationship between the two fields PIC_ID. For both tables, PIC_ID is the primary key.

Now, which seems to be the question is that the sequence of the IMAGES table is strange. I set the increment to 1 value and start value to 1. Previously, it would automatically change the value of starting at 21 after trying to insert a record. Now, after disabling the cache and check the option to order, it goes to 3. Unfortunately, this means that the record is not inserted because it doesn't have a matching record in the table PIC_INFO.

I'm tired, trying to understand why this happens. The research I've done have not turned upward to something useful.

The help or idea that you could provide on this issue would be greatly appreciated. Please let me know if you need MORE information, such as code snipplets or track of the stack for this problem. Thank you in advance for your help!

Published by: fireworld2406 on November 14, 2009 09:59
Additional logbook

If so, please mark this thread as a RESPONSE.

Tags: Database

Similar Questions

  • Skype is strange acting

    Then I signed this morning on my desk and open Skype as I normally always like every other morning. However, the program crashed and made me restart. The next thing I know, is that everything is weird.

    I was talking to one of my friends via our chat and there were several things that have happened that have extremely frustrated me.
    -J' open Skype when I received the message but when I saw that the message would not disappear until I answered. Is the same for other groups that I normally don't answer.
    -Their messages appeared above the mine when they you respond to my last post. Normally just like any cat he should appear below and he always does this.

    I tried to restart my office so much also to restart Skype but the problem does not resolve itself and it's extremely frustrating. It was working fine last night and now all of a sudden does not this 'thing'.

    Please help because it is do the things I normally would at this time.

    It is a well known bug in the latest version of Skype 7.17.

    Uninstall this version and install the older version of Skype 7.16.0.102 using this Setup program:

    http://download.Skype.com/MSI/SkypeSetup_7.16.0.102.msi

  • I deleted some computer now of strange acting programs. But also done an AVG tuneup pc same day...

    In an attempt to clean and optimize my computer, two days ago I installed AVg PC TuneUp and went through all of htat eleemnts program to optimize my computer.
    In addition, I went into Add/Remove programs and demolished a bunch of stuff that was "rarely". This figure includes some different MSXML 4.0 type things like well asMS framework for user mode driver.
    This morning when I woke up my computer in a few minutes the computer froze and when I restarted manually a function all on its own when in the start of the screen, he began to run something that said:
    Checking file system on C:
    the type of file system is NTFS.
    A disk check has been schelduled
    Widnows wil now check the disk.
    CHKDSK checks the files, security index descritions, usn journal
    data file, free space... and it is still ongoing.
    And when I restart the computer, it automatically restarts this analysis from the beginning.
    So, I don't know if it's because I remove programs or if the AVG changed my system somehow

    Hello

    1. the problem occurs in safe mode?

    I suggest you to try the steps below and check if they help to resolve the issue.

    Chkdsk.exe or Autochk.exe starts when you try to shut down or restart your computer: http://support.microsoft.com/kb/831426

    For your reference: How to make a computer faster: 6 ways to speed up your PC

    http://www.Microsoft.com/atwork/maintenance/speed.aspx

    Hope this information is useful.

  • Sidebar strange acts

    I have 2 user accounts. When I use the 1 (admin) account, the sidebar works fine. But when I change account 2, the sidebar is not exposed in what it is. Something you are missing something.

    I captured what it looks like.

    http://img.Photobucket.com/albums/v208/devilpig/Kelvin01/111.jpg

    1. I deleted the file settings.ini, no work.
    2. I run regsvr32 msxml3.dll, regsvr32 scrrun.dll and regsvr32 jscript.dll, no work.

    How could I solve this problem?

    Have a look at this tutorial. The clock resembles that of your screenshot.

    http://www.Vistax64.com/tutorials/161046-Windows-Sidebar-gadget-not-displayed-correctly.html . for the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • zone recovered win7 won't let me put in DST and window different scrolls strange acts please help

    recovered data to dell key win7 and I had to load a bunch of update would have this effect of programs

    Hi Vivremm,

    1. what happens when you try to change the date and time are you get any message of error?

    2. what exactly is the problem we are facing with Windows?

    No update of Windows, to keep your PC safe and running smoothly.

    There are different types of updates. Critical updates or security updates protect against malware and security exploits vulnerabilities. More updates, correct the errors that are not related to security, or enhance the functionality.

    Each time a new update is essential to avoid a newly discovered operation or prevalent targeting Windows users. Windows Update can be configured to install updates automatically as long as the computer is connected to the Internet

    I recommend you to check the date and time, see the procedure in the following article.

    Change the display of dates, times, currencies, and measures

    Please provide us with more information about the issue so that we can better help you.

  • Spot Healing Brush strangely acting as a cloning tool

    I removed the text in the speech bubble below, then I applied the Spot Healing Brush to remove the character surplus lines.  Bubble's pink gradient background color, and that's what I expected to see after my request for spot Healing Brush, not weird images from body of the Lady.

    SpotHealingBrush-bug.png

    Nice work! Glad that you understood. Yes, by sliding autour can cause a little problem sometimes

    Benjamin

  • Some strange acting tools

    Sometimes that my tools are transformed into a simple cross, all except the magnifying glass, hand tool, path/direct access selection tools and text tool. I use CS5 now, it happened also when I used PS Elements 4. If I open a new document, all the tools are normal, but if I open one that I worked with, the problem appears. Why is this happening?

    This is generally caused/fixed with the happy button.

  • Sequence after import via DataPump behavior

    Hi friends,

    I'm under Oracle DB 11.2.0.3 on Windows 2008 R2 SP1 servers and I faced a strange behavior sequences after importing a schema via Data Pump.

    The export is done in this way:

    EXPDP userid/password dumpfile = logfile = directory = remap_dumpfile = y (no news)

    Importation is made this way

    IMPDP userid/password dumpfile = logfile = directory = =(old_one:new_one) remap_tablespace = remap_schema (old_ones:new_ones, so on...)

    Import works fine. There is no errors and the sequences are thus imported without warning.

    Strange behavior, seems that sequences of "reset". When we call a sequence the NEXTVAL is just lower than the values already stored in the database, and we get ORA-00001 much. The sequence should know as vale. I don't have this problem when you use exp/imp, just through DataPump.

    So that when we create an order which will receive the value of 100, for example, because we have 99 commands on the system, Oracle suggests a value less than 99 or even the value number one (01).

    Then, we wrote a script to check the CURVAL of the sequences on the basic scheme to recreate sequences using the initial value on the new imported schema.

    Did anyone face this problem before?

    Any suggestions?

    TKS a lot

    Hello

    You should definitely make the consistent export - is not be default in datapump (although in previous versions, you might think that it was because of misleading him he used to write informational messages).

    You can either use flashback_time = systimestamp, lalshback_scn = xxxxx (where you work on what SNA use) or you are on 11.2 you can even use compatible = y as oracle reintroduced to facilitate upgrades of exp for the people.

    That might solve the problem, but if the number is reset to 1 in some cases it may be another problem.

    See you soon,.

    Harry

  • Toshiba Kira sometimes insensitive

    I have the Kirabook i7, supplied with windows 8, but updated to windows 10.

    Works perfectly, but sometimes will be completely immune to the pressures on the keys or by using the power button.

    Battery is fully charged and the power adapter is connected.

    The light on the side flashes white with a strange random sequence.

    In my view, it is in hibernation because a workaround solution that I discovered is now pressed the power for 15-20 seconds to force the switch closed and thereafter it turns well but is probably not good for the computer.

    After advice or solutions

    Thank you

    Hello

    Is your KIRA does not only when stopping down or during normal use?
    Mine gets only does not respond when I try to shut down windows 10 when the machine is left ON for a few hours. If I turn it on, then immediately stops normally.
    I have try this '' correction '' to see if it solves:

    Difficulty

    Have you tried to check the event viewer for clues on what could be the problem?

    See you soon

  • Cannot install Anno 2070 error: the installed version of the application could not be determined.

    Original title: Impossible to install Anno 2070

    Hello

    I don't know if this is the right place for questions related game, but I tried the official forum and have had no luck with the solutions presented.

    I've installed Anno 2070 (Ubisoft) and played. By a strange Act of Murphy's law the game no longer works, so I uninstalled and tried reinstalling, but whenever I try to install it, I get this message:
    The installed version of the application could not be determined.
    The installation will end today.
    What can I do?

    Hello

    1. How are you trying to install?

    2. which version of the operating system is installed on your computer?

    I suggest you to try the steps below and check if it helps.

    Method 1: Set up your computer in a clean boot state and then try to install the game.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Method 2: Solve the problems installing and uninstalling the programs on Windows computers. http://support.Microsoft.com/kb/2438651

    If the problem persists, then try to keep in touch with the support of UBISOFT.

    http://www.Ubi.com/us/games/info.aspx?pid=9651

    Hope this information is useful.

  • 4.52 AC and 5.02 crashes durning a new profile creation.

    Hello

    my ThinkPad: Z61m 9450-GDG

    Fresh Windows XP Professional with SP3 I have strange acting AC and system update.

    1. access connection when I try to add a new profile first screen where I put the name offline is well, I put the seting Wireless and when to push then had access Conection GUI windows error. "acmaingui.exe.

    It happened AC 5.02 and 4.52.

    Update: when I connectet to the specified network, I can create a profile for this network.

    2. system update - shows nothing to install but he must propose the update for AC. I installed 4.52.

    Keff hell,

    have you tried this method? Seems that firefox user profile is causing this behavior.

    Please try to rename prefs.js of Firefox. In your FF profile folder.

    AC wrote in prefs.js of Firefox when you create a new profile.

    Where prefs.js is great, AC will crash.

    But you may lose some Firefox settings, if you rename it, who are in the prefs.js.

  • Keyboard X61s sending multiple scan codes.

    Hello

    I me this afternoon asked to watch a x61s who has a strange acting keyboard. Press gives mostly the key more than 2up and 1down1right (so produced ZA1).

    This laptop was apparently used to play music in a steamy bathroom one day before the problems started.

    Ive of measures taken

    1 start in the pre-installation environment. problem persists.

    2. removed keyboard, connectors checked & cleaned, replace the keyboard. problem persists.
    3 starts in pc-doctor (on the lenova support site), ran keyboard 'keys' interactive test. Shows the same keystrokes as described above.
    4 Ran System Board/keyboard test diagnosed, managed.

    Can I be sure that a replacement keyboard will solve this problem? Setting for family so don't want to let them spend the money if it won't solve the problem.

    Ive just checked online and its 3 months warranty

    Any advice would be great

    With the help of PC-Doctor, I can give a good explanation of what codes each key is sending.

    Certainly, if I had the machine, the first thing I would try is to replace the keyboard. I also saw the same problem corrected by the replacement of keyboard. It is VERY likely that the problem is the keyboard, but not 100%.

  • BlackBerry Smartphones can only synchronize only Contacts and calendar?

    I wanted to replace my Palm Treo with the new BlackBerry 8310.  With the Palm, I could synchronize my calendar and contacts with Lotus Notes 7 through a 3rd party software without going through courier service.  It does not appear that I can install the BlackBerry software without e-mail service because he was unable to access Lotus Notes data.  Any suggestions?

    Thanks for the help of glasses bifocals!  I used Palm products so far and with this being my first BlackBerry device, I'm a novice user.  Your advice was helpful.  I did download the latest version of the Desktop Manager (4.6).  The LNOptions.dll with the 4.6 ends by works very well.  I found that I needed to open Desktop Manager then plug my 8310.  It's not as long as the phone is connected, I could set up my syncroization correctly.  Strange little sequence there, but you sent me down the correct path.

    Thanks again,

    Doug

  • Reset the user database after the removal of field

    Hello

    We use ES2.5 and we discovered this strange Act of user database. We have a Web service that gets the data user of LiveCycle. He former users are displayed that was stored in the old domain I already deleted the directory of the user.

    So... is there a way to reset the user database?

    Floh Cu

    I just idea... I've recreated the field again with the same ID/name but without the directories and resynced the field. Now, all the old users are marked obsolete.

  • Pesonalizations forms 'View' without access to forms

    Hello

    We have a situation where the functional team would need to view customizations of forms on special forms (for most non-HTML forms) in R12.0.6, but did not have access to forms and certainly will not have access to the password apps (in production and non-production instances). Go see customizations through the interface user is not an option.

    Is there a handy query that we can run a toad that would give us this information? I guess it would be stored in fnd tables somewhere if anyone knows the actual tables?

    Any help will be most appreciated!
    Sasha

    Try this... he should at least give you a starting point and I'm sure that you can tailor/extend to your own needs.

    Kind regards
    Jon

    SELECT
    RUL.form_name - name of the form
    , rul.function_name - name of the function
    , rul.sequence - seq
    , rul.description - description
    , decode(rule_type,'F','Form','A','Function','') as plevel - level
    rul.enabled - active
    -CONDITIONS
    , rul.trigger_event - triggering event
    , rul.trigger_object - object trigger
    , rul.condition - condition
    , rul.fire_in_enter_query - processing mode
    -CONTEXT
    decode(sco.level_id,'10','Industry','20','Site','30','Responsibility','40','User','???') as context_level
    -ACTIONS
    act.sequence as action_seq
    act.property_value
    act.argument_type
    act.target_object
    decode(act.action_type,'P','Property','M','Message','B','Builtin','M','Menu','') as action_type
    act.enabled as act_enabled
    act.object_type
    act.message_type
    act.message_text
    act.summary
    act.builtin_type
    act.builtin_arguments
    act.language
    act.property_name
    Act. MENU_ENTRY
    act.menu_label
    act.menu_seperator
    act.menu_enabled_in
    act.menu_action
    act.menu_argument_long
    act.menu_argument_short
    Of
    fnd_form_custom_rules rul
    fnd_form_custom_scopes sco
    fnd_form_custom_actions Act
    WHERE 1 = 1
    AND rul.id = sco.rule_id (+)
    AND rul.id = act.rule_id (+)
    AND there are (select "is" the PRP fnd_form_custom_prop_list where act.object_type = prp.field_type)
    ORDER BY
    RUL.form_name, rul.function_name, rul.sequence, act.sequence

Maybe you are looking for

  • Comon module completed message on Satellite A305-S6905

    Hello. I have a laptop "Satellite A305-S6905" with XP SP3 computer. When I double click in the Panel / HWSetup TOSHIBA a message "HardwareSetup COMMON MODULE FINISHED!". Also the FN key does not work.Help, please. Thank you

  • Xperia Arc S showing error update

    My companion PC shows that there is an update, but every time I try to update the service disconnects in the Middle showing an error that it is impossible to download the components. Help!

  • optimum heating

    What are the optimal heat during normal use for an r40 and along the same line when it is about economic and clean to bring it to someone to put some thermal grease where it belongs? I'm running about 40 on a gauge and 59 on the other hand now. (whic

  • HP photosmart Plus B210 series - prints blank pages

    Hello, I got the printer above for about 4 years with no problems. He suddenly started printing blank pages. I went through all the cleaning cycles, alignment etc., but without success. I bought a new genuine HP print head and installed new cartridge

  • Features of Smartphones Curve 8310 4.5 - lost blackBerry OS upgrade.

    On Sunday, I ran the web update for my device to OS 4.5. Since the upgrade, I lost some features. I can't open PDF attachments, and Microsoft Word Document new fixing/editing is non-existent. Other things that seem to be missing are the task list/Not