Want to get rid of DBLINKS between locations

Hi
We got one challenge to work out, Between location in OWB it creates CONNECTORS. These connectors are nothing but DBLink objects in the database. Basically client does not want this connector to be used in generated code . So we need to suppress this connector somehow. The client feeling that,if it uses dblink it is performance hitch, and moreover we have source and target in the same database
So Can anybody tell me a way to suppress these connectors.
I appreciate your help on this regard
Balaji

Xavier,
This might not possible automatically as it could represent a security breach. One way of doing this is to create an 'on create' DDL trigger on your schema that enqueues a job in the jobs subsystem (you cannot call the grant command directly from the trigger). The job is then executed as soon as possible and explicitly grants the privilege to the user. I have not tried this and don't know if it works, but it might be worth a try.
-- To create a 'on create' trigger in your schema, the code is something like (in this example, the schema is the OE schema):
create or replace trigger on_create
after create
on oe.schema
begin
insert into control_table values (ora_dict_obj_name,'username');
-- ora_dict_obj_name is the name of the created object - this info is available for free from the database;
-- activate the job:
dbms_scheduler.enable('ON_CREATE_GRANT');
end;
-- to create the job schedule:
begin
dbms_scheduler.create_schedule(
schedule_name => 'GRANT_SELECT_SCH',
repeat_interval => 'FREQ=MINUTELY' -- here you can put different frequencies...
end;
-- to create the job:
begin
dbms_scheduler.create_job(
job_name => 'ON_CREATE_GRANT',
schedule_name => 'GRANT_SELECT_SCH',
job_type => 'stored_procedure',
job_action => 'grant_select',
enabled => false
end;
-- the procedure would have to be a dynamic SQL, something like:
create or replace procedure grant_select is
ex_statement varchar2(2000);
begin
-- check if there are rows in the control table
-- if there are no rows exit, if there are rows,
-- for each row in a cursor, select the object name and the user name to create the statement string and run it, something like this:
ex_statement := 'grant select on '||object_name||' to '||user_name;
execute immediate ex_statement;
-- at the end - cleanup by deleting the processed rows in the control table and disable the job:
dbms_scheduler.disable('ON_CREATE_GRANT');
end grant_select;
As mentioned, I did not test this solution and most of it is just pseudocode, but it might be a good starting point.
Regards:
Igor

Similar Messages

  • I have text appearing whenever I call up a new email format and I want to get rid of the text. Following is DOM source of selection : html id="compArea_test_i516_5171290607393724"

    I have text appearing whenever I call up a new email format. I want to get rid of the text. Following is DOM source of selection : <html id="compArea_test_i516_5171290607393724"><head> <title></title> <meta http-equiv="Content-type" content="text/html;charset=utf-8"> <style type="text/css"> body { background-color:transparent;} </style> <style type="text/css" id="styleSheet_521"> P {margin:0px;} span.mark {background:url(http://l.yimg.com/a/i/us/pim/dclient/cg504_5/img/md5/bfe4082db3a892f1c16cb9b5cf7cef98_1.png) bottom repeat-x;} span.unmark {color:"";} </style></head><body style="font-family: times new roman,new york,times,serif; font-size: 12pt; background-color: white; border: medium none; color: rgb(0, 0, 0);" vlink="#996699" alink="#0066cc" link="#0066cc"><br><div>&nbsp;</div>Name..<br>Sex...<br>Location...<div><br></div> </body></html> in English

    CSS:
    #navigation {margin-top: -3px;}
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • I Downloaded the Little Snitch Trial, and I Want To Get Rid Of It. How?

    so I have the Little Snitch trial. (an app that shows your network usage and stuff) There is no way I can quite it or stop it or delete it or anything
    ZERO search results come up when i search little snitch in finder
    it is not in the preferences of my mac.
    I just want to get rid of it! it sits in my menu bar, and when i click it it displays the following..
    Little Snitch Network Filter Off
    Start New Filter
    thats it...

    The application has the uninstaller built into it, so if that item has
    been dragged into Trash without running the uninstaller to get
    the other parts removed correctly, you would have to download
    the app again to get that uninstaller...
    • Little Snitch 1 - Documentation
    You may want to store the Little Snitch installer application in your
    "Applications" folder or any other location. You need it if you want to uninstall ...
    http://www.obdev.at/products/littlesnitch/getting-started.html -
    • Little Snitch - Frequently Asked Questions
    Open the Little Snitch Installer application and click the Uninstall button.
    If you don't have the Installer available on your computer anymore, ...
    http://www.obdev.at/products/littlesnitch/faq.html -
    • Little Snitch 2 - home page index:
    http://www.obdev.at/products/littlesnitch/index.html
    {This item gets installed as a system preference modifier so the
    uninstaller is required to remove the parts you can't see. Since
    Little Snitch has/had earlier versions, some of the documentation
    may vary online from that which accompanied a later version.
    A simple search of their product site or the application's Help in
    the Finder menu should provide some insights on this.}
    There also is another app called AppZapper which can help remove
    the parts of an application from other places than the Application folder.
    • AppZapper - an uninstaller: http://www.appzapper.com/
    Good luck & happy computing!
    edited.

  • If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    Hello,
    As frustrating as it seems, your best to post any frustrations about the iPhone in the  iPhone discussion here:
    https://discussions.apple.com/community/iphone/using_iphone
    As this discussion is for iBook laptops.
    Best of Luck.

  • I have two Apple ID's and want to get rid of one.  How is that done?

    I have 2 Apple ID's and want to get rid of one?  How do you do that?

    Stop using it.
    Accounts cannot be merged, purchases made under an account cannot be transferred to another account.

  • HT4314 Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Please help me back my clash of clans game. I cant access my games. But im steel can visit. Please hepl me.

  • I want to get rid of the Bing screen but there is no "menu at the top of the Firefox window" for me to "select Tools and then select the Add-ons menu item. "

    I suddenly have a "Bing" screen when I sign onto Firefox---and I want to get rid of it. The support section of Firefox says
    1. "From the menu at the top of the Firefox window, seledt Tools and then select the Add-ons menu item."---but I see no "menu item" nor Tools, much less Add-ons.
    2. "In the Add-ons window, click on the Extensions panel."---but how do I find the Add-ons window?
    3. Find the Bing Bar and Search Helper Extension in the list and click Disable for each of them."---but what and where exactly is that?
    At the top of the screen is only a Yahoo icon on the left and to the right of it a search box, "Web Search,", "My Apps," Yellow Pages," "Weather," "Updates," and "Skype." to the right of those there is a green cross saying "Add more apps. to your toolbar" and to the right of that a sort of gear shift looking icon saying "toobar settings."
    So, in short, how do I get rid of the Bing screen and how do I access those Tools?
    Thanks.

    To get rid of Bing Search Window..............
    Click on View tab / Tools and un-check 'Search' (alias for 'Bing')

  • I downloaded Firefox 4 this afternoon and after looking at it I want to get rid of it and go back to Firefox 3.5-3.6. How do I do that? I absolutely hate the whole Firefox 4 setup.

    I want to get rid of Firefox 4 and go back to the previous version.

    www.mozilla.com -> [http://www.mozilla.com/en-US/firefox/all.html All Systems & Languages] -> [http://www.mozilla.com/en-US/firefox/all-older.html Firefox 3.6.17] on right.

  • I no longer can get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go backk to a regular screen shot. How???

    I can no longer get "Tools" or "Options" at the top of my screen. Google and Yahoo toolbars dominate the entire top of the screen. I want to get rid of them and go back to an original screen shot. How?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(~~red:Linux & OSX see~~: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M then release the key
    <u>''Windows'' Method 2.</u> Tap once on the F10 key, while the Menu bar is visible, choose "View > Toolbars", click "Menu Bar" so that a check mark is placed next to Menu Bar
    <u>''Windows'' Method 3.</u> Tap once and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar so that a check mark is placed next to Menu Bar
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See:
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    http://kb.mozillazine.org/Toolbar_customization#Restoring_missing_menu_or_other_toolbars
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    '''[http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar How to customize the toolbar]'''

  • My brother **** as admin and i want to get rid of him

    my brother doesn't deserve to be the default admin and i want to get rid of this privilege. how do i change my account to the default admin without having to sign in as an admin account or having to put his admin password?

    As ZigZag pointed out, only an Administrator can Add another Administrator account or assign administrator privileges. 
    Maybe ask very nicely for administration privileges ;)
    Don't forget to mark the post that solved your issue as &quot;Answered.&quot; By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional

  • I want to get rid of a book in the iBooks "Purchased" collection, but when I touch the Edit button and select the book and then touch the Delete button, then the "Delete this copy" seletion, nothing happens.  How do I delete the book from the collection?

    I want to get rid of a book in the iBooks "Purchased" collection, but when I touch the Edit button and select the book and then touch the Delete button, then the "Delete this copy" seletion, nothing happens.  How do I delete the book from the collection?

    The Cloud by the song indicates that is is an iTunes purchase but it is not downloaded on the iPod. If you only want download iTunes purchases to show in the Music app go to Settings>itunes and pp Store and turn off Show aLL.

  • I have Fox, CNN, and BBC always open on my screen using AOL within Firefox. I want to get rid of AOL. What can I do to have the same screen (yes, bookmarks are on the left.

    I want to have several web sites open on my screen at the same time, in "boxes" showing the headlines, like I now have on my AOL screen.
    AOL is not working right, and I want to get rid of it.
    Thanks for your help

    Firefox 4+ versions use a new build-in home page named <b>about:home</b> with a Google search bar on it (no internet access needed to load that page).<br />
    That about:home page only shows some snippets and has a button to restore the previous session if applicable.
    If you want a home page without the Restore Previous Session button and the snippets then set another page as the home page like www.google.com used in Firefox 3 versions.
    You may be seeing a similar ad on the Google site to install Google Chrome.<br />
    In that case use the close X on that ad to close that pop-up and it should stay away unless local storage gets cleared.

  • I want to get rid of everything in itunes , music, movies etc and start afresh. Ive deleted all old libraries but still there is stuff in iTunes. Please help me start afresh?

    i want to get rid of everything in itunes , music, movies etc and start afresh. Ive deleted all old libraries but still there is stuff in iTunes. Please help me start afresh?

    Please do not delete any files from the HDD without having a current backup.
    I'm not sure what you mean when you say you've "deleted all old libraries." Can you explain that?
    If all you are wanting to do is empty the iTunes library of all music, video playlists, etc. the easiest way is to quit iTunes and, in the Finder, go to ~/Music/iTunes and simply move the .itdb, .itl and .xml files to the trash. Launch iTunes again and the library will be empty.
    You should be prompted to add content, so you can let iTunes scan the HDD if you like.

  • How do I uninstall applications? I downloaded Mac Keeper and now I want to get rid of it because it is not free.

    How do I uninstall applications? I downloaded Mackeeper and now I want to get rid of it because it is not free.

    MacKeeper is a b***h to get rid of.
    Try this - http://applehelpwriter.com/2011/09/21/how-to-uninstall-mackeeper-malware/
    Further reading on MacKeeper; http://www.reedcorner.net/news.php/?p=245
    Message was edited by: noondaywitch

  • Want to get rid of BoxLayout

    Hi,
    Currently I have some code that uses a BoxLayout, however I want to get rid of the BoxLayout and just have a layout where I can place any object where I want. Here is the code:
    private void buildUI(Container container) {
    container.setLayout(new BoxLayout(container,
    BoxLayout.PAGE_AXIS));
    CoordinateArea theArea = new CoordinateArea(this);
    container.add(theArea);
    label = new JLabel();
              label.setBackground(Color.BLACK);
              label.setForeground(Color.WHITE);
    resetLabel();
    container.add(label);
    This is what it looks like:
    http://form17.net/Picture-1.gif
    The problem is, whenever I add the JButton to the frame, it positions it under the label (for the position of the mouse) due to the BoxLayout.
    Basically I want to be able to position the button (and eventually other objects) wherever I want, but still keep the label (for the position of the mouse) on the very bottom. Help would be appreciated.

    Are you sure you want everything to be a direct child of the frame? It looks like you might want to use BorderLayout for the fixed components, and have your button a child of whatever container you put in the centre.
    Pete

Maybe you are looking for

  • Vertical align to center in a div

    Hi, I'm putting together a css layout in dreamweaver CS3, i have a basic nav bar with a solid black colour with text on top. I'm trying to vertical align the text to the center, currently it's center horizontally, but the text is right at the top of

  • More than 100 mb xml file , giving out of memory error in BIP 10.1.3.4

    We are running outofmemory error, java heap space error, if we run a report which has more than 100mb xml, with two or more grouping in RTF template. How to configure it to work with better performance for bigger XML files ? Any particular setup , po

  • HT4623 Can't download itunes as the file library.itl is of a newer version?

    The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. I have uninstalled iTunes, then downloaded iTunes again and once I try to run the download file, the message appears. Can you please help me?

  • GroupTitlesIX paragraph tag doesn't show in the list for PDF bookmarks

    When I do a "Save Book As PDF" then look at the "Include Paragraphs" list for any of my books, the GroupTitlesIX tag does not appear in the list. If I open just the index, the GroupTitlesIX tag appears in the list and the index letters appear as book

  • When should i use .dmg and .cdr?

    I am backing my software programs and would like to know if I should use the .cdr or .dmg type? Does it matter? Are there differences in file sizes?