How to use odiRef.getJDBCConnection ("WORKREP") to store the data in ODI Vars

[blog | http://bahchis.com/2011/03/03/odi-repositories/] Sergei Bahchissaraitsev

Hello world

In this blog, I saw the new 11g feature to get the JDBC connection to the working repository object. I really want to use it in an ODI variable. Specifically, I want to read the current operator logs in the repository of work and store that value in a Variable ODI.

Previously I used the topology to guide me to the correct working repository, but it's heavy. I want to go directly to the repository of current work for my connection, and the new "WORKREP" setting allows this.

Here is my old code in a variable of ODI. This code requires a schema be installed.

Select count (*)
of snp_sess_task_log
where sess_no = < % = odiRef.getSession ("SESS_NO") % >

How can I get the same result in an ODI variable by using the odiRef.getJDBCConnection("WORKREP") function to direct me to the correct working repository? Using it would be a huge improvement to how to recover data from the operator in ODI. Appreciate your thoughts.

Sincerely,

Chris Rothermel

Hi Chris,
Thank you for interest in my blog post on [url http://bahchis.com/2011/03/03/odi-repositories/] repository ODI

As a short response, there is no native way to do what you ask, that I am aware of the case.
I also answered in more detail to your comment on my blog, which suggests another method using a link DB, you can follow the link to read it.

On the procedure of Jython you write, my suggestion would be to avoid it.
Engine in memory is a little less accessible since apart from ODI, it is harder to monitor what is happening exactly in there. I've lived and seen very bad practices involving Jython and the In-Memory engine.
For example, the table could continue to grow at each execution of the script, probably without notice, given that this is not something that you look at every day.

Sergey.

Tags: Business Intelligence

Similar Questions

  • How to use a 2nd partition to store data?

    The 40 GB HDD on my satellite L10 comes with two 20 GB partitions (C and D drive). I understood (by reading this forum) that it is better to use a partition to store the data.

    So far, there was no need to use the D drive. But now I need more space.

    How can I use the folder structure in windows XP home (My Documents, etc.) and the data on the D drive.
    We are working on this computer with multiple accounts.
    I tried to move a folder of My Documents to the D drive, but then is accessed by other users. Use shortcuts to the D drive? I hope there is a simple solution.
    Thanks in advance.
    (I tried my best to write in English...)

    Hello

    Your English is fine :)
    I agree to use the shortcuts to the D drive.
    But if you create a shortcut on the D drive - you must set the appropriate permissions to all users. In the properties of the shortcut, you can find the Security tab. You will find the settings.

    Good bye

  • How to use an iso of media store in a virtual machine?

    I know this is a stupid question, but I can't understand how to use an iso of media store in a virtual machine in a laboratory Manager configuration. I copied on an ISO in my store of media NFS and its all synced to the top and available to use. But what I want to know is, is there a way we can map the iso in a virtual machine in the config of lab manager and make it look like cd?

    Pls advice.

    just a couple first checks:

    1. the ISO standard appear in the media section of the organization who needs to use it.

    2. the NFS store is accessible by all esx hosts used in this organization

    3. go to the page of the console for the virtual machine that needs to use it.

    4 right-click the VM name to get the full menu

    5. Insert the CD

    6. choose the ISO from the menu drop down.

    All this is in the user manual.

    Kind regards

    Jon Hemming, b.SC., RHCT, VMware vExpert 2009
    http://Twitter.com/vJonHemming

    If your question or problem has been resolved, please click the "right answer".  If someone helped him, please click "useful answer.

  • How to use reveal all this without losing the work of culture?

    My workflow is to editing and cropping of images. I need the flexibility to perform any order.

    When I use the crop tool, I continue to delete the cropped Pixels unchecked. When I edit the images I want to edit the complete picture, not cropped image.

    If I use reveal all to make alterations on the full image after cropping, I lose my job of cropping. Is there a solution?

    How to use reveal all this without losing the work of culture?

    How to take a bath without getting wet?

    Enter drollery side you could use a path of access to store the current size before calling "Reveal everything", then later on the path as a selection of load, switch to the crop tool and hit.

    Or convert to smart object before you crop, then do the editing in the SO (it could be a potentially significant increase in file size, however).

  • I have 5 html pages that share a common header, footer and sidebar. How to use my navigation bar to change the content of the body without duplicating a lot of code?

    I have 5 html pages that share a common header, footer and sidebar. How to use my navigation bar to change the content of the body without duplicating a lot of code? Thank you!

    Read the help section of DW on models.

    Using Dreamweaver | Creating a Dreamweaver template

    Or use Server-Side Includes

    Nancy O.

  • AT100 - impossible to get my calendar to store the dates of the annual events

    Hello.

    Cannot get my calendar to store the dates of the annual events birthdays for example.
    Option gives (annual 27 July 2012), but would it be fair (27 July each year). No way to remove year so presumably won't wait that 2012 will come along! All the other choices for weekly and monthly do not specify the year.

    Annual option should I think be the same. Tried to enter next year, but comes with (year July 27, 2013) so it looks that have to enter every year which is a pain. Someone at - it ideas.

    It's my first post he hopes in the right place.

    Thank you

    Hello

    Why you n t try another Android app like for example calendar of birthday or anniversary Assistant

  • Camcorder Camileo P100 store the date and time

    My recently purchased camcorder camileo P100 store the date and time.
    Whenever it starts it must be reset because it refers to the default date.

    Has anyone else had this problem

    It looks like a camera malfunction don t think you can fix it.
    I suggest you to get in touch with the dealer and replace the cam

  • Way to know which table APEX stores the data of particular application?

    If, for example, I went to the shared-> components Templates-> change the Page template
    and I want to know what APEX table stores the data that is displayed on this page in the definition-> header section
    is it possible to do?

    In this particular case, I would like to ask all requests for one ' < link rel = "stylesheet" ' string

    Any guidance would be GREATLY appreciated

    You can find it in every application > utilities > APEX views > APEX_APPLICATION_TEMP_PAGE. You must connect this point of view the point of view of APEX_APPLICATION_PAGES in order to get this info.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • APEX5: How to use User(Logged In) Image throughout the application

    Hello

    We have images (BLOB) user stored in the custom table, now, when the user opens a session, we wanted to use his image on several pages in application as in reports, forms.

    Question is how we can use a single image across the application, without reloading or Access database again.

    I thought I ODP and hiding the image in the ODP. Then store the URL in the overall page element to access the image in any of the application but it seems that ODP is drawn for each page and giving the database image. Best way to do this?

    Any thoughts?

    Thank you

    Ankit

    Ankit-K-Oracle wrote:

    We have images (BLOB) user stored in the custom table, now, when the user opens a session, we wanted to use his image on several pages in application as in reports, forms.

    Question is how we can use a single image across the application, without reloading or Access database again.

    I thought I ODP and hiding the image in the ODP. Then store the URL in the overall page element to access the image in any of the application but it seems that ODP is drawn for each page and giving the database image.

    The ODP does not cache the image Explorer.

    • Have you implemented the ODP using a Cache-Control header, as described?
    • Did you check the cache settings in the browser?
    • Have you used a web inspector to determine if the browser is in charge of the image from cache or asking for each page view?
  • Qosmio F20-155: how to use BT to share files with the mobile phone

    Hello
    I HAVE TOSHIBA QOSMIO F20-155, BUT I DON'T NO HOW TO USE BLUETOOTH TO SHARE FILES WITH MY CELL PHONE
    PLEASE HELP ME

    Hello

    First a simple question: are you sure that your laptop supports Bluetooth?
    AFAIK the Qosmio F20-155 was delivered without the BT module.

    In addition, if you are not sure if the phone has BT then you can check the bottom of the unit. It should be placed a label BT if the Bluetooth has been installed.

  • How to use USB CAN 8473, code for the basic example

    Hi all.

    I use NEITHER USB-8473 CAN transmit and receive data via CAN.

    I have traveled a lot a lot of pages related to this and realized that the API will not work for USB - CAN. Can someone tell me please how to use this USB-8473.

    Maybe an exaple program would help me. (It is not PCI it we USB,)

    Thank you.

    You will need to install NI-CAN, if you don't have already done.  This is the API that you can use with a 8473.  After installing, open Explorer Measurement & Automation and make sure that you can see the 8473 under your devices.

    Here is a sample VI (LabVIEW 2009) that I wrote for another developer to make the CAN communication basic tests.  You enter a package CAN as a series of hexadecimal bytes separated by spaces, and it will send it to you.  It displays every CAN packet it receives in the same format.

  • How to use my laptop HP UK in the USA, I already have a universal adapter to connect

    HP G62 laptop

    Product number: XF230EA #ABU

    Operating system: Windows 7 64-bit

    I'm travelling to the USA, and I want to bring my laptop. I bought the laptop in the United Kingdom, I also have a universal adapter. How do I use it with my UK Plug and can I change adapter or converter.

    You must use a converter of pine with the universal adapter. See the following link for the view of this converter:

    http://www.Amazon.co.UK/US-UK-plug-travel-adaptor/DP/B0006OFKNC

  • How have use ACS supported wireless users and the VPN user?

    I'm new to ACS and configure the following requirement:

    (1) ACS to authenticate users wireless with window AD.

    (2) once connected successfully to the radio, the user must use VPN for remote access with the ASA.

    (3) the end-user will have only 1 common username but different password.

    for example:

    username: password: cisco: cisco wireless.

    username: cisco password: 1234 for VPN.

    ACS support can this, if yes how can we do? Do I need 2 sets of ACS?

    Yes, acs should work properly according to your need.

    ACS, we have a feature called NAP "network access profile" where we can define the condition based on ip source or attributes which allow to say if the request comes from wireless device acs will forward to AD and if the request is of the acs VPN will forward to this diff of database.

    Basically, we need to use two acs database.

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/user/NAPs.html

    Kind regards

    ~ JG

    Note the useful messages

  • Stores the data corrupted of VMFS - how causes?

    Hi all

    We run Lab Manager 4, so we still have ESXi 4.1 hosts in our infrastructure that we cannot upgrade to ESXi 5.x.

    In one of our sites, we regularly see corruption VMFS, where some virtual computer files can not be read/deleted/listed.  We are trying to add new storage and migrate our current VMs out of corrupted data stores, but I would like to know what is originally this corruption and how do I stop him from happening in the future?

    Hosts: HP DL360p G7

    Storage: HP P2000 G3

    ESXi: 4.1.0 build-260247

    If we see a lot of such errors, once restart us all hosts, the number decreases (for example 20 errors, we are left with only 3).

    Have you seen this topic on your site?

    Thank you

    Khare

    Examples:

    / vmfs/volumes/4 FC 87616-2a581cdc - 6 b 13-3cd92bee82a4/dirname # ls-l * >/dev/null

    LS: 10589/timA: invalid argument

    LS: 10589 /: invalid argument

    LS: 10589.

    : Invalid argument

    LS: 10589 /: invalid argument

    LS: 10589 /: invalid argument

    LS: 10589.

    nvalid argument

    LS: 11843/IHDR: invalid argument

    LS: 11843/e: invalid argument

    LS: 11941/n = "1.0"? >

    < Foundry >

    < VM >

    < VMId type = "string" > 52 32 c9 78 f5 47 6 c - 03 ba 14 18 2d 42 e4 d9 c6 < / VMId >

    < ClientMetaData >

    < clientMeta: no such file or directory

    LS: 11941/are/>

    < HistoryEventList / > < / ClientMetaData >

    < vmxPathName type = "string" > 017695 - Central1.vmx < / vmxPathName > < /VM > < / Foundry >

    : No such file or directory

    LS: 12351/IHDR: invalid argument

    LS: 12351/e: invalid argument

    LS: 12478/012478-12478-2k8-Central.vmx.LMBackup: no such file or directory

    LS: 12478/012478-12478-2k8-Central.vmx.LMBackup: no such file or directory

    LS: 7600/IHDR: invalid argument

    LS: 7600/YJ) U. N6 "¢ ªyc, zo!" I.y.s.: invalid argument

    LS: 9251/009251 - VirtualRouter_C2796F3338_DoNotModify.vmxf: no such file or directory

    LS: 9251/009251 - VirtualRouter_C2796F3338_DoNotModify.vmxf: no such file or directory

    LS: 9251/009251 - VirtualRouter_C2796F3338_DoNotModify.vmsd: no such file or directory

    LS: 9618/IHDR: invalid argument

    Since the upgrade of the firmware on our storage - HP P2000 - we did not have errors or problems.  Seems that this problem is corrected.

    Khare

  • How to use a formula in column in the main query?

    Hi all
    I tried to use a formula columns defined in a query in the State of the query like this:
    where (: cf_ex -: cf_ex2) > = 5
    but when I run the report returned data! Why? and how to use the status of the query?

    Note: I'm using Forms 6i

    I gave you the reason:

    Formula columns are not part of the select statement (which runs in the database), but are dealt with in the report.
    So you actually reference the user settings in the query, not formulas columns.

    (Well, I should have said "you are referencing empty connection parameters", but with your experience you could have understood that)
    and the solution:

    Create database for cf_ex and cf_ex2 functions and use them in your application.

Maybe you are looking for

  • How can I get a new firefox profile?

    My firefox was working properly before, I made a few bad decisions (I deleted a bunch of stuff, I know now that I shouldn't have deleted) and now when I try to open it, I get a pop up window that says: 'Missing profile '. Cannot load your Firefox pro

  • Ports

    I have a Pavilion all in one ms220br. At the back of the monitor, there is a green port just above my usb connections. What is the purpose of this port and what can it be used? I want to be able to use a dual monitor with this computer and I was wond

  • How can I fix the link from Outlook Express for Internet Explorer

    I am running Windows XP home. Whenever I get an email with a link to a website, my outlook express freezes and I havce to restart. Can someone help please

  • Burned the voice files on CD - R... can't play on the regular CD player

    I burned a few files sound voice to MP3 on a CD CD - R standard The CD I created can not play on a regular CD player... it works on other computers. Why it is not audible on a regular CD player. How can this be accomplished? Thank you. HJNEUS

  • How to start the development of Blackberry software...

    Hi all I am newbie to development of Blackberry and looking for advice from you... How to get started with Blackberry programming? I downloaded the plug-in for Microsoft Visual Studio 2005 BlackBerry ... Is this suitable for developing application li