How to Use  Connected-User DBLink in a trigger??

In the trigger body,I need to call a remote procedure through a Connected-User dblink.But error occurs when the trigger is compiled.
ORA-01005:null password given;logon denied
Can't a Connected-User dblink be used in a trigger?
Thanks.

Hi,
I don't know if this helps, but you can create a DBLink with the username and password and the SID to connect to. Then try using this DBLink in trigger.

Similar Messages

  • How to use a user defined function in XI

    Hi Experts,
    I would like learn how to use a user defined function  in Xi during mapping . Is there any step by step on that.
    Besides during when me make communcaton channels I see the following tabs...Paramters ..Identifiers ...Module...
    The module that is given here ...where and how it is used.

    Hi,
    You can write UDFs in java in Graphical mapping to enhance your XI Graphical mapping functionality
    The steps for doing it would be:
    1. Click on Create New function Button found on Bottom left corner on your XI Mapping window.
    2. Write your java code.
    3. Run the Mapping Test as usual.
    >>The module that is given here ...where and how it is used.
    The adapters in the Adapter Framework convert XI messages to the protocols of connected external systems and the other way around. When doing so, some
    functionality might need to be added specific to a situation which is possible with the use of custom modules.
    Typical example would be validation of file content when using a File Adapter or modification of the message payload to a common content structure which is not supported by any of the standard SAP modules.
    An Adapter module is developed as an Enterprise Java Bean and is called locally by the Adapter.
    An example on modules :
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805">How to develop a module for reading file name in a sender file adapter XI 3.0</a>
    Cheers,
    Chandra

  • How to use a user defined function module in IP

    Hi All,
    Can you please guide me on how to use a user created function module in IP? My requirement is to have 2 exit function modules to be used in IP to load the falt file data into a cube..
    Regards,

    Hi,
    /people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-1
    thanks to Marc Bernard
    Regards

  • How to use connection pooliing in welogic server

    How to use connection pooliing in welogic server

    Ummmm, once you have an open connection to something, you add it to a pool so the next time you need to connect to it, you don't have to redo all of the overhead of creating the connection.
    :-)

  • How to use Connection Pool in ADF ear file creaion from jDev 10.1.3

    Hi,
    We are developing big application in ADF with 10 different modules. We are creating ear file with data source setting.
    How to use connection pool while creating ear file from jDev. Connection pool is alreday created in Application Server 10g.
    What all the setting we need do to make use of connection pool while creating ear file jDev.
    Thanks

    User,
    If you are using ADF Business Components, you can right-click each application module, select "configurations" and edit the configuration you are using. On the initial page of the configuration dialog, you can specify to use either a JDBC URL or a Datasource - you just need to choose Datasource and then provide the name by which to access it.
    John

  • Materialized view refresh using connected user db links

    I have a general question. I have a materialized view that more or less joins tables from 2 databases.
    For example I have a table X in database A, and a table Y in database B. I create the materialized view in the schema owning table X in database A. Tables A & B from both database are in the same schema with a synchronized password. My materialized view is created to join tables A & B using connected user DB links, and everything works when I create the view, however, it appears that the refresh is failing. I suspect this is because of the connected user link and there is no "logged" in user when the refresh occurs.
    Does anyone know if it is possible to create a materialized view between 2 tables in different databases to refresh using a connected user DB link?
    Thanks.

    sybrandb
    Why does it not make sense to have materialized views accross databases?
    If a materialized view is essentially a remote copy, then wouldn't that imply accross databases? The only thing I did was to take it a step further and join it with a local table in the owning database.
    About not being right about not having a connected user., that may be right, but I have a thought/question..... I equated this as using connected user links in jobs scheduled via dbms_job or dbms_scheduler, as when this runs there is no user connected to the database to provide remote credentials for the link... Essentially this seems to be like a cron job that fires on some schedule (whether a user is connected or not), it would seem to me that it might need to have credentials defined in order to be able to connect to the remote database.
    Thanks

  • How to use connection pool of datasource to make applications run faster?

    Hi, erveryone
    I prepare to implement a servlet that access database and do sync with client.
    When I access database, I would like to configure a datasource in weblogic and use connection pool.
    In order to make servlet application run significantly faster, my servet how to use connection poo is much moreresonable?
    For example, my servlet has many times database access. Is it true that geting and close a connection whenever
    one time database access finished?
    If from the servlet begins, the db connection is hold till servlet finalize. Will the solution affect the servlet performance? Is there any official document to introduce connection pool program? I search some documents.
    <The Java EE 6Tutorial> introduce some simple intruduction about connection pool.

    1. Use WebLogic Servers Data Source for Database Connections.
    2. Open and close the connections where you need it. Dont open it in begin and close in finalise. That is bad practice.
    3. Even when you invoke Connection.close () webLogic will not close the connection. it will commit the transaction and return it back to the pool rather than physically closing the DB connection.
    4. You can tune data source for minimum, maximum and increments of connections that you need based on your application requirement.

  • How To Use Connection Pooling in Struts.

    Can Somebody have the idea how to use connection pooling. i want to use jakarta commons dbcp, pool.
    using these packages how can i implement the connection pooling for my web application. If Anybody have some idea plz contect me.
    If Somebody have sample code plz send.
    Thks in Advance,

    Read the documentation...?

  • How to use MDM users in portal?

    Hi All,
    How to use MDM users in EP, my requirement is,
    i have an users, if the user log's in portal, depending on the portal user login, we need to assign a perticular region for that user such as europe, south america, asia....,
    before he log's in portal we need to confirm that user belongs to perticular region in MDM.
    we maintain users in MDM, when an europe user log's in portal we need to assign him europe system so that he can login in to that europe system. when a asia user log's in portal we need assign him asia system, so that he can login in to that asia system.
    how to do this in portal
    Regards
    jagadeesh

    Hi Jagaeesh,
    You need to configure sso between MDM and EP. You can do it with the help of UID method as there is no logon ticket method available with MDM 5.5.
    And for region specification, you can create different portal desktop, framework, theme for diffreent region users inside portal and define portal's master rule as per accordingly by creating user groups inside portal and assigning different desktops to different region user's.
    Then, create contents (like roles, worksets, pages, iviews, km contents) inside portal according to region and assign those contents to different groups as per requirement.
    So that, deplending on region user's, when they login into portal would see different content inside it.
    Regards,
    Sen

  • How to use a user over the network???

    My point is, that i have a Mac on my room and let's say that i want to use my user on my mac which is in my room in another Mac which is connected to my tv. I dont think there's a way to do that, but in my opinion is why not to make it possible... login to your user from a mac to your mac...

    You can screen share by enabling it in the sharing prefs.
    If you just want to use the user without screen sharing, you have to do some complicated remote user thing that I couldn't figure out how to do on my Mac Mini...

  • How to use company users on existing ldap server as EP6.0 sp2  Users?

    Hi everybody
    Our company user data is on a  LDAP server we want to connect our EP6  UME  to this existing LDAP server so that existing company users can access  the Portal with their company id and password. What configuration we should do on the portal ?
    thanks and regards
    Rajendra

    Hi!
    Look at Admin Guide:
    Administration Guide->Portal Platform->System Administration->User Management Configuration->Configuration of Data Sources Used for User Management->Defining an LDAP Directory as a Data Source
    WBR, Lnk

  • How to use the user and role API's and where to use it

    Hi All,
    I have configured SSO for my UCM11g. Now my application authenticates through the Oracle SSO login page. Currently it is working with SQL authenticator.
    Now, i have to use LDAP authenticator. when i will configure the LDAP authenticator, i have to use the user and role API's to fetch the user profile information from LDAP. i have got the API's which will be used to fetch the respected information, but i am not getting as where i will write those java programs and how this API will be used in my application. what settings i need to do on it so that application uses the API's. ?
    Please can anyone help me on this.
    thanks,
    Saurabh

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • How to use the User Dictionary---Pls help me......

    User dictionary how to use?
    1. I have typed all the words in the Oxford hyphenation dictionary and saved text file.
    2. I have created new dictionary in the preference file.
    3. i have imported all the typed words in the created dictionary file.
    4. I have faced the problem. User dictionary is not supporting properly. Can i disable the System dictionary.
    5. Most of the words are hyphenating by system dictionary only
    Can any one help me out. how to handle this.

    One thread is sufficient, please. If noone responds it means they don't have an answer for you.
    If you can help the OP, please see his original post at http://forums.adobe.com/message/2169036#2169036
    I am locking this thread.

  • How to use the User Dictionary

    User dictionary how to use?
    1. I have typed all the words in the Oxford hyphenation dictionary and saved text file.
    2. I have created new dictionary in the preference file.
    3. i have imported all the typed words in the created dictionary file.
    4. I have faced the problem. User dictionary is not supporting properly. Can i disable the System dictionary.
    5. Most of the words are hyphenating by system dictionary only
    Can any one help me out. how to handle this.

    Please any one help me for this user dictionary how to use. I am very struggling.

  • Parameter Form-How to use a user parameter to retrieve list of values for another par

    I am developing a report in Reports 6i. There are 2 parameters on parameter form namely year and month.
    LOV for Year is retrieved from database. After user selects a value from LOV for year, I want to retrieve another LOV for month parameter based on selected year. That is how can we use a user parameter's value to dynamically retrieve an LOV for another parameter on the same parameter form.
    Pl. guide.
    Thanks in anticipation.

    You can't restrict the "List of Values" of one parameter based on the value of another parameter within the Reports Builder/Runtime parameter form.
    The SQL select statements within LOV's are only executed once. They aren't re-calculated when you enter, leave or change other field values in the parameter form. This is mainly because there is no event model in the Reports parameter form and it only supports basic form functionality.
    To do what you're after in a client-server environment you need to create an Oracle Forms "parameter form" and use that to execute the Report using the run_product() call. Actually, you should probably use Oracle Forms for any more generic "form" functionality such as radio buttons or check boxes.
    If you're in a Web rather than Client-Server environment, it may be easier to create a JSP based parameter form. You can then use Reports 9i since it has JSP support to assist here.

Maybe you are looking for

  • Strategy Plan with task list

    Hi all, can any one help me? I create a strategy plan with one maintenance item and one task list, with one task list item, for example. After scheduling I get a maintenance order with two items. One item from the task list and one from the maintenan

  • How can i stop the screen from flickering in this program?

    Hi, i just wanted to know if anybody knows why my screen keeps flickering when i move. * @(#)CarWKeys.java * CarWKeys Applet application * @author * @version 1.00 2008/11/29 import java.awt.*; import java.applet.*; import java.awt.image.*; public cla

  • How to set the fiscal year period as default in variables

    Hi All, How to set the fiscal year period as default it shoud take previous period when the report is executed. And also I need to do the same changes in reporting agent. Could you please any one help me. Points will be given. Thanks! Best regards, A

  • Invoking default mail app. from forms

    Hi, We want to invoke default mail application by the click of a form's button. We also want to pass on a default textarea of the form into the body of that e-mail. Any help in this regard will be appreciated. TIA Moiz null

  • Javascript onchange to jsp

    i know javascript is client side and jsp is server side and its just not possible to pass parameters or values from one to another but is there a way to work around this? i have a drop down and in my select <select name="month" onChange="field.value=