EXEC_SQL - OPEN-FORM & the Primary Developer Connection

Greetings,
EXEC_SQL uses connection handles that are defaulted to what is considered the "Primary Developer Connection". In a multi form application environment in which each form is started up via OPEN-FORM, a newly opened form creates its own database connection so that each form operates under their own session and own logical transaction for COMMIT or ROLLBACK purposes. If EXEC_SQL were used in these forms, would that dynamic SQL operate within the same database connection established by the host form or would the "Primary Developer Connection" (EXEC_SQL default) override the OPEN-FORM database connection?
We have some forms utilizing DBMS_SQL (migrating to EXEC_SQL) that rely upon operating within the host form's database connection so that the queries see uncommitted data that has been created under that form's connection.
Thanks In Advance,
pT

Brian - Sometimes whitespace at the end of the block causes this. Be sure to trim everything after the last semicolon including tabs and newlines.
Scott

Similar Messages

  • My MacBook keeps switching the primary network connection to Ethernet cable

    I've hooked up a Belkin N+ Wireless Router and it works just fine. Problem is everytime I shut down my computer or put it on sleep, the computer switches it's network connection to Ethernet and disconnects from my wireless network. I have to go into network settings and turn the airport on and refind my network in order to use the internet. Is there any way to make the computer set my wireless network as the primary network and not to change it? Thanks in advance for your help.

    I think that you can - from the system preferences menu, select network, then click on the little gear at the bottom left side (just below your network devices), from there, select the option to "Select Service Order", then drag the wireless (Airport) to the top of the list.

  • When is Apple going to open up the iPhone Developer Program?

    I signed up for the iPhone Developer Program almost as soon as one could sign up for it. I was one of the unlucky many who got the "you are not important enough to let into the Developer Program" e-mail. That was months ago when the rumor was that they would be opening it up around the time of the WWDC. Well, it is now WWDC time. Is there any more info on this?
    Why don't I use the iPhone Simulator? The iPhone Simulator does not simulate the accelerometer very well (i.e., it does not simulate it at all) and the accelerometer is important for my app. I can't even tell if my app is feasible without running some test code so that I can get a real world sense of how well the accelerometer works.
    Between this and the significant issues that I am having with my MBP and Apple's lack of response, I am starting to feel that I picked a bad time to start doing Apple development.

    Excuse me, but Apple clearly has decided that some application developers are more important than others. The App Store is opening up next month and I don't think they will be selling apps that haven't been QA'ed on real devices. Oh, I get it. All of the big name mobile software vendors that Apple wants to display in their App Store just happened to get randomly selected.
    "Apple has no way of knowing who has real apps ..." Well, I told them that I did. I even told them that it uses the accelerometers, so the simulator wouldn't help.
    You note that Apple says that there are 21k developers in a holding pattern. What is it about the iPhone Developer Program that stops Apple from just taking people's money and issuing them cookies (or whatever) that allows the downloaded SDK to load apps on real devices? Inviting people over to your house to install your app on their iPhone/iPod touch is not a very good distribution model; the App Store is needed for distribution. The limiting factor is the gatekeeper for the App Store, not a SDK that can run code on real devices. So, why don't they freely distribute a SDK that can run code on real devices?
    After telling the world "look, a SDK for the iPhone" months ago, why can't Apple even give a date to 21k people who took the time to sign up for the Program when they might be able to run their apps on real hardware?
    I want to do things the right way (through Apple's SDK) and I really don't like the idea of jailbreaking, but right now that seems like the only option that I have to proceed with my app development.
    alan
    Message was edited by: tipo158

  • Not Able To Open Forms Session After Developer 6i patch

    Hi,
    Our enviroment is
    Db version --> 9.2.0.6
    EBS version --> 11.5.10.2
    We are upgrading our db to 10gr2.As a prerequisite developer 6i patch (patch 19) has been applied.
    After this patch, some forms could not be opened .No error or anything observed in logs.
    After some investigation, when the responsibility key updated into new value the forms have been opened succesfully.
    Update -->
    update fnd_responsibility set responsibility_key='SYSTEM_ADMINISTRATOR_N'
    where responsibility_key='SYSTEM_ADMINISTRATOR';
    But this update caused concurrent managers not open.Because of this error -->
    Routine AFPCSQ cannot set profile option value for USER_ID. ORACLE
    error 1403 in get_responsibility_data
    Cause: get_responsibility_data
    failed due to ORA-01403: no data found.
    error.
    select application_id,responsibility_id,responsibility_key, end_date
    from fnd_responsibility
    where responsibility_key like 'SYSTEM_ADMINISTRATOR'
    returned no data.
    SYSTEM_ADMINISTRATOR responsibility may be special case.By applying this update
    to other responsibility solves the problem.But this behaviour is true or not ?
    We couldn't find any solution.
    Thanks for advices.

    Hi,
    I believe this approach is not correct since you should not update this table manually. For the CM error, it is expected to get this error as the select statement no longer returns "SYSTEM_ADMINISTRATOR" after the update.
    I suggest you obtain the FRD log file and see if errors are logged there when trying to reproduce the issue.
    Note: 150168.1 - Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=150168.1
    I would also suggest you enable debug on Jinitiator and see if it generates any errors.
    Regards,
    Hussein

  • Can Oracle Form Builder 10g open forms created with Developer 11g?

    Hi,
    Two different groups of developers developed forms in both Forms versions 10g and 11g. There will be call_forms between both versions and both will run under the same portal. Production is 10g. Is it possible to open 11g forms in 10g Form Builder? Suggestion/ solutions are appreciated.
    Thanks,
    Victor

    It is likely you will run into issues, so I would say best not to. I have done it a couple of times by accident during migration of Forms 10g to 11g. You can still open and view the 11g forms code in the Forms 10g builder, but will likely see some objects appear as incorrect types. Saving the 11g form in such a state from the 10g Forms Builder may result in corruption.

  • My iPhoto will no longer import from my iPhone, iPhoto does not open when the phone is connected. iPhone sooftware 9.5.1  90217,  iMac software 10.9.2   Thanks

    Has anyone had this problem?

    This is the Mac Mini forum
    Does iTunes see the iPhone?
    If you open iPhoto does it see the iPhone?
    See:
    iOS: Unable to import photos to computer
    Have you installed any third-party camera or scanner software?

  • GB chooses to open on secondary monitor, not the primary monitor?  It was working fine, then started this.

    New Mac Mini running new Garageband.  2 monitors.  Working fine, however, all of a sudden GB started to choose to open and not be able to move from secondary monitor.  What may have changed and how can I rectify this.  I would like GB to open on the primary.  All of applications open on primary monitor.

    There is some confusing information in your post.  You say iMac g5 & 10.6.6.  The iMac g5 cannot run 10.6.6.  10.6.6 requires an intel machine.
    I'll assume iMac g5.
    There have been many reports of capacitor problems with these machines.  There are capacitor replacement kits if you want to experiment with a soldering iron.
    You could try a new battery.
    Since you are having succes running the machine, I'd say it is a hardware problem. I've read a little on the capacitor problem.  Seems to fit what I have heard.
    google: g5 capacitor replacement kit
    Seems rather inexpensive.
    http://thecapking.com/applg5.html
    & lots of info on repairing on this site.  Offers this good suggestion.
    "Additionally you may also go to any Apple Retail Store with a Genus Bar, and have the Apple folks take a look inside the G5 and look at the caps on the iMac logic board for you."
    http://jimwarholic.com/2008/07/how-to-repair-apple-imac-g5.php

  • In a multiple monitor situation, how do I get popup windows to open on the same monitor as the parent application is displayed.

    I have two monitors. I have an application that I run all day, displayed on my secondary monitor. Whenever a popup windows is launched form that application, it always opens on the primary monitor. Very annoying. Any way to get the popup to launch in on the same monitor as the parent application?

    Did you solve this problem ?

  • Unable to open form

    Hi
    Whenever i am trying to open form from Application Developer, following error is displaying
    "FRM-92101 There was a failure in the forms server during startup. This could happen due to invalid configuration.Please look into the web server log files for details."
    Can anybody help how this can be resolved.
    Thanks
    Sas

    Pl post your full OS and EBS versions. Pl enable Java/JInitiator console debugging and check Apache logs for any errors. Has this ever worked ? If so, what changes have been made recently ?
    452853.1 - How To View The Java Console And Enable Tracing For Sun JRE (Native Plug-in)
    419839.1 - How to enable Apache, OC4J and OPMN logging in Oracle Applications R12
    429627.1 - FRM-92101: There Was a Failure in the Forms Server During Startup After Fresh R12 Installation
    HTH
    Srini

  • I have two screen on my PC. Adobe always opens on the second screen. I would like to change this. Ho

    I have two screens on my PC Adobe always opens on the second screen. How do I change this to open on the first screen.

    It should (should) stay where you close it from, especially if you have it maximized on that monitor. I can't guarantee that because I'm having the same problem with Firefox this morning. I always open it on my secondary montior, and today it will only open on the primary.

  • Delay in the release of connections to pool after closing.

    Hi,
    I'm using typical jdbc code to close the Connections got through ConnectionPool created on Weblogic 8.1. When the data access / update code is completed execution, I could observe couple of connections still open in the weblogic console connections monitor screen.
    These open connections are getting released after 15 minutes approximately, provided if I'm not accessing any DB access/update code till then.
    I'm using the following code for closing all the jdbc resources.
    public static void closeAllResources(){
             try{
                 if (rSet != null){
                    rSet.close();
                    rSet = null;
                 if (rSet2 != null){
                      rSet2.close();
                     rSet2 = null;
                 if (preStatement != null){
                     preStatement.close();
                     preStatement = null;
                 if (callStatement != null){
                    callStatement.close();
                    callStatement = null;
                 if (conn != null){
                     conn.close();
                     conn = null;
             catch (SQLException e){
    }I'm closing the jdbc resources as follows in finally block...
    public static boolean saveXXX(String userid, ArrayList list) throws SQLException{
         BaseDAO  baseDAO = null;
             String scode= null;
              try {
              baseDAO = new BaseDAO();
                  conn = baseDAO.getConnection();                  callStatement = baseDAO.prepareCallableStatement("call pkg_1.pr_add_XXX(?,?)");
                                 callStatement.setObject(1, userid);     
                 callStatement.setObject(2, scode);
         int saveResult = callStatement.executeUpdate();
         finally {
         closeAllResources();
         return true;
    }Both the above methods are present in the same java class.
    Can sombody help me in resolving the issue immediately?
    Regards
    Sudarsan

    Do you understand what a connection pool is and how it works at all?
    It is a pool of open connections. It therefore perfectly fine and appropriate for their to be open connections from your pool to your database once you have returned them to the pool. These connections will be kept alive for a period of time (in your case apparently 15 minutes) to serve the next request for a connection from the pool.
    This is really the whole point of using a connection pool. Reuse.

  • HT201210 After updating my iphone. Only the logo and connect to itunes on the screen.

    After updating and system restore my iphone wont open. only the logo and connect to itunes on the screen.

    Hello nicolajan,
    Thank you for contacting Apple Support Communities.
    I see you linked here from TS1275, that is where I would recommend you starting to troubleshoot this issue. Did you follow the steps in that article? If not, here is that link again and I would recommend following all of the steps outlined there.
    Resolve iOS update and restore errors in iTunes
    http://support.apple.com/kb/TS1275
    If that doesn't resolve the issue, then you can move on to this article for more advanced troubleshooting.
    Resolve iOS update and restore errors
    http://support.apple.com/kb/TS3694
    Regards,
    Jeff D.

  • Commit during Call form,open form?

    If i open another form using call/open form command and exit out of the form which is over the base form with some code, what will happen to the data in the base form.
    How can i commit from the call /open form the base form.
    is there any property that needs to set up.
    What is the default behaviour in case of New form, open form , call form.

    Call form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    New Form:
    Runs an indicated form while keeping the parent form active. Form Builder runs the called form with the same Runform preferences as the parent form. When the called form is exited Form Builder processing resumes in the calling form at the point from which you initiated the call to CALL_FORM.
    Open Form:
    Opens the indicated form. Use OPEN_FORM to create multiple-form applications, that is, applications that open more than one form at the same time.

  • The system cannot connect to the Application Server

    Hello Everybody,
    I have a problem when connecting to my BPC Application.
    I get the following error when trying to open BPC:
    "The system cannot connect to the (http://xxxxxx) Application Server. Verify that you have specified a valid Application server name, or see if the  application  server is unavailable at this time."
    We have to reboot the application server to have acces again to the application.
    The osoft website was also unavailable.
    The server diagnosotic was OK.
    And when consulting the tblLogs table I found this message:
      ==============[System Error Tracing]==============
      [System  Name] : ApplicationService  [Message Type] : ErrorMessage  [Job Name]     : OSoft.Services.Webservice.ApplicationService.ApplicationService.Query()  [DateTime]     : 1/3/2011 4:27:35 PM  [UserId]       : GROUPE\Deshors  [Exception]       DetailMsg  : {System.NullReferenceException: Object variable or With block variable not set.     at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)     at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)     at OSoft.Services.Webservice.ApplicationService.ApplicationService.ValidateUser()     at OSoft.Services.Webservice.ApplicationService.ApplicationService.Query(String strQueryType, String strParameter, String strContext, String strSecurity)}
    ==============[System Error Tracing  End ]============== 
      ==============[System Error Tracing]==============
        [System  Name] : Configuration  [Message Type] : ErrorMessage  [Job Name]     : ServerDefault.GetValue  [DateTime]     : 1/3/2011 4:40:08 PM  [UserId]       :   [Exception]       DetailMsg  : {System.Exception: Cannot create ActiveX component.     at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)     at OSoft.Services.Application.Configuration.ServerDefault.GetValue(String strKeyId)} 
    ==============[System Error Tracing  End ]============== 
    Any help?
    Thank you in advance.

    Hi expert,
    Unfortunately, we still encounter the issue !!
    We get Unhandled exceptions in the W3WP.EXE process, but the IIS logs do not show anything wrong.
    Here is the Windows event warning message we get :
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/31/2011 11:43:11 AM
    Event time (UTC): 1/31/2011 10:43:11 AM
    Event ID: 0295c38777734029a3cec37ec035fa45
    Event sequence: 8
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/OSoft-1-129409441580590866
        Trust level: Full
        Application Virtual Path: /OSoft
        Application Path: C:\PC_MS\Websrvr\Web\
        *Machine name: **************
    Process information:
        Process ID: 4323
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: Exception
        Exception message: Invalid UserID
    Request information:
        Request URL: http://localhost/Osoft/Launch.aspx
        Request path: /Osoft/Launch.aspx
        User host address: ::1
        User:*******\Administrator
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 12
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at Microsoft.VisualBasic.CompilerServices.Symbols.Container.InvokeMethod(Method TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags Flags)
       at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
       at OSoft.Consumers.ZFP.WebBase.Utility.GetLastUserApp(CPMUser& mUser, String strAppServerURL, String strSecurity, String strContext, Boolean bServerPathReset)
       at OSoft.Consumers.ZFP.WebBase.PageBase.Page_Init(Object sender, EventArgs e)
       at System.EventHandler.Invoke(Object sender, EventArgs e)
       at System.Web.UI.Control.OnInit(EventArgs e)
       at System.Web.UI.Page.OnInit(EventArgs e)
       at OSoft.Consumers.ZFP.WebBase.PageBase.OnInit(EventArgs e)
       at System.Web.UI.Control.InitRecursive(Control namingContainer)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Thanks in advance for your help
    Lionel

  • HT201269 change the primary computer iPad is synced to

    I recently purchased a new Macbook Air & would like to sync my iPad 2.  My iPad was originaly configured to sync with the iTunes account with my desktop at work but I'd like my MBA to be the primary iTunes connection.  My iPad does back up to my iCloud account but for some reason there is content (music) that will not back up to iCloud. I have content on my iPad that I don't want to lose if I reset the iPad to connect with my MBA.  Is there a solution I'm missing?

    You need to either copy the iTunes library at work to your iTunes library in the MBA or you need to transfer the iPad contents into iTunes in the MBA in order to make the MBA your new syncing computer. Music imported from CD's will not backup to iCloud.
    Read this about syncing to a new computer. Use this if you are not able to copy the library from work to your Mac.
    https://discussions.apple.com/docs/DOC-3141
    If you want to copy the library from the work computer to your home computer - Start here.
    https://www.google.com/search?q=copy%20iTunes%20library%20to%20new%20computer

Maybe you are looking for

  • How to submit a ALV report in background

    Can you provide a peice of code to submit an ALV report in background? and is it possible to provide a  header information  dynmically, (changing when we say page down) in ALV?

  • How do i format the contents in message body in the email

    Hi guys, I have a problem.I am sending a complete record columns of a interative report from apex as a mail.But the contents are very bad to see.I want them to appear as a report along with headings in th email to user.PLs guide me in dis Thanks in a

  • FONT CONFLICTS

    I just upgraded my OS to Snow Leopard. Problem is I'm getting conflicts on fonts I really need to keep avalable for CS5 - namely Helvetica Neue. Font Book says the fonts are duplicates of ones used by the system. If I click 'resolve' I can't access t

  • LSMW for material master using Batch input recording method

    Dears, I am using Batch input recording method to upload material master data. But while selecting views , I need to scroll to select the vies lets say Plant storage loc view. While scrolling and selecting ,views are not recorded propelry . That is w

  • Stutter when playing AVI-files

    I have problem when playing AVI-files on my computer, they are stutter when they plays. The problem arises with a wide range of media players. The problem started about 2 month ago. Before this time the same file(s) where playing OK! The same file(s)