No DBLinks in the the generated code

Hi guys,
I am facing a strange problem. The code generated for my mapping does NOT have the dblinks. My OWB version is 10.1.0.4
This is my problem in brief.
I have installed OWB recently and started to do a sample task. I created a very simple one to one table population mapping from source to the target schema. Both are in the same database. When i generated the code for the mapping, it gave a warning 'VLD-2771: System privileges may not allow extraction from source EMP'.
And the mapping gave an error when i deployed the code.
When i checked the code which was generated, i couldnot see any dblinks associated with my source table( which seems strange)
CURSOR "INGRP_c" IS
SELECT
"EMP_SRC_TRG_CONN"."EMPNO" "EMPNO",
"EMP_SRC_TRG_CONN"."ENAME" "ENAME",
"EMP_SRC_TRG_CONN"."JOB" "JOB",
"EMP_SRC_TRG_CONN"."MGR" "MGR",
"EMP_SRC_TRG_CONN"."HIREDATE" "HIREDATE",
"EMP_SRC_TRG_CONN"."SAL" "SAL",
"EMP_SRC_TRG_CONN"."COMM" "COMM",
"EMP_SRC_TRG_CONN"."DEPTNO" "DEPTNO"
FROM "SCOTT"."EMP" "EMP_SRC_TRG_CONN" ;
In brief this is the process i have done.
Source schema : SCOTT & Target schema : TRG_SCHEMA
1) I have created source (for SCOTT) and target(for TRG_SCHEMA) modules.
2) I have also created DBLinks, Locations and Connector from source to the target locations.
3) I registered both the source location and target locations.
4) Validated, Generated and Deployed the Connector from source to the target.
I was unable to trace the error. Did i miss anything in the configuration? or during the installation of OWB.
Though it is a very old post, i hope someone can help me out here.
Thanks in Advance,
Sri
Edited by: SriGP on Jul 2, 2009 6:34 AM

If they are in the same db then you don't need dblink and error you're getting says that schema from witch you're trying to fetch the data does not have select privlige set on emp table.
Grant select rights on the object, deploy it and see if it works. If it does, then just ignore this error.

Similar Messages

  • Unlock the machine generated code - NetBeans

    In Netbeans IDE how to unlock the machine generated code.
    i.e:
    if we create a GUI form it automatically put some lines to it.
    IDE Generated Code
    How can i edit those lines???
    ugp

    As long as you continue to use NetBean's editor, it will continue to regenerate the blue code and overwrite your changes.
    Solution 1 - stop using the NB editor to change the code. You will no longer be able to use NB's graphic UI when you use another editor, so you should finalize the layout first.
    Solution 2 - use NB's capabilities that allow you to add custom code to the blue code. Each component's Properties windows shows a Code button at the top, which lists Pre-Creation, Post-creation, Pre-Init, and Post-Init Code entries. Each of these allow you to create code and insert it at the location specified.

  • What are the compiler generated codes for objective-c?

    After the compilation, the code for c/c++ is known as "object code" i.e. ".obj" file, and the binary executable file is ".exe" .
    Similarly for java the compiled code is known as ".class" file.
    In case of Objective-c what is the output of Compiler and what is the Executable file?

    Strictly speaking, .obj and .exe refer only to the output of the compiler and linker for a Windows system (or cross compiler).  For *nix compliant systems the output of the compiler is usually given a .o suffix and the executable produced after linking is named whatever you choose; but usually with no suffix at all.
    Also, technically speaking, Java .class fiels don't fit neatly into this paradigm.  The output of a Java compiler isn't object code, per se; it's optimized byte-code that can be run by the JRE.

  • How to change the merge condition in OWB generated code

    Hi,
    This is regarding the OWB generated code for cubes. We required to change the ON condition of MERGE statement. OWB merge the records on the basis of dimension keys only. Is there any ways to provide the customised merge condition or is it possible to add a measure of the cube to be used in ON condition of the merge?

    Hi,
    cant´t you customize the generated Code in the Database?
    I know that owb has the trait to do the following:
    If you create a Mapping, etc. the generated Code will be deployed as PL/SQL Package in the Database Schema.
    Now you can edit the Code as Schema User right in the Database.
    Don´t edit it in the Metadata, only in the Databse.
    If you run now any Process in OWB, he´ll execute your edited Code,
    ´cause he just takes whats still there. :-)
    It´s not realy clean, but in most Times that works.
    LoneWolf

  • How to retain the java applet generated code when back button is pressed!!

    I've a jsp page in which i've wirtten the code which specifies the word which i write in the text box, then through the applet i'm showing the word which is written in the text box. It means my applet is running and it show the words which i've written in the text box. Now when i click on submit it goes to the next page and when i click on browser's back button then except the applet generated code everyone retains its values. Is there any way to find it out when it encounter the back button click then applet should be restarted. so in this way without writing the whole application form and in the applet generated code i can submit it again.
    My question is how do i reatin the applet generated code when a click button is being pressed (b'coz for the textbox, textareas everything retains it)
    any suggestions or guidance are most welcome.
    thanks in advance....

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

  • How to use generated code from "Import Web Services" with Cairngorm Framework

    I recently downloaded Flex Builder 3 beta 2 and tried out the
    wizard that lets you import web services. The code that is
    auto-generated makes if fairly straight forward to consume web
    services using the object types defined in the WSDL. No longer does
    the developer need to decode the XML payload! The only problem I am
    having is how does you integrate the auto- generated code with the
    Cairngorm framework? This seems like a huge question for anyone who
    might want to leverage Cairngorm and the auto-generated proxy code
    in the same project (like me).
    Here are the problems that I see so far.
    1) How do you configure the generated service class to work
    with the Cairngorm service locator? The service constructor only
    accepts a “LCDS destination string” which implies that
    you must use Lifecycle data services. Unfortunately, the project I
    am trying to retrofit currently uses a WebService and does not use
    data services. All I really need to do is change the endpoint URL
    (ie from local to a development server). This issue is noted in the
    bug https://bugs.adobe.com/jira/browse/FB-8456. What I think is
    needed is a way to set the endpointURI in the Services.mxml file.
    2) Even if I come up with a hack around #1, I do not receive
    a callback to my IResponder even though I register it immediately
    after the method call. I can register and listener function within
    my business delegate and receive the callback, but my Command
    object, which implements IResponder, does not receive the call back
    even though it is registered. From what I read in the ASDocs it
    should but it doesn’t for me!
    These are the issues I have observed in 3 hours of messing
    with this. I hope this makes sense. I would love to integrate
    auto-generated web service proxies into Cairngorm but I don’t
    see a straight forward way without re-architecting Cairngorm. Has
    any one else run across this issue? If so, do you have any insights
    on how to proceed? Any help is appreciated.

    Since I posted this question, I have abandoned the notion of
    auto-generated web services and embraced the good old FDS concept
    where the RemoteObject meta-tag does all the conversion work for
    me. We are now using the Granite DS package and it is working well
    for us. I would love to consume web services, but it just isn't
    worth the hassle when all you have to do with Granite (and FDS) is
    cast your return objects to the proper object type.
    BTW, since this posting, I have investigated competing Flex
    app frameworks. After my research, I checked out the PureMVC
    framework. Wow!! Cairngorm always left me with an uneasy feeling
    and I guess I am not alone. Apparently, Cliff Hall felt the same
    way. That is why he started the project. I like his approach alot
    more than Cairngorm especially since it includes notifications
    which allow me to broadcast my own app level events independent
    from the AS Event framework. Check out PureMVC. For what it is
    worth, it has my humble endorsement. Cliff was even gracious enough
    to acknowledge the other Adobe Consulting guys for their work. Good
    for you Cliff, I respect that. Check out a better way at
    http://www.puremvc.org/

  • Is it possible to alter generated code?

    When adding an image to a page in Dreamweaver, you first select the image from the chose file dialog, then the code comes out like this:
    However, I'm going to be implimenting a lot of Facebook to a certain site and they require rel="image_src" in the image tag. Is there a way in Dreamweaver where I can change the default generated code when inserting an image to include this? The idea of adding this every single time I add an image to a page (and there are a lot of them) makes me cringe.

    988hfas9fhaf8 wrote:
    I'm going to be implimenting a lot of Facebook to a certain site and they require rel="image_src" in the image tag. Is there a way in Dreamweaver where I can change the default generated code when inserting an image to include this?
    If you want it for every single image that you insert, you can edit Image.js in the Dreamweaver Configuration folder. On Windows 7, it's located in C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\configuration\Objects\Common. On Mac OS X, it will be in a similar location in the Applications folder.
    Locate the following lines (45-49 in Dreamweaver CS5):
    if (imgDim){
      rtnStr= '<img src="' + newURL + '" width="' + imgDim[0] +'" height="' + imgDim[1] + '">';
    }else{
      rtnStr= '<img src="' + newURL + '">';
    Change them like this:
    if (imgDim){
      rtnStr= '<img src="' + newURL + '" width="' + imgDim[0] +'" height="' + imgDim[1] + '" rel="image_src">';
    }else{
      rtnStr= '<img src="' + newURL + '" rel="img_src">';

  • Bex Query generated code hack

    Hi SDN,
    Is it possible to manipulate characteristic values based on the key figure values in BEX Query output. Is that hack possible to control the query generated code at all?..
    per say  i have query out put like this (in a very simplified version)
    Material  customer  Quantity customer_pcount
    M1             C1                100          1
    M2             C2                150          0
    when  customer_pcount = 0 related customer value  need to be blank.
    Out put should look like this:
    Material  customer  Quantity customer_pcount
    M1             C1                100          1
    M2                                150          0
    thanks

    Hi deepu,
    Thanks for the reply :
    If I have VBA code in Bex will it reflect the same changes when query published in portal??

  • Modify system generated code

    Hi,
    Whenever we  create an  Ztable a program is generated by system.i want to know whether we can modify that program? IF YES how to do it?
    Rewadrs for sure,
    Prajith

    Hi,
    U <b>can not change</b> the system generated code.
    Try any <b>User Exit or BADI</b> available for the same it might help u.
    Regards,
    Ranjit Thakur.
    <b>Please Mark The Helpful Answer.</b>

  • No "generate code" checkbox

    Hello,
    I have Sun Java Studio Enterprise 8.1. A teacher told me this was a good tool to make you UML and let java studio generate the code. You could preform this action by checking the checkbox "generate code" when you created a "Java-Platform Model" in the UML section. I have already created a java libary but i dont have the "generate code" checkbox.
    Is this feature removed in 8.1 and does 8.0 still have it?
    LeDieu

    According to http://www.netbeans.org/issues/show_bug.cgi?id=78590:
    This checkbox is not longer in the UI since live roundtrip has been disabled.
    Also: http://www.netbeans.org/servlets/ReadMsg?listName=nbusers&msgNo=84056
    You may want to check out the 'Generating Code' help topic in the javahelp (help | contents menuitem).

  • T-code to see the report generated by a Report Writer.

    Hi,
    I  am new to report writer and need your help.
    I have a output which is generated  through a report writer.
    I need to compare the code that generated this output in development and production systems.
    The only information I have is  the library name and a z report name which gives the output.(throgh t-code GR33)
    But when I try to execute the same report in Se 38, it says that te report does not exists .
    Please suggest what is the t-code to see the report generated by a report writer , so that I can compare the codes in different systems.
    Thanks,
    Suchi.

    Hi,
    Thanks for the replies.
    The actual issue is :
    I have  a report created by report writer in 2 languages in Chineese and in English.
    In the selection screen of the chineese report some of the labels are missing.
    It is getting printed as ####### instead of fiscal year , Period etc.
    This is happening only in production while in the development system it is correct (Both the chineese and the English selection screen ).
    I guess this is a transportation issue.
    Please suggest.
    I am ot able to see the Transport Requests associated with it .
    Can you please guide me for the same.
    Where can I see the TRs associated with this report.

  • LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides

    HI
    When I put a network shared variable with fifo RT activated on my diagram, the arrow is broken.and I' ve got this message:
    ""LabVIEW could not generate code for the shared variable.You must open the VI in the project that contains the library where the shared variable resides""
    If I uncheck FIFO RT option for this variable the arrow isn't broken anymore.
    I 've no idea how to correct this weird error?
    Autodeploy is on, and I've check copy / delete in diagram in tool/options\diagram
    regards,
    james

    Hello,
    I don't reproduce this error.
    Could you send your VI?
    Regards
    VéroniqueD
    NI France

  • SQL 2012 - SSIS Error -The step did not generate any output. The return value was unknown. The process exit code was -1073741819. The step failed.

    Hi guys 
     Trying to run this package on SQL 2012 agent  and getting below error . No more details I could find so far.
    The step did not generate any output.  The return value was unknown.  The process exit code was -1073741819.  The step failed.
    About Package - Its connecting to different version (2000,2005,2008,2008R2,2012) servers and putting Jobs information into one Database table.  
    Any workaround or fix ?
    Thanks
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    New package or one that used to work? Connecting how? How does it poll?
    On the surface it is an error from a memory space of the binary/non-managed code, so nothing can be really concluded based on what you decided to share with us.
    Arthur My Blog
    So Same package is working fine from my local machine which has SQL 2008 R2 and SQL 2012 installed. I am trying to push the package on server which has sql server 2012 Installed . 
    I don't see any error .
    I ran package manually from server using SQL Data tools and ran successfully...
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

  • Show the price of the LabVIEW C Code Generator on the NI website

    When considering options, it's important to see the development and deployment price. Please put the LabVIEW C Code Generator price on the NI website so we can consider it.

    I would suggest two possible links on the lower center of this page:
    report a problem with ni.com
    Give feedback about ni.com
    It is possible that the price cannot be listed, because it strongly depends on the target hardware and third party licensing of certain tools used. Have you called the number to get a quote? What kind of questions did they ask?
    LabVIEW Champion . Do more with less code and in less time .

  • How to specify file names for the generated code in wscompile

    Hi,
    We want to follow a certain file naming conventions for the artifacts generated by wscompile.
    How is it possible to set the name for the service interface file, service implementation file etc....
    This is possible in AXIS ant task Wsdl2Java. How do we do it for wscompile.
    thanx

    Thanks Chris and c. Under Description I'm presented with three Names for the profile: ASCII, UniCode and Mac Script. ASCII and Mac Script are the same name for the profile, with nothing being in the UniCode Name box. Which do I change -- both?
    Am I going to screw things up in Photoshop if I change these names to something I can comprehend? Looks like I may just have to make a sticky-note list of the cryptic profile names with my own descriptive name as a reference. Thanks.

  • How do I display on-the-fly generated XML on a web page using DW CS4 Spry regions?

    On a main web page I'm trying to display formatted data from an ASP page that generates XML on-the-fly from a query.
    When I run the ASP page from the browser, the XML formatting of the data works. But when I run the main web page, the data doesn't display.
    I'm using  DW CS4 Spry regionsto display the data on the main page from the XML data generated by the ASP page. Here's the main page code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" >
    <html>
    <head>
    <script type="text/javascript" src="SpryAssets/xpath.js"></script>
    <script type="text/javascript" src="SpryAssets/SpryData.js"></script>
    <script type="text/javascript" src="SpryAssets/SpryUtils.js"> </script>
    <script type="text/javascript">var A1D1xml = new Spry.Data.XMLDataSet("A1D1ACRs_testWxmlCode.asp", "tests/test");</script>
    <title>Test XML Main</title>  
    </head>
    <body>
          <div id="A1D1xml" spry:region="A1D1xml">
                                    <table id="A1D1">
                <tr>
                <th>ID</th>
                <th>Last Name</th>
                <th>Final Status</th>
                </tr>
                <tr spry:repeat="A1D1xml">
                       <td>{acr_id}</td>
                    <td>{acr_lastName}</td>
                    <td>{acr_final_status}</td>
                </tr>
                  </table>
             </div>
    </body>
    </html>
    Here's the code for the page that generates the XML: A1D1ACRs_testWxmlCode.asp
    <html>
    <%
    set objConn=server.CreateObject("ADODB.Connection")
    objConn.Open application("web_test")
    set rs = objConn.Execute( "SELECT acr_id, acr_lastName, acr_final_status from acr_records_grid_view where acr_changeOption = 'A1D1'")
    Response.ContentType = "text/xml"
    Response.AddHeader "Pragma", "public"
    Response.AddHeader "Cache-control", "private"
    Response.AddHeader "Expires", "-1"
    %>
    <?xml version="1.0" encoding="utf-8"?>
    <tests>
      <%While (NOT rs.EOF)%>
                    <test>
                                    <ID><%=(rs.Fields.Item("acr_id").Value)%></ID>
                                    <acr_lastName><![CDATA[<%=(rs.Fields.Item("acr_lastName").Value)%>]]></acr_lastName>
                                    <acr_final_status><![CDATA[<%=(rs.Fields.Item("acr_final_status").Value)%>]]></acr_final_s tatus>
                    </test>
        <%
                    rs.MoveNext()
                    Wend
      %>
    </tests>
    <%
    rs.Close()
    Set rs = Nothing
    %>
    </html>
    Thanks.

    Thanks, but no; I'm using the correct case and folder.
    With this code on the main page, The region flashes the table column header names
    and the code as written for the spry repeat; then instantly disappears from the screen.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript" src="SpryAssets/xpath.js"></script>
    <script type="text/javascript" src="SpryAssets/SpryData.js"></script
    <script type="text/javascript">var A1D1x = new Spry.Data.XMLDataSet("A1D1ACRs_testWxmlCode.xml", "tests/test");</script>
    <title>Test XML Main</title>  
    </head>
    <body>
          <div id="A1D1" spry:region="A1D1x">
                   <table id="A1D1a">
                <tr>
                <th>ID</th>
                <th>Last Name</th>
                <th>Final Status</th>
                </tr>
                <tr spry:repeat="A1D1x">
                    <td>{acr_id}</td>
                    <td>{acr_lastName}</td>
                    <td>{acr_final_status}</td>
                </tr>
                  </table>
             </div>
    </body>
    </html>

Maybe you are looking for

  • Photoshop 13 being a hog on Disk Resources and freezing up constantly!! - HELP!

    Hi all, My Photoshop had been freezing up constanly ever since I updated to the latest version at the suggestion of Adobe support help person via telephone. Now everything is a nightmare! My System Info: Adobe Photoshop Version: 13.0.1 (13.0.1.2 2013

  • No playback in PP CS5.0.3, worked fine several weeks ago...

    I am unable to get a timeline to playback in PP CS5.0.3 with either existing or new projects (Win 7) on any source video, whether out of my Canon 5D2, Sony CX550, or simple AVI. The last time I used PP was several weeks ago and it was working fine th

  • Size Limits to Essbase

    Hi, I am working on a Planning application and as most of you would now, it is based on a BSO Essbase cube. I wanted to know, if there are any limitations to the size of the dimensions? And if yes, then what is the limit on the number of members? For

  • 2012.04-1 archboot "2k12-R2" ISO hybrid images released

    Hi Arch community, Arch Linux (archboot creation tool) 2012.04-1, "2k12-R2" has been released. To avoid confusion, this is not an official arch linux iso release! Homepage and for more information on archboot: http://wiki.archlinux.org/index.php/Arch

  • Upgrading CM 4.1 to CUCM 8.6

    Hi All, I have a CUCM 8.6 which was upgraded from CM 4.1 to CUCM 8.6 about few months ago by another colleague of mine. The person has left the company, and the CUCM 8.6 has not come up into the production network. Between that time till now, there h