Records of the TWG visible to other functions within a session?

Hello! My TWG (global temporary Table) was created with ON COMMIT DELETE ROWS;

My question suppose that several pl\sql functions called by ODP.NET can run within a single session because of connection pooling.
Is this the right hypothesis?

I was unable to catch it again but did not exclude the possibility that records inserted into a global temporary Table with a
function 'slow' may be visible to another function ("fast") before the problems of slow function a COMMIT. Worth, a quick function can
issue VALIDATION until the slow end actually destroying records in a TWG.

Am I correct in my assumptions that the data of the TWG can be removed if another function within a session issues a COMMIT?

Sorry in advance, but I'm going through after the first part of my question in the ODP.NET forum as well.

Many thanks in advance,

user549560 wrote:
Thank you, Tubby. I'm fairly certain that I can cover multiple threads in a web environment each get a connection grouped each execution of a function that uses the TWG.
I think that it might be the situation where a function may inadvertently delete the documents that belong to another function. I doubt that I can run in a way completely series, unless
Experts on this forum can tell me otherwise?

Published by: user549560 on May 8, 2013 16:20

I think perhaps you are getting confused however. The mandate of a connection pool is give a connection when asked and remove it from the pool so no other resource uses.

So if you had "multiple threads" in your 'client' which would translate to the X pool connections. Each connection is a dedicated Oracle session. So if you have 3 "threads" you have 3 sessions of Oracle, as I said before... I'm sure that there is no way for a pool of connections to give you 2 connections to the same session (until this session is returned to the pool, of course, I speak of overlap here).

The only way "where a function may inadvertently delete the documents that belong to another function" is when the two functions are called in the same SESSION of ORACLE.

And you program in general for this. You provide a service that is atomic, one that does not rely on the client calling X routines before hand and hope, while hoping the client continues win the lottery and get the correct pool of connections Oracle session (because your process is based on the TWG or package global variables, and a specific state that has been defined for example). If you have a situation where you have to go back and forth between the client and the database (client must process the data of the 1 function call in order to feed the function call 2 for example) during several connection pool connections, then you program for it using things like the overall application contexts.

It all comes down to management and the definition of the transaction. YOU need to reach this output so that the customer knows call 1 single routine is a transaction and if you and the customer agree that you have need of a return in the way I described above, then YOU must extended that out as well, and design for this.

I can assure you that Oracle session X will never see a session Oracle Y. TWG data unless you manage to break the database and find a horrible bug that is :)

See you soon,.

Tags: Database

Similar Questions

  • How can I fix a black and white screen on the air from my iPad? I rebooted it and ran the last updated IOS 9.2 on it. It is stuck and won't return to the color. All other functions work except this.

    How can I fix a black and white screen on the air from my iPad? I rebooted it and ran the last updated IOS 9.2 on it. It is stuck and won't return to the color. All other functions work except this.

    Have you checked the settings > General > accessibility > greyscale > power off.

    If this does not work ty settings > General > accessibility > zoom > on. Triple, tap the screen with three fingers. Tap choose filter. Click None. Triple, tap the screen to get rid of the menu zoom. If you have enabled greyscale in zoom you can disable it in zoom.

  • Right-click the folder or any other function does not work, and I don't have a sticky key...

    Right-click the folder or any other function does not work, and I don't have a sticky key...

    While I click right click in windows Explorer has stopped working... Help, please!

    A Virus Scan. Your PC can be infected. If you have not installed it, use MS Security Essentials if you have a genuine Version of Windows. It's free.

  • CS6 stamp tool does not work with action / record (record of the tool is activated) other tools works

    CS6 stamp tool does not work with action / record (record of the tool is activated) other tools works

    At the same time recording tool was not possible and if you install Adobe Scriptlistener plugin Adobe will disable the recording of the tool its never an option.

    I use and record the actions all the time and was looking forward to the registration tool when Adobe announced it.  But I found what they delivered was very limited because of the restrictions. I don't like that Adobe disables the registration on my machine tool.

    The amount of data that gets reorganized also seems to vary between machines.  I found that Action recorded on a fast machine are not usable on a slow machine.  Recorder fast machine too much data.

    You use this action on the documents must also have the same size and resolution as the document that you have saved the action on. Quite a restriction.

    You can also be foxed in 2014 CC sett here Photoshop CS6 - recording of the clone in an action tool works incorrect on replay.

  • How to call other functions within the ScriptableFunction class

    I am trying to create an extension of javascript class which will record audio, but the problem is that I can't call other methods in the class.

    clear explanation about my problem:

    It's my Scriptable class

    public final class OCNUtilsNamespace extends Scriptable
    {
        VoiceRecord vr;
    
        public OCNUtilsNamespace()
        {
            this.vr = new VoiceRecord();
        }
        public Object getField(String name) throws Exception
        {
            else if(name.equals("VoiceRecorder")){
                return this.vr;
            }
    
            else if (name.equals("stopRecording"))
            {
                this.vr.stopRecording();
                return new String("Stopped Recording");
            }
            else if (name.equals("startRecording"))
            {
                this.vr.startRecording();
                return new String("Started Recording");
            }
            return super.getField(name);
        }
    }
    

    and here's my ScriptableFunction class:

    public class VoiceRecord extends ScriptableFunction {
    
        String status = "start";
        public Object invoke(Object obj, Object[] args) throws Exception{
            if(status.equals("start"))
                return new String("Started Recording");
            if(status.equals("stop"))
                return new String("Stopped Recording");
            return new String("nothing");
        }
    
        public void stopRecording(){
            status = "stop";
            return;
        }
        public void startRecording(){
            status = "start";
            return;
        }
    }
    

    in my javascript every time I call

    alert(OCN.OCNUtils.VoiceRecorder());
    

    I get the response as "recording started"

    but whenever I tried to call

    alert(OCN.OCNUtils.startRecording());
    

    I don't get all respose and the script will stop working at that time here.

    Why is happening like that?

    I'm doing something wrong?

    I did not understand this concept of scriptablefunction anyone please explain what is happening?

    have to apply Runnble to the future because I have to record the sound of the microphone

    I suggest that you simply pass an argument of your javascript in your extension like this:

    public final class OCNUtilsNamespace extends Scriptable
    {
        VoiceRecord vr;
    
        public OCNUtilsNamespace()
        {
            this.vr = new VoiceRecord();
        }
        public Object getField(String name) throws Exception
        {
            if(name.equals("VoiceRecorder")){
                return this.vr;
            }
            return super.getField(name);
        }
    }
    

    and on your class that extends a ScriptableFunction,.

    public Object invoke(Object obj, Object[] args) throws Exception{
    
                   String param = args[0].toString(); // Cast a parameter from your js to a string
    
            if(param.equals("start"))
                return startRecording();
            if(status.equals("stop"))
                return stopRecording();
            return new String("nothing");
        }
    
        public String stopRecording(){
            status = "stop";
            return status;
        }
        public String startRecording(){
            status = "start";
            return status;
        }
    

    Finally, call your extension via javascript like this:

    alert(OCN.OCNUtils.VoiceRecord("start")); // Call the startRecording() on your VoiceRecord class
    alert(OCN.OCNUtils.VoiceRecord("stop")); // Call the stopRecording() on your VoiceRecord class
    

    Hope this helps

  • Make the field visible if 'Other' selected in the drop-down list

    Is it possible to do a field visible and required if a selection is made in a menu drop-down.

    For example, I have 4 different options in my drop down list, including the 'other' and if other is selected, I want a new text field is visible, so that the user can add more specific information.

    Any help or advice would be appreciated.

    If you use ColdFusion requiredattribute, I don't know how to change this dynamic. But if you do validtion aside client with javascript - or double check it after you submit with ColdFusion, it is easy in principle.

  • How to know the name (package, procedures or functions) for current sessions

    Hi all

    I am DBA and I want to find a way to get the object name regardless (packages, procedures or functions) for the current statement running in the current session.

    To specify when I open the browser session of Toad, I can see the active sessions and the current statement for each session, but without the name of the object.


    Is it possible to know this point.

    Thanks in advance

    Select *.

    from dba_objects

    When object_id in (select nvl (t.PLSQL_ENTRY_OBJECT_ID-1)

    v $ session t

    where sid = 452)

    -----

    Ramin Hashimzade

  • Safari and Firefox needs ways to hide the tab bar, bar Favorites (bookmarks), so that they are not visible to others your screen, or on the full screen captures.

    Safari and Firefox needs ways to enable/disable/hide (the menu and via shortcuts) tabs, Favorites (bookmarks) bar, (and bar address [which do not have Safari]), so that they are visible to a person who you show your screen not visible on just one full screen. Yes, you can expose a screenshot that excludes one or more of these bars, but it is a nuisance to have to do, and in any case, that still leaves the problem of the bars being visible to other people who show you your screen.

    The extension does not hide the toolbars?

    On Mac in mode full screen isn't really full screen and don't cache not toolbars like on Windows and Linux.

    There are extensions to hide specific toolbars if you can't do via "view > toolbars".

  • After you download the security update 2015-008 I lost the function of the function keys and some other functions. Have already played with the keyboard f nothing helps. Are also past system on and outside...

    After you download the security update 2015-008 I lost the function of the function keys and some other functions. Have already played with the keyboard f nothing helps. Are also past system on and outside... need help pls

    PS noticed the update downloaded twice

    disregard my previous question... I found the answer: F1, F2 has been ticked on.

  • The GPS data with other analyzed data record

    Hello!

    I am a new user of DASYLab and not very good with coding, so please bear with me! I try to record (timestamp, latitude, longitude) already analysed GPS data with other data (accelerometer, etc.) in the same. DDF file. Right, GPS analysed is now sent through a series of three demultiplexers for each signal and only 1 of 16 channels, reducing the size of the output data. This data is then saved in a. The CAD file. Other data on average, recorded in one. DDF file, then saved another. The CAD file. We used to compare the data from the GPS and other devices by comparing timestamps.

    I would like to save all data to a file, either. DDF of. CSA (.) DDF would be preferable).

    When I try to add more channels in the. DDF save the module after the demultiplexer black box and GPS data to it, I get an error saying "the data to an entry in this module are the wrong type." I also receive this error when trying to send the data GPS to the. CSA Save module. I learned that this means that the size of the files is not the same of this thread. My question is, how can I make sure that the data have the same characteristics of time so I can save to the same file?

    If you need more information I would be happy to provide it, I apologize if I have something important to go.

    Thanks for reading,

    etdiv

    That's what I needed. Your time is the driver. In the RS232 input module, click the Options button.

    Select the measurement of output value, and then click the button on the time Base and select sync/time Base driver.

    That should allow you to write to the DDF file.

  • XP loses the visibility of other machines on my network to "My Network Places" after plugging in USB audio dongle.

    I have a XP Home Edition laptop with defective onboard sound, so I bought a sound card USB (dongle). Before using the dongle, I could still access the shared files on my other machines through "My Network Places" (NPM). However, when I plug the audio dongle (which uses the driver USB audio generic Microsoft) other machines on my network are accessible to only a few minutes, after which they are no longer visible through MNP. I can still map remote shared folders to a drive letter in Windows Explorer, and Internet access is not affected. Once the remote computers have disappeared from the NPM, they don't come back again after a reboot, or even after you use the System Restore tool to return to a State before that the dongle is connected. The only way I can get MNP working again is to restore the c: full since a backup of the image. (Fortunately, my personal files are in a separate drive of the Windows operating system partition.)

    Apart from the use of the dongle, are there other ways to get the NPM in order to see the other machines on my network in a consistent way?

    I don't have a solution to the problem of MNP, but I have a possible workaround.  To access another computer when MNP is not running, click Start > run , type the name of the computer in the box as shown below and click OK :

    \\computer

    Boulder computer Maven
    Most Microsoft Valuable Professional

  • Windows will start, the screen starts flashing and then the screen say Logging Off, then restore the screen to the CTRL ALT DEL all other functions will not work.

    Start my computer, it will default to the CTRL ALT DEL screen.  After graduating in the login screen I enter the password.  Windows will start and then the screen starts flashing and the screen say Logging Off, then restore the screen to the CTRL ALT DEL I can boot into safe mode.  All other functions will not work.

    Thank you

    I guess you wanted to ask how to solve the problem. If then all in Safe Mode you can use system restore to set up Windows to a point when the problem did not exist.

  • Does anyone know any reason why my photoshop 3D CC does not work. Cannot highlight the functions, as are gray. I Lion 10.7.5 but all other functions seem to work. ?

    Does anyone know any reason why my photoshop 3D CC does not work. Cannot highlight the functions, as are gray. I Lion 10.7.5 but all other functions seem to work. ?

    upgrade your operating system, Photoshop system requirements

  • When you modify a form in the DC or Pro Player I can enter text etc., save, close, and return later to change it. However, once I use the function "Fill & Sign" and save the document, it locks the file and all other fields are not editable. Is there a

    Hi guys,.

    When you type information in a form in the DC or Pro Player I can enter text with fields of text etc and then save, close and return later to change the form. However once I use the function "Fill & Sign" to sign the document, and then save, it locks the file and all other fields become editable. Is there a way around this to remove this feature where it becomes locked and instead allows me to change the form after a signature is applied and saved. All the security properties of the form are on 'admitted', there is no restriction. Even though the document is locked all the properties remain still as 'authorized '.

    The signing is FINAL.  You cannot sign a PDF paper advance. Complete and save, do not sign.

  • My Wacom pen works with all other functions than the brush / pencil?

    My Wacom pen works with all other functions than the brush / pencil. He painted with the opposite end, the eraser to erase end? Does anyone have a suggestion what to do?

    Annette

    My husbond problem - I had somehow clicked away from the "normal" position Ooops!

Maybe you are looking for