dblink and serialization

Thank you in advance, I perform a task in oracle instance that is running a procedure in another instance oracle (different machine) via dblink and a local procedure, like this:

use1. MyProcedure@machineSTG (v_code_id, V_DATE, v_outfile, v_outcacode, v_outcatype);  -procedure of dblink

User2.my_package.do_something (v_outcacode, v_outcatype, v_outfile); -local procedure, inside reading remote table inserted by procedure dblink

commit;

Is it guaranteed that the procedure provided for in the remote computer runs first and finish before the local procedure begins to run? I need this series as the local procedure implementation also read remote tables, inserted by the first procedure (dblink) thank you.

Yes.

SY.

Tags: Database

Similar Questions

  • Clone and Serializable set

    Hello. I'm going to an event class that I would be able to:
    1: copy of 2 or more clones I change locally ("implements Cloneable").
    2: record the events on the filesystem ("implements Serializable").

    No idea how I can make this happen when I can't implement an interface more then?

    Hunter_wow wrote:
    No idea how I can make this happen when I can't implement an interface more then?

    Evil. You can.

    Just check ArrayList:

    http://docs.Oracle.com/javase/7/docs/API/Java/util/ArrayList.html

    It already implements 6 interfaces, including cloned and serializable.

  • To drag and drop questions and serialization in the review of upgrade of 1Z0 - 852?

    Hello

    Does anyone know if the serialization and drag / drop items have been removed from the exam 1Z0-852 of Java SE 6 programmer Certified Professional UPGRADE?

    I know that they have been removed from the exam 1Z0-851, but not sure about the upgrade exam.

    Thanks in advance,

    Alvaro

    Alvaro wrote:
    Hello

    Does anyone know if the serialization and drag / drop items have been removed from the exam 1Z0-852 of Java SE 6 programmer Certified Professional UPGRADE?

    I know that they have been removed from the exam 1Z0-851, but not sure about the upgrade exam.

    Thanks in advance,

    Alvaro

    (1) drag and Drop

    ... this question format will be deleted:

    Ref: http://blogs.oracle.com/certification/entry/0596

    (2) serialization:

    It is best to compare the themes of your notes for the current issues, but according to my reading of the news he is brought at least to some extent:

    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=41&p_exam_id=1Z0_852 (Section 3 API summary):

    Develop code that serializes and deserializes objects using the following APIs from java.io: DataInputStream, DataOutputStream, FileInputStream, FileOutputStream, ObjectInputStream, ObjectOutputStream and Serializable.

  • jQuery and serialize / variables by the way

    I've already put this question on the forum of jquery, but nobody answered. My question is about jquery.

    I have this image gallery, people can fall and drag the photos, the idea is that they can determine theirselves the order in which the pictures are displayed on their Web site.

    I have the sortable part, but I do not know how to pass the new order on the next page that must contain a query that updates the ordernumber for each item.

    My code:

    <! - load the necessary scripts - >

    "< script src="scripts/jquery-1.6.2.min.js "type =" text/javascript"> < / script >

    " < script src =" http://AJAX.googleapis.com/AJAX/libs/jQueryUI/1.8.16/jQuery-UI.min.js "type =" text/javascript"> < / script > "

    " < script src =" http://jQuery-UI.googlecode.com/svn/tags/latest/external/jQuery.Bgiframe-2.1.2.js "type =" text/javascript"> < / script > "

    " < script src =" http://AJAX.googleapis.com/AJAX/libs/jQueryUI/1.8.16/i18n/jQuery-UI-i18n.min.js "type =" text/javascript"> < / script > "

    ,!-> sortable image gallery

    < ul id = "ulsortable" >

    < cfoutput = "items" query >

    < li = id "#T_items_autoID ID_ #" >

    < CFIF #T_items_img1 # IS NOT 0 >

    "" < img src = "... / #session.foldername#/galleries/#T_items_itemid#_thumbsitemanager.#T_items_img1#" alt = "Click here to update" border = "0" width = "125" height = "125" >

    < CFELSE >

    "< img src =" layoutimg/no_picture_available.jpg"alt =" "width ="125"height ="125"border ="0">

    < / CFIF > < br >

    < CFIF #T_items_title # IS NOT "" > #left("#T_items_title#","15") # < / CFIF > "."

    < /li >

    < / cfoutput >

    < /ul >

    < script >

    {$(function()}

    . sortable() $(«#ulsortable»);

    . disableSelection() $(«#ulsortable»);

    });

    $('_#frm-sort').submit (function () {}

    var sort_serialized = $("#ulsortable").sortable ("serialize");

    });

    < /script >

    "< do action="#request.site.webroot#/actions/act_writeneworder.cfm "method ="post"id ="frm-spell">

    < input type = "submit" name = "register" id = 'save' value = 'save' / >

    < input type = "hidden" name = "sort_serialized" id = "sort_serialized" value = "" / > "

    < / make >

    When I use this and go to the next page thrugh button I get the error that sort_seriallized is an empty string. I have to do something wrong. It has been 3 days I am on it :-)

    If anyone is interested, here is the code to work.

    Be sure to include the right jslibraries

    Make your style sheet in order to have a bulleted list that resembles a gallery of images:

    height: 165px;

    margin: 2px;

    text-align: center;

    border: 1px solid gray;

    }

    / * stop the float * /.

    BR

    {

    Clear: left;

    }

    / * separate subsequent markup of the list * /.

    div. Wrapper

    {

    margin-bottom: 1em;

    }

    Then the jquery script:

    Exit the listitems:

    • Click here to update


      #left("#T_items_title#","15") #.

    Finally, the form with the "submit" button and the field hidden happening the variable:

    The page that handles the serialization and the update database:

    UPDATE T_items

    SET T_items_order =

    WHERE T_items_autoID =

    As I could not find anywhere a full working example I decided to post this code, hope this helps you.

    Bianca

  • DBlinks and APEX problem

    Hello.

    I have a problem related to the APEX and DBlinks, I need to connect to the databases of the same application, I created dblinks in order to do so, now in my report, I can access the other databases table by typing something like this:

    SELECT * FROM table@mylink;

    OK, but now the problem, the use of data binding must be dynamic, for this I created a 0 page that contains a component called P0_LINK, this point stores the name of the link, in this case 'mylink '.

    I need to use the value of this element in my query, I think that normally might look like:

    SELECT * FROM table@:P0_LINK;

    but it returns me an ORA-01729: database link name expected.

    I tried selecting the analysis during execution only, but it does not work.

    Please help me.

    Thank you.

    Your report must be of type SQL query that returns a PL/SQL function:

    DECLARE
       v_query   VARCHAR2 (4000);
    BEGIN
       v_query := 'SELECT * FROM table@' || :p0_link;
       RETURN v_query;
    END;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Problem with APEX 4.1, DBLink and NLS_LANG

    Hello

    I get an error message:

    "ORA-12705: unknown or invalid NLS parameter value specified.

    When access to the content stored in another database of APEX via a DBLink

    I use Application Express 4.1 on the Oracle 11 g XE database

    I have an application that uses the dblink to access data on an Oracle 9i server.

    NLS_LANG in database 11g: SPANISH_SPAIN. AL32UTF8
    NLS_LANG in the 9i database: SPANISH_SPAIN. WE8ISO8859P1

    I changed the NLS_LANG 11 g to SPANISH_SPAIN value. WE8ISO8859P1 but nothing happens.

    What can I do?

    Thank you!

    Hello

    Oracle 9i supports all Format of Date masks supported a 10g database. If you use a database connection, the database tries to set the same NLS settings on the remote database as defined in the current database session.

    When you get the error? Do you get in report designer or in your own application? If it's in your own application, check the masks of date format of "globalization application-level attributes."

    You must also ensure you actually close the database link in the ' Code from PL/SQL to cleaning "security-Session of database to avoid problems of links of open database in your database session pool. Because otherwise, database sessions that do not need the link database are also affected by this problem, as the generator,...

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Approaches to dblink

    Hello

    I have two database A and B and we have a db link.

    I have a proc stored in database b say SP1 which accesses the database tables B and the values.

    1st approach: I have a scenario where I have to call the stored procedure SP1 database A and get the value returned by SP1 and do some math database.

    I just want to know how the procedure is performed. Is that SP1 is executed in database B and gets the value?

    2nd approach: I can write the same logic as the SP1 does in the database a to access the underlying tables of the database B, using the dblink and perform the calculations.

    This efficiency is wise

    Thank you

    Matt

    Option 1 should be faster because he does all the operations in a database

    concerning

    Pravin

  • If already, I have the full version of Lightroom 6 and join Creative Cloud, if I decide later that I don't need creative cloud, how that will affect the installation of my version complete?

    I received a license of full desktop with my purchase of the camera.  I want to join Cloud Creative so I can use Lightroom Mobile to sync with my desktop version.  If later, I decided to drop the creative cloud, my Office license still work?

    If you use Creative cloud and then decide later to uninstall and serialize your Lightroom 6 once again, you can follow these instructions:

    Adobe Photoshop Lightroom Help | Serialize Lightroom trial to activate like Lightroom 6 CC

  • How to transfer and former product Acrobat Professional on a new computer?

    I can't transfer Adobe Professional 7.0 software to my new computer.  Phone support will not cooperate.  I was sent here.  Any help?

    Hi TREY HOFFMAN,

    Due to a technical problem, Adobe has disabled the activation server for CS2, including Acrobat 7 and hearing 3 applications. Please follow the link to install and serialize Adobe Acrobat 7: error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3

    In addition, as you mentioned you want to install Acrobat 7 on your computer, just wanted you to know that it is not compatible with Windows 7 or a later version.

  • I have a lightroom stand-alone version 6 on my desk and want to install on my laptop. Any advice on if/how this can be done?

    I've recently updated on a Canon 5 d R to see that Lightroom 5 did not recognize the files. I bought and installed Adobe a stand-alone Lightroom 6 on my desktop and this version works fine with the new camera. I want to install a copy of Lightroom 6 on my laptop, so that I can use it when traveling. However, I was not able to know how to proceed, despite a lifetime of research on Adobe's Web site. Does anyone know how (or if) this can be done?

    The server may be busy. Try again later. Or download the trial of creative cloud and serialize as a standalone application.

    How to convert a trial CC 6 Lightroom Lightroom

  • How a value is to consider the change of dblink to the web service?

    Implementation of SOA and OSB, how a value is to consider the change of dblink to the web service?

    Where I work, there are a large number of dblink between databases. Some dblinks are intended to be the way to load the immense amount of data while others exist only to simple queries.
    I wonder if it might be better to use web services as dblink. In principle, I think that simple queries may be suitable as a web service to improve reuse and governance but I find web service not apropriated for loads of data.
    Obviously, the decision is more complex that just think tecnology. Despite this, it will be useful to hear if there are people around the world think about change dblinks to web services the same load so heavy querys with a small amount of data to be trafficked and this as the principles, models or reasons behind this decision.
    Basically, we are implementing SOA and OSB and I'm looking for the best I can to rethink the way we used to do it so far. I heard from a friend of mine that we must avoid using dblinks and use only the web services. This seems strange to me because I wonder what level of overloading by the net, that we will face. Could someone give your personal opinion or propose an article? There are some pros and cons, formerly on this review?

    966355 wrote:
    My question is: wouldn't I tend to turn the worst of communication when I change the dblink in scenario 1 and even more terribly worse in scenario 2?

    Yes, this is a drawback... You can't get better performance by adding more load, unless you bring better infrastructure...

    One more detail: in scenario 1, there is a high probability to be reused by other systems.

    It is one of the beneficial results you have to weight against your disadvantages...

    In scenario 2, it is not reused, but we need to audit and traceability of the integrations like this.

    This scenario looks more like ETL integration... It's a bulk data loading, you can take a look at ODI - Oracle Data Integrator (ODI is also part of the Fusion Middleware)

    In my view, the main issue is to have systems so closely coupled... Systems get older, they get out of support, seller will declare a version is end-of-life, then you need to update. The system vendor has don't might not mind system B accesses its internal tables, but if they decide to change the internal database on the next version, they do... And then you're stuck with the vendor and version...

    I hope this helps...

    See you soon,.
    Vlad

  • CS6 AAMEE 3.1 - serialization file still invites you to connect

    So I had the same problem I've seen from others dealing with - almost exactly the same as http://forums.Adobe.com/message/4467285 .  I placed AAMEE 3.1 packages of the trial of my volume license suite in a main picture and deployed on other computers (using WDS).  I created the file of serialization with AAMEE 3.1 and tried to run on computers with trial plans.  I am running:

    AdobeSerialization.exe - tool = VolumeSerialize

    The prov.xml file is in the same folder, but just for fun to be thorough, I added the provfilie-= [path] bit.  I saw a reference to a "-stream" parameter.  I have no idea what he's doing, but I tried to.  All these attempts lead to a result code of 0 and open more programs.  However, the program immediately request that the user connects with an identification code that Adobe is ridiculous, because it indicates that I have now about 90 years, until the software stops working.  It's super unpleasant as my users have to reject this message whenever they want to load an Adobe product.  What I'm missing here?  How can I have my programs run with no pop - ups, as they always did?  Thank you.

    Please refer to the article and serialize Adobe applications: http://helpx.adobe.com/creative-cloud/packager/provisioning-toolkit-enterprise.html.

    Kind regards

    Romit Sinha

  • Extraction of data through an existing dblink

    Hello


    I am trying to find a way to recover data using a dblink with ODI 11.1.1.5.

    I found this article, but I think it's a little dirty: http://www.business-intelligence-quotient.com/?p=1187. In addition, in the version 11g, the name of the table is enclosed in double quotes and I can't seem to get rid of them. (If you know how it, it would be useful... ;).)



    I think I should write a LKM that creates a view of the staging. To use it, I should have a way to set the name of DBlink whenever it is used in an interface. How do I set? A variable? And how to access with something like this:
    Create the view... ( .... )
    as some... from < % = odiRef.getSrcTablesList ("", "[SCHEMA].) [RES_NAME] (",","" ") % > @DBLINK_NAME < % = odiRef.getSrcTablesList (" ","[POP_TAB_ALIAS]",","," ") % >



    Thanks in advance for you help.


    Concerning

    Hello

    I used very effectively LKM Oracle of Uli to Oracle DBLInk with the view of the target. Chances are, you will have more joy with the creation of objects in your target (DWH) as the source system.
    Take a look at the following:

    http://www.business-intelligence-quotient.com/?tag=LKM

    I did create an option in the LKM to pass the name of DBlink and make reference to the value of the option in the LKM.

    I don't see the problem with the creation of the view on the target, more so we couldn't go create views the source in my case so this suited us perfectly.
    You need become friendly with your DBA, most of them listening - you have a valid reason to edit the tnsnames.ora so suggest you get that done - your not go anywhere with DBLINKS without some changes.
    Hope this helps,
    Alastair

  • Request from oracle to MySql using dblink read all rows in the table

    Hello
    I use the heterogeneous connectivity between oracle 10204 to the Mysql database.
    I have a database of link on the side of the oracle.
    I request a table in MySql with 10 million rows.

    His is not serious if I am running:
    ' Select * from ' CDR_Accounts"@mysql where 'id '= 7675405;
    or
    Select * from 'CDR_Accounts"@mysql;

    There is an index on the column id.
    It seems that the Mysql is feteching all rows in the table, all data is transferred to oracle on the dblink and only after the required lines are back to the client.

    The /etc/odbcinst.ini file is as follows:
    [odbcprd:oracle@odbc /software/oracle]$ cat /etc/odbcinst.ini
    [myodbc3]
    Description             = Mysql connector to mysql version 3.5
    Driver          = /software/oracle/MysqlOdbc/3.52/lib/libmyodbc3-3.51.25.so
    Driver64                = /usr/lib
    Setup           = /software/oracle/MysqlOdbc/3.52/lib/libmyodbc3S-3.51.25.so
    Setup64         = /usr/lib
    UsageCount              = 1
    CPTimeout               = 3600
    CPReuse         = 
    Please advice

    Thank you

    Initialization of gateway open tha file located in $ORACLE_HOME/hs/admin called init .ora and change HS_FDS_TRACE_LEVEL to HS_FDS_TRACE_LEVEL =WE.

    ATTENTION:
    Do not forget t turn off after all your tests.

  • What dblink is available first?

    Hello

    I've connected to the database with a user. And a user has a dblink, name of dblink is USB and connects R1 remote database user.
    Already, a public dblink is created as USB and it connects R2 remote database user.



    So if I have the all_db_links of a request with a user in the local database, I could see two of these dblinks, and I wonder if I question the ' select * from dual@dblk ", which user I connect to the remote computer, R1 or R2?

    Thank you.

    As a general rule, a local of the users settings will override settings wide database.

Maybe you are looking for

  • I can't install Windows XP Home on the Satellite A200-1CR

    I can't install Windows XP Home on the Satellite A200-1CR Help

  • HP disk E: pop up tools

    I checked most of the threads and I can't use their solutions. I'm not familiar with hard drives how and restore points work so I afraid to change all the files in the player. I can't change the system of protection to E:, too. Any help would be appr

  • Detected CMOS battery failure

    If after system start it shows "the firmware has detected a CMOS battery failure. Press Enter to continue. "It happens every day when the computer is idle.  When the computer is used, no problem.  But I'm tired to reset the date/time and disconnect t

  • PE860 - Normative CEI

    Everyone knows, how can I be information around the normative CEIs to which the server PE860 is consistent? Thank you. VM

  • With the help of fingerprints to log in Windows 7

    On a new installation of Windows 7 required a password for the connection.  I have successfully registered my fingerprints on Windows 7 via an internal laptop fingerprint reader but I can't determine how to add the option to logon to fingerprints for