Process and cursors

Hi,
I would like to know if it's possible to declare a cursor in the source of a PL/SQL process?
Right now I have this in the source:
declare
cursor cur_t is select * from p_client;
begin
end;
And when I try to save I get this error message:
ORA-06550: line 7, column 1: PLS-00103: Encountered the symbol "END" when expecting one of the following: ( begin case declare exit for goto if loop mod null pragma raise return select update while with << continue close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe purge
If it's not possible, could I call an existing procedure from this process?
Thanks,
Mathieu

Mathieu:
declare
cursor cur_t is select * from p_client;
begin
null;
end;
will compile.
Varad

Similar Messages

  • I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function works

    I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
    Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
    The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
    I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem.  I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
    I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
    I am in film competition overseas and need to have deliverables in less than a month's time.  I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
    Any assistance would be greatly appreciated.

    Still getting software freezes but found a way to mitigate for the mean time.
    Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
    You will want to highlight Adobe QT32 Server.exe
    Right click and select "End Process Tree"
    You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
    If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
    CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
    Right-click to "End Process"
    No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
    Hope this helps until the bug is fixed.

  • Firefox become in Offline mode and unable to open any page and when shut down it remains in processes and freez up, blocking another to be run

    When I on my Laptop, Acer Aspire 5735 with Windows 7 Ultimate run Firefox all runs perfectly smooth, all is working as expected, but when I go to Sleep mode or Hibernate (Firefox remains open) after turning on Firefox is not active any more, all open tabs are there but surfing is unavailable. Firefox reports message that it is in Offline mode (but menu File > Work Offline is not checked and if I check it and uncheck it again it doesn't have any impact). Which means If I open new tab and write web address it wont open, if I click any link in opened tabs from before, it wont open anything and it will show message that Firefox is in offline mode. After that I shut down Firefox by using Close(x) button and it disappears from desktop but it remains in memory and active processes not allowing any other instance of Firefox to be run. Finally I shut it down on force (End process) and start another instance and all works perfect. I am not sure is this only my problem with hardware/software configuration so I wanted to share this.

    This is a pain but I have resolved it. This is instructions for Windows 7 but it may be the same on other Operating systems.
    Note: "''YOUR USERNAME''" relates to the account you log on to Windows with.
    # First go to control '''panel / folder options''' and ''uncheck'' ''''Hide extensions for known file types'''', ''check'' ''''Show hidden files and folders'''' and ''check'' ''''Show hidden operating system files'''' then click ''apply'' and ''OK''.
    # Go here :''' C:\Users\"YOUR USERNAME"\AppData\Roaming\Mozilla\Firefox\''' and copy the '''Profiles''' folder to your desktop.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Local\Mozilla\Firefox\''' and copy the '''Profiles''' folder to your desktop. You will need to rename this as you already have a Profiles folder so name it '''Profiles2'''.
    # Uninstall Firefox (''selecting to remove all user settings'') then go here: '''C:\Program Files\''' and delete the ''Mozilla Firefox'' folder.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Roaming''' and delete the ''Mozilla'' folder
    # Go here: '''C:\Users\"YOUR USERNAME"\AppData\Local\ '''delete the ''Mozilla'' folder.
    # Open another browser (i.e.'' Internet Explorer'') and download and install ''C-Cleaner'' here: [http://www.piriform.com/ccleaner/download/standard]
    # Once installed run the ''''Registry cleaner'''' over and over until no problems are detected and exit the application. You may now uninstall it but it is probably one of the best free apps available as it has a better uninstaller than Windows does and controls which programs run when Windows starts without using the 'msconfig' command.
    # Now download the latest version of Firefox with your other browser and install it then run the application once and close it down.
    # Open the ''Profiles'' folder on your desktop and inside you will find one or more folders with a name ending in '''.default''' (i.e. ''uomifhku.default''). Right click each folder and select '''Properties''' to see which contains the highest amount of data or the bigger file size. Once you have done that open the largest folder and make sure there is nothing in there with '''... @security.compass''' written on it. If there is then delete it. Hold your ''left'' mouse button and move your mouse pointer over all of the files to highlight in blue. Put your mouse cursor on any one of the files, ''right click'' and select 'Copy' to copy them all to system memory and then close the folder.
    # Go here: '''C:\Users\"YOUR USERNAME"\AppData\Local\Mozilla\Firefox\Profiles''' and find the folder ending in '''.default''' then open it. Now ''right click'' anywhere on the background in the main Payne containing the files and select 'paste'. When prompted to '''Overwrite Files''' and '''Merge Folders''' always accept and proceed. Once done, close the window.
    # Open the '''Profiles2''' folder on your desktop and inside you will find one or more folders with a name ending in '''.default''' (i.e. ''uomifhku.default''). Right click each folder and select '''Properties''' to see which contains the highest amount of data or the bigger file size. Once you have done that open the largest folder and make sure there is nothing in there with '''... @security.compass''' written on it. If there is then delete it. Hold your'' left'' mouse button and move your mouse pointer over all of the files to highlight in blue. Put your mouse cursor on any one of the files, ''right click'' and select '''Copy''' to copy them all to system memory and then close the folder.
    # Go here : '''C:\Users\"YOUR USERNAME"\AppData\Roaming\Mozilla\Firefox\Profiles''' and find the folder ending in '''.default''' then open it. Now right click anywhere on the background in the main Payne containing the files and select '''paste'''. When prompted to '''Overwrite Files''' and '''Merge Folders''' always accept and proceed. Once done, close the window.
    Start Firefox and if all is well you should be working again and it back in the state you left it last without the bug.
    Many thanks, sparkyuiop

  • Calling stored procedure from page process and PLS-00049 error?

    Good morning guys!
    I'm dealing with several problems this morning! The one that I need to deal with first is the following.
    I created the page process (see below: 1st code) in order to validate if all records where LNG_GEBIET matches have the status 3 or 4. If that is the case I want to call the procedure "set_status_arbeit_zu_gebiet". If amountrs and countstat do not match, then nothing is supposed to be done.
    The problem lies within the stored procedure itself. I receive a PLS-00049 bind variable error for :new.LNG_GEBIET.
    Can you please tell me what I forgot to declare in code 2 below???
    Thank you guys!
    The page process:
    Declare
      amountrs    number;
      countstat   number;
    begin
    SELECT COUNT(*) INTO amountrs FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET;
    SELECT COUNT(*) INTO countstat FROM TBL_PUNKTDATEN where LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 3 or LNG_GEBIET = :P4_CNT_GEBIET and INT_STATUS = 4;
        IF amountrs = countstat THEN
         set_status_arbeit_zu_gebiet;
        ELSE
         dbms_output.put('nothing');
        END IF ;
    end;Code 2 with the true problem!
    CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet
    IS
        cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET=:new.LNG_GEBIET;
        v_c2  c2%ROWTYPE;
    BEGIN
       open c2;
    fetch c2 into v_c2;
    if c2%notfound then
            INSERT INTO TBL_ARBEIT_ZU_GEBIET
            LNG_GEBIET,
              LNG_ARBEITSSCHRITT,
              PNUM,
              INT_BEARBEITER,
              DATE_DATUM,
              GEPL_DATUM
            VALUES
            (:new.LNG_GEBIET,
             52,
             1114,
             895,
             sysdate,
             to_date('01.01.1990', 'DD.MM.YYYY')
            commit;
            close c2;
    END set_status_arbeit_zu_gebiet;One more question: Is it possible to integrate the first validation that calls my stored procedure into code 2?
    Thanks for you time!
    Sebastian

    The error is in following statement:
    INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... ) VALUES ( :new.LNG_GEBIET, ... );
    As the statement is part of a procedure and not trigger so it is not able to bind this variable with any value.
    As a resolution, pass this value to the procedure from the process and use it in the insert statement.
    The process will have following IF statement:_
    IF amountrs = countstat THEN
    set_status_arbeit_zu_gebiet *(:P4_CNT_GEBIET)*;
    ELSE
    dbms_output.put('nothing');
    END IF ;
    and the procedure will be as follows:_
    CREATE OR REPLACE PROCEDURE set_status_arbeit_zu_gebiet *(p_lng_gebit varchar2)*
    IS
    cursor c2 is select LNG_GEBIET from TBL_ARBEIT_ZU_GEBIET where PNUM = 1114 and LNG_GEBIET= --:new.LNG_GEBIET-- p_lng_gebit ;
    v_c2 c2%ROWTYPE;
    BEGIN
    INSERT INTO TBL_ARBEIT_ZU_GEBIET ( ... )
    VALUES
    ( --:new.LNG_GEBIET--  p_lng_gebit, ... );
    END set_status_arbeit_zu_gebiet;

  • Select and Cursor doubt

    Dear All,
    I got a doubt b/n select and cursor.
    I read in one oracle book that select into clause will actually tries to get the data twice, Whereas the cursor will query only ones.
    Is this the case in Oracle 10g or both the select and cursor will fetch the data only ones.
    Ex
    select sal into v_sal from emp where empno = 7788 --> Ones it hit the data, oracle will again scan the entire set of records in the emp table for another match.
    Whereas
    Cursor c_sal is select sal from emp where empno = 7788; --> This will do the fetch operation only ones.
    Is this the case still True in Oracle 10g or 11i.
    Appreciate your help.
    Thankyou very much
    Madhu K

    the query is processed as follows (this is from ora doc)
    Parse:
    – Search for identical statement
    – Check syntax, object names, and privileges
    – Lock objects used during parse
    – Create and store execution plan
    Execute: Identify rows selected
    Fetch: Return rows to user process
    for cursor also same things are performed, but cursor is private sql area in which you can processes one row at a time, you can use cursor in your pl/sql program and access one row a time,
    so if you say,
    cursor c1 is select * from emp;
    c1 is private sql area where you can processes single row of emp , make comparisons, calculations etc,
    once you close the cursor this area is released and can be used by another cursor,
    the basic query processing rules remains the same,

  • When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.

    Problem:
    When I plug in my iPhone to sync, it starts but does not complete the process and several pieces of data are not being transferred to my iPhone from my MacBook Air.
    Any help that you can provide in helping my iPhone accurately sync with iPhoto and iTunes will be greatly appreciated.
    Symptoms:
    1)   Sync:  It’s not completing the sync.  Below, I’ve provided all of my settings from the iTunes Summary tab so that you might tell me if I’ve selected any incorrect options.  I prefer to sync the “old school” way – by connecting to the computer – as opposed to syncing over the cloud. Perhaps this is what’s causing the problem? Here is a list of the steps displayed in the iTunes window as the sync progresses:
    waiting for sync to start (step 1 of 7)
    backing up (step 2 of 7)
    preparing to sync (step 3 of 7)
    determining apps to sync (step 4 of 7)
    preparing apps to sync (step 5 of 7)
    importing photos (step 6 of 7)
    waiting for changes to be applied (step 7 of 7)
    syncing apps / copying 1 of 4 (App name) (step 7 of 7)
    canceling sync
    apple icon
    2)   Photos: I've selected only certain of my iPhoto albums to sync to my iPhone.  All of the albums are correct/complete in iPhoto.  All of the albums are listed on my iPhone, both before and after the sync, but the albums are empty (no actual photos) before and after the sync. Perhaps this is tied to the fact that the sync isn’t completing, but because “importing photos” is one of the steps that the incomplete sync displays, I don’t know.
    3)   Apps: When I launch iTunes and click on the Apps folder under the Library listing, then click on the Updates tab, iTunes searches for any Apps needing to be updated and provides a list.  If I click on Update All, the Apps are successfully updated in iTunes.  But, when I plug in my iPhone so that the updates will transfer to the apps on my iPhone, the updates don’t transfer to the apps on my iPhone and those apps still reflect that they need updating on the iPhone.
    Other Potential Pertinent Info:
    The flash memory hard drive on my MacBook Air recently died (perhaps a month or two ago).  Apple had emailed me about a known issue and literally the next day, my MacBook Air crashed.  I installed a new flash memory drive and re-installed everything from a backup off of an external hard drive.  Everything seems to be working fine; it recreated accurately all of my software and data, including iPhoto and iTunes, the pictures and songs (respectively) for which are stored on that hard drive, as opposed to being on the flash memory in the MacBook Air itself.  However, I don’t recall if the start of the sync problem described herein started happening at the same time that I replaced the flash memory drive.  All I know is that the computer is working perfectly in all respects and that even as the sync is failing, it at least says that it’s doing the right things and looking in the right places (e.g., the list of albums on my iPhone matches the list of albums in iTunes, etc.).
    Settings/Status:
    MacBook Air
    OSX v. 10.9
    iPhoto ’11 v. 9.5 (902.7)
    iPhone iOS 7.0.4
    iTunes v. 11.1.3 (8)
    Summary Tab
    Backups (This Computer)
    Options
    Automatically sync when this iPhone is connected
    Sync only checked songs and videos
    Photos Tab
    Sync Photos from iPhoto (429 Photos)
    Selected albums, Events, and Faces, and automatically include (no Events)
    Albums – 9 are selected

    You need to download iTunes on your computer. iOS 6 requires the latest version of iTunes which is 10.7.

  • Third Party Process and Inventory

    We are using the SAP function "Third-Party Processing". We are using the function in it's standard (SAP R/3 4.7).
    The auditor now has the following issue: Shipping the goods starts after paying the goods. Out of this, while shipping the goods, we are the owner of them. In this circumstance the ship is our warehouse.
    SAP does not allow an Inventory Management within Third-Party Processing:
    "Since a third-party order involves a movement from the vendor direct to the customer, Inventory Management is not in any way affected. If you wish to document the movement in the system, however, you can create a goods receipt for the third-party order."
    With the SAP functions in this scenario it is correct that the warehouse stock is not being impacted. This is a conflict with the opinion of the auditor.
    Let me explain in detail what is wrong out of the view of our auditor:
    For example we initiated the order of a customer in June and we have paid the goods in June. The shipment starts in June and the goods will arive in July. Due to the fact, that we are the owner of the goods on the ship, we have to increase the stock. This is the opinion of our auditor.
    Does any body know, how to solve the issue? How do you manage Third Party Processing & Inventory?

    Some auditors just dont understand the SAP process. Instead of talking to weak users, they should talk to SAP directly.
    What about shipments from standard sales orders that are shipped end of June and do arrive at the customer in July?
    When do you bill your customer? when the goods arrives there, or earlier? Depending on the Incoterms you may still be the owner until the truck is unloaded.
    If you change your process and post goods receipt to your warehouse, then you show inventory where no physical inventory is, you posted a goods receipt without a physical receipt. I am sure the next auditor will not allow such therotical process.
    Get together, IT consultants of FI and MM and SD, strong business people for the same modules and the auditor, and discuss and find an optimal solution.And let the auidor sign the decision paper!!! Very important, I recently had to convice German auditors because they had different opinion than the Australian and US auditors of the same auditing company (and the issue had nothing to do with local legal requirements).

  • What is the optimum core configuration for a new Mac Pro to process and manipulate very large (80 megapixel) images using PhotoShop and Camera Raw?

    Hello:
    I will be using creative techniques to process and manipulate a large number (hundreds) of very large (80 megapixel) images captured using a medium format digital back (Phase One IQ180).
    Final output will be digital fine art imagery printed using an Epson 11880 at large sizes (up to 60 inches x ?), retaining the highest possible quality and resolution. I will be using Adobe CC PhotoShop and Camera RAW as well as Capture One software. PhotoShop filters will be used extensively.
    The Mac Pro needs to be optimized for the above purpose and be useful for at least five years. I plan to max out all the other options (RAM, graphics cards, storage). Performance is more important than cost.
    The few discussions I have found that mention optimum core configurations seem to lean toward 6 or 8 (but likely are not taking into consideration my need for manipulating a large number of very large files), so I am looking to this foum for opinions.
    Thank you,
    Kent

    See if this helps
    http://macperformanceguide.com/index_topics.html#MacPro2013

  • Image Processing and machine vision don't appear in Function Palette

    Hi,
    I have problem and I can't solve it
    Image Processing and machine vision don't appear in Function Palette, Although I set up NI imaq and NI Vision Acquisition Why??
    Anyone can help me?
    Solved!
    Go to Solution.

    If the image is already a Grayscale U8 image you would just have to save it to a bitmap file using the IMAQ WriteFile VI. If not, use the IMAQ Cast Image VI to convert it to a Grayscale U8 and then save it.
    Also, it would probably be better to create a new thread for questions like these.
    Cameron T
    Applications Engineer
    National Instruments

  • Spawned Processes and Memory

    Hi Guys,
    Does the JVM limit the amount of memory that a process uses when spawning using Runtime.exec()
    Basically we are trying to run the microsoft linker from Java (via Maven) and it keeps erroring with 'out of memory' this seems to happen when the process uses around 275MB of RAM.
    Are processes spawned by Java limited to the amount of memory allocated to the JVM via -Xmx ?
    Any insight on this matter would be appreciated.

    Check the source code of the function
    Java_java_lang_Win32Process_create
    in j2se\src\windows\native\java\lang\Win32Process_md.c (you can get such
    source code downloading the SCSL Source code.
    The relevant information is posted below.
        si.dwFlags = STARTF_USESTDHANDLES;
        processFlag = CREATE_NO_WINDOW;
        ret = CreateProcess(0,                /* executable name */
                            cmd,              /* command line */
                            0,                /* process security attribute */
                            0,                /* thread security attribute */
                            TRUE,             /* inherits system handles */
                            processFlag,      /* selected based on exe type */
                            envcmd,           /* environment block */
                            cwd,              /* change to the new current directory */
                            &si,              /* (in)  startup information */
                            &pi);             /* (out) process information */It simply does not adjust memory size, or do something mysterious. It simply creates the process, and redirects the input , output and error streams.
    You really must get more memory (or adjust the size of your Windows swap file)...
    You can try lowering (not raising) the -Xmx limit of your Java program to make more room for the "link" process.

  • I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted!

    I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted and I can't use my computer!!

    I don't know if you've already resolved your problem, but I had the same thing, it took me 6 hours to fix it. I had the exact same as you, installed the update and then it went to a white screen. After trying start up holding down cmmd r or holding down the alt key to try to install it again, nothing worked, same result every time. Then an angel came to me here somewhere but I can't find it now to thank him. Start in safe mode, press shift once you hear the start up chime and hold it down until you hear it again. Installation completion box came up and it was working. turn off computer and start up again normally and all is well. Except my final cut pro x doesn't work with it, have to update that now too. same as when I updated to mavericks.
    Hope this helps.

  • I'm trying to buy a book. The book is made in I-Photo and when I push buy book button it starts to process and than says--  There was a problem communcating wit the apple store   " help"

    I'm trying to buy a book I made in I-photo. I have made a 20 page book in I-photo and when I push the "buy book" button it starts to process and then pops up a sign that say'es There was a problem commucating with the apple store. Please try again.   Help

    Are you buying from the correct Print Products Store?  If you are using the wrong store, your AppleID may not be valid.
    Is the Print Products Store set correctly in iPhoto Preferences > Advanced?  It should be set to the  same country as your billing address and delivery address, and match the settings of the Apple ID you are using.
    And you are using iPhoto '09 or '11, right?  you can no longer buy books from earlier versions.
    When you reenter your settings as LarryHN described, don't forget to enable Express Checkout. It is required.

  • Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.

    Probably will never ever think of buying a locked phone from AT&T cause its one of the worst system integrations ever that these companies could think of.
    The entire problem started when I put in a request with at&t to unlock my iphone 4s (ios7) which did get approved. I performed the entire instructions they asked me to do, which is to backup and restore. After doing those instructions my iphone gave me an error message below
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Basically saying that at&t hasn't still unlocked the iphone which a really helpful apple executive was able to confirm. I initiated another unlock process from at&t in order to unlock the iphone, just to be sure that its not something wrong from my end. The nice at&t lady stayed on chat with me to unlock the iphone step my step while I was calling the apple tech too. And the apple tech confirmed again that the iphone is locked to at&t.
    Now, just a few minutes ago I tried another restore to see if any progress is being made and to my surprise I got an error message saying
    Replacement Needed. This iphone is not able to complete the activation process and needs to be replaced. Please visit your nearest apple store or authorized service center.
    I feel like I am just going around these two different "money hogger" companies which set certain rules and regulations to screw a regular phone buyer. I purchased this iphone in USA and trying to unlock in India, is it really this hard to simply unlock a device.
    For now I am going to try to call a apple office in india (apprently we don't have very many out here) and see if they can help me. But any other assistance regarding unlocking an iphone 4s would be helpful. I have however, tried checking IMEI.info, called up apple, talked to at&t (which always say go talk to apple) I do have a case number from apple as well in case an apple executive reads this discussion forum (case number: 566383594)
    Thanks

    You got a confirmation from AT&amp;T that it was authorized. Is this correct? - Yes i did get an email authorization on the 21st.
    Then you connected the phone to a computer with the latest version of iTunes installed. You clicked on the phone's name in iTunes, then clicked "Backup Now". - Yes
    When that finished you clicked "Restore iPhone" (NOT "Restore Backup") - Yes
    Are you with me so far? - Yes.
    And @ Varjak is right that after the 3rd restore I get the replacement error. 
    Plus I have NEVER jailbroken the iPhone. To give you another update, I spoke to a really nice apple tech in India who was atleast able to get me out of the replacement error by doing a recovery mode option. However, the lastest restore still gives me the same error
    The SIM card inserted in this iPhone does not appear to be supported.
    The SIM card that you currently installed in this iPhone is from a carrier that is not supported under the activation policy that is currently assigned by the activation server. This is not a hardware issue with the iPhone. Please insert another SIM card from a supported carrier or request that this iPhone be unlocked by your carrier. Please contact Apple for more information.
    Message was edited by: jabgars

  • I attempt to open a second window from the icon but it does not open then when firefox is closed it will not reopen because it is still running in processes but no window displayed until you kill the process and then restart firefox.

    I attempted to open a new window from the Firefox icon but nothing happens. I then went on browsing and closed Firefox but was later unable to open it. I checked processes and it was already running but there was no window displayed. I am running Windows 7 Professional.
    This is repeated any time I already have the browser open and wish to open a second instance.

    '''<u>Open a second window (not a second tab, that is different) when Firefox is already running and displayed on the monitor</u>'''
    *Firefox button > New Tab > New Window
    *CTRL+N
    *'''''If using the Menu Bar''''': File > New Window
    **To '''''temporarily''''' display and make choices from the Menu Bar press the ALT key or the F10 key
    **Also see: https://support.mozilla.com/en-US/kb/Menu%20bar%20is%20missing
    '''<u>Firefox "hang on exit"</u>'''
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Autocommit and Cursor commit Behaviour

    Hi,
    I need help to set and get the Autocommit and Cursor commit behavior attributes
    in Oracle.
    AUTOCOMMIT:
    For DDL Statement, this attribute is set while executing the OCIStmtExecute() api
    as below:-
    r = OCIStmtExecute(d->svc, d->sql, d->err, 1,0,
    (CONST OCISnapshot *) NULL,
    (OCISnapshot *) NULL,
    d->transaction ? OCI_DEFAULT :                                         OCI_COMMIT_ON_SUCCESS);
    For DML Statement, from the OCI documentation the database parameter attributes
    support OCI_ATTR_AUTOCOMMIT_DDL with the values OCI_AC_DDL and OCI_NO_AC_DDL.
    Since this is a parameter attribute, I couldn't set using OCIAttrSet() API.
    I need help in implementing AUTOCOMMIT for both DDL / DML statements.
    CURSOR COMMIT BEHAVIOUR:
    Similarly, I have observed that Oracle support cursor commit behavior attributes
    using OCI_ATTR_CURSOR_COMMIT_BEHAVIOR and the attribute values are OCI_CURSOR_OPEN and OCI_CURSOR_CLOSED.
    I have tried setting this attribute as below:-
    ub1 nCommitType = OCI_CURSOR_OPEN;
    oraRC = OCIAttrSet((dvoid *)d->svc, (ub4)OCI_HTYPE_SVCCTX,
         (dvoid *)&nCommitType,
         (ub4)sizeof(nCommitType),
         OCI_ATTR_CURSOR_COMMIT_BEHAVIOR, d->err);
    This always fails with the error ORA-24315: illegal attribute type.
    I need help in setting this attribute using OCI.
    Another approach to set Autocommit / Close Cursor attributes:-
    Oracle support SET commands for autocommit and closecursor, I have prepared
    and executed these set commands using OCIStmtPrepare and OCIStmtExecute api. The OCIStmtExecute() API fails to execute the below command texts.
    SET AUTOCOMMIT ON/OFF
    SET CLOSECURSOR ON/OFF
    Is it the right method of setting these attributes?
    Thanks,
    Sankar.P.

    Hi.
    You are trying to commit "child" information before your Parent information is commited.
    Can you describe how you dragged & droped your views?.
    Dragged relationship views or single views?.
    Can you put output log with jbo with FINEST level?.
    To find a solution try next solutions:
    1) Disable "strong" association between your parent-child entities. To achieve it follow next steps:
    - Go to your "Assoc" that describes your foreign key.
    - In "Realtionship" tab, "Behaviour" disable "Composition Association".
    Image: http://1.bp.blogspot.com/-Em8NZvjOUzo/T_NQbJTcLjI/AAAAAAAAAm4/hPsDwtEhJQ4/s1600/4.png
    2) Drag and Drop correct views as a Master-Detail (cascading views in your Data Control).
    http://2.bp.blogspot.com/-1By5vNNGMFQ/T_NQdYzexKI/AAAAAAAAAnE/DGn7Gr0RSDw/s1600/6.png (in spanish).
    In the image, drag & drop PortalwebView2 is the correct way for Master-Details tables. Probably you dragged PortalwebView1 that have dependecy to master table.
    Steps that you have followed:
    - Drag & Drop dependen View Object as a Master-Detail with two tables.
    - Add Create operations from these views to create Rows.
    - Add Commit general operation from Data Control.
    Try to drag & drop Master-Detail views correctly before disable association.
    PD: To try your model faster run Model project instead of your application.
    Regards.
    Edited by: Daniel Merchán on 30-jul-2012 12:05

Maybe you are looking for