Replace all DB links in smarter way

Hello,
I would like to replace all DB links in my application and add prefix to each view name. Is there any way to do it smarter than checking all reports/processes and do it by hand?
Regards,
Przemek

Przemek,
Replacement with an editor will work for you if you have authored all of the DML processes yourself in your application.
However, if you have used the wizards in Application Express to create forms on these views, so you have a Fetch Row and Process Row Automatic DML processes on the page, then you're out of luck. You may be able to get away with creating views for these underlying tables (e.g., create view foo as select * from your_tab@dblink) and then replacing your table names with the view names throughout your application. One additional benefit of this approach is once you implement this, you can change your application from remote back to local just by changing your view definitions.
Joel

Similar Messages

  • Is there a way to publish a collection set including all subfolders as a smart publishing service 1)

    is there a way to publish a collection set including all subfolders as a smart publishing service 1) to the hard drive and 2) to flickr while also automatically creating all subfolders? i manage to do this only with collections, but not with the partent collection set.

    It's not AIR that's lacking the key in the plist, it must be Flash Pro, although it's just running adt itself. I use AIR 3.4 and I compile via adt command line (because Flash Builder 4.6 still has not been updated to handle warnings from ANEs during compile, grr). I have CFBundleDisplayName in my plist file. Have you tried compiling on the command line?
    Here's an Adobe page with a bunch of examples compiling with ADT on the command line:
    http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d128cdca935b-8000.html
    Being unaware of what in-house distribution system that actually is, I have noted that some people had previous issues submitting apps Flash compiles. Their solution was to rename the AppName.ipa to AppName.zip, extract the Payload folder, copy the AppName.app inside there out, then rename that AppName.app to AppName.ipa. Then it was accepted. Not sure if that old issue still exists.

  • I did a "Bounce - replace all tracks" and now all my mono audio tracks are stereo... What's the safest way to get them mono?

    I don't think I unchecked the "Include volume and pan automation" checkbox before the "Bounce - replace all tracks" conversion. I hadn't added any volume or pan automations I figured: you can't include something I haven't added, although I did probably have the pan controls set in the mixer. Anyway, now I want to convert my six (previously mono) tracks from stereo back to mono, preserving as much as possible the original mono sound quality before it was converted to stereo, so that I can start mixing. Every MP3 I've exported is ignoring the pan settings I have in the mixer, I suspect due to the fact that the audio for each track is now stereo (I changed the tracks back to "mono" in the mixer but the audio remains in stereo). Unfortunately I don't have any unused audio files in the audio bin and I killed the undo history as well. 

    Thats what I came up with:
    As you can see I got a stereo file on track 1 to start with,
    Now go to the corresponding channel strip and switch to mono,
    Perform a BIP to a new track
    and the result will be in mono.
    Regards

  • How Can I Remove All the Links in a Document?

    I want to remove all the internal and external bound links in
    a number of my html documents. Is there any way I can do this with
    one action. I tried using Control + F on </a> and replacing
    it with nothing and that works. But Control + F on <a
    href="URL"> doesn't work as the url for that is different every
    time.
    Is it possible to remove all the links in one sweep, I hate
    to do it manually one by one as there are just so many?

    Tanim23 wrote:
    > Is it possible to remove all the links in one sweep
    Yes. In the Find and Replace dialog box, set Search to
    Specific Tag, and
    select a in the drop-down menu alongside. Then set Action to
    Strip Tag.
    You can do this in the current document, a particular folder,
    or the
    entire site, depending on what you select in the Find in
    drop-down menu.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • Replacing all text in book with sample text

    Hello fellows,
    Is there a way to replace all the textual content in a book with some sample text using Extendscript?
    If yes, could you please point me to the relevant APIs?
    Thank you for your help in advance!

    Yes, the point that Rick was making crossed my mind, too. Using regular expressions, you can easily specify which characters should be replaced. Listing a number of same-width characters and replacing them with an "x" is as easy as this:
    sTextString.replace ( /[abcdefghknopqrsuvyz]/g, "x" );
    This would leave the non-mentioned characters as they are. Depending a little bit on the fonts that are used, of course, as they might have different character widths for more than the ones I left out. But even if you only replace a couple of characters throughout the doc, it would be enough to get the desired effect.
    The difficulty is getting to the text strings and also to replace them. There are many objects for which a GetText method exists, but you have to set the flags such that you actually get the right text strings out of that method. And then you have to figure out where in the doc the text string is, then delete the existing one and add the replacement. All of this has to be done without deleting any markers or anchors.
    Another approach might be to set the text location to the first character in the main flow and then walking through the entire document character by character, testing each one and replacing it where required. But I don't think you would get into tables with that method, as those are linked to the running text via an anchor in that running text. So the table cells will have to be processed separately. And if you do have a method to change text in table cells, you can use that method on all paragraphs.
    I think Rick has more experience in tweaking text strings. I am usually working on structured documents and only handling the element objects and their hierarchy, not so much changing the text content of documents. Rick, do you have an approach to walk through all text strings in a document and replace them without breaking anything ?
    Ciao
    Jang

  • Please help: How to replace all data on mid-2010 MacBook Pro 15 with Timemachine backup from 2009 MBP 13

    OK so I bought a mid-2010 MacBook pro 15 from a friend and he did not erase anything before he gave it to me. I was previously working on a 2009 MacBook pro 13 and have a Timemachine backup from that which I would like to install on the MBP 15 replacing all of the current data.
    I have tried rebooting using the OSX disc that came with the MBP 15 but that won't work - I am assuming that is because the OSX disc is version 10.6.3 while the current OS on the MBP 15 is 10.7.4
    What is the best/easiest way to use the Timemachine backup of my MBP 13" to replace all info on the MBP 15"?
    This seems like something that should be easy but I have been trying to do it since last night and haven't found relevant info in the discussion forums. Any help would be greatly appreciated!!
    Thanks!

    MacBook Pro 15" 2010
    Intel Core i7 2.8GHz M 640 Arrandale Cores 2  (2867)
    8GB max RAM 2 - 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM
    NVIDIA GeForce GT 330M 512MB (15.85) (369) and Intel HD Graphics 3000 (10) (309)
    MacBook Pro 13" Mid 2012
    Intel Core i7 3520M Ivy Bridge Cores 2 (4519)*
    16GB RAM max actual (8GB Apple) 2 - 204-pin PC3-12800 (1600 MHz) DDR3 SO-DIMM
    Intel HD Graphics 4000 (unknown) (465)*
    The 13" is a more powerful machine and it has more RAM capacity.

  • How can I replace ALL Contacts on the iPhone with my MobileMe Contacts?

    I have removed all duplicates in AddressBook on my various Macs and have uploaded the master copy to MobileMe. I would now like to replace all Contacts on my iPhone with that MobileMe master.
    I have followed the steps in the KB article for syncing the iPhone but when I get to the step of turning on the iPhone Settings for the Contacts it looks like the sync wants to merge the contacts. Of course, I do not want to "merge" since that will reintroduce all those duplicates.
    I suppose I could manually delete each of the the hundreds of contacts that are on my phone until it is empty ... and then turn on the iPhone setting for Contacts. That way it will have no option other than "add." But surely there is a more efficient way.
    (FWIW, when I turned OFF the setting for the Calendar it did empty the iPhone's calendar, which is what I wanted. But it didn't do that for the Contacts -- I turned that setting off but I was not asked if I wanted to keep or toss the Contacts. They are all still on the phone.)
    This is an OG iPhone, if that matters.

    Matthew Smith wrote:
    ... The only way I can think of doing it otherwise is possibly by syncing via iTunes via another Mac OS X user account where the address book is empty and then deleting them there and resyncing. ...
    Brilliant! That worked like a charm.
    I created a new User Account on one of my Macs and logged into it. I connected my iPhone to its iTunes and checked my iPhone's Sync Contacts option in iTunes. Since that account's address book was basically empty (two dummy contacts, one for Apple and one for this new user), I ended up with only those two Contacts on the phone. Then, going back to my real User account (which does not have syncing turned on in iTunes) the phone synced nicely with the MobileMe account and populated the phone with all the MobileMe contacts and groups.

  • Smart way to auto update pop-up menu in nav bar?

    Smart way to keep updating pop-up menu in Nav bar ?
    I created a template in DW 8. It is used to generate many
    other pages for the site. only the page content region is editable.
    There is a nav bar in the template. Some buttons of the nav bar
    display pop-up menu when MouseOver . Those pop-up menu need to be
    changed from time to time. What is the best way to automatically
    update the pop-up menu in those templated-generated files, using
    template (I tried to define the nav bar as editable region,
    modified the pop-ups and saved the template. I got a lots of
    unexpected problems, DW8 even crashed), using libray items or
    something else? I am a relatively new DW developer. Much appreciate
    if someone could help.

    If the navigation is in a non-editable region of the
    template, then changes
    to it will propagate automatically to all child pages - are
    you not seeing
    that happen?
    > I tried to define the nav bar as editable region
    You wouldn't usually want to do that.
    > I got a lots of unexpected problems, DW8 even
    > crashed
    You must have made other errors. Doing something like this
    would surely not
    crash DW.
    The only problem with having the navigation in the
    non-editable region of
    the template is that a change to it will touch *every* file
    in the site,
    each of which must then be uploaded again. To solve this
    problem you can
    use server-side includes for the navigation. Then you would
    make your
    change to the include file, upload it, and all pages would
    reflect that
    change.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "lakeleman" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    Smart way to keep updating pop-up menu in Nav bar ?
    > I created a template in DW 8. It is used to generate
    many other pages
    > for
    > the site. only the page content region is editable.
    There is a nav bar in
    > the
    > template. Some buttons of the nav bar display pop-up
    menu when MouseOver .
    > Those pop-up menu need to be changed from time to time.
    What is the best
    > way to
    > automatically update the pop-up menu in those
    templated-generated files,
    > using
    > template (I tried to define the nav bar as editable
    region, modified the
    > pop-ups and saved the template. I got a lots of
    unexpected problems, DW8
    > even
    > crashed), using libray items or something else? I am a
    relatively new DW
    > developer. Much appreciate if someone could help.
    >

  • Help, lost all the songs on my iPod when checked the box titled "Replace all items when Autofilling" in my Autofill Settings window.

    Help, I lost all the songs on my iPod when I deleted a few songs from my iTunes Library, checked the box titled "Replace all items when Autofilling" in my Autofill Settings window, and then tried to Autofill. Note that I do not purchase songs from iTunes, but rather I rip songs off my own cd's and then transfer the mp3 files to iTunes.  And after I transfer mp3 files from my pc to iTunes and then Autofill, I generally delete those files from my pc.
    I can still see the songs in my iTunes Library, but not on my iPod.  Is there a way that I can salvage them and get them back on my iPod?
    Thanks in advance.

    Well you will have to wait to connect you ipod to the orignal computer and it will put all your songs back on to it.

  • Replacing all occurrences of characters in a string with one new character?

    Hi there,
    I'm looking for a way that I could replace all occurrences of a set of specific characters with just one new character for each occurrence.
    For example if I have a string which is "word1...word2.......word3....word4............word5" how would I be able to replace this with just one character such as ":" for each set of "." so that it would essentially appear like this "word1:word2:word3:word4:word5"
    If I just use replace(".", ":") I am left with "word1:::word2:::::::word4::::word5::::::::::::"
    So therefore I'm guessing this would require the use of replaceAll() maybe? but I'm not really very familiar with how regular expressions work and how this would be accomplished using them.
    Any help would be greatly appreciated :) Thanks.

    Yes, but "." means any character, so ".\+" means "any character repeated more than once". If you just mean a full stop ("period" for you Americans :p) you should use "\.+" as your regular expression, but remember that for Java you need a '\' escape to recognise '\' as '\', so in code you'd actually type your regex as:
    "\\.+"Here's an example of one way to do it:
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    public class Test {
        public static void main(String[] args) {
           String string = "example1.......example2...example3.....example4";
         Pattern pattern = Pattern.compile("\\.+");
         Matcher stringMatcher = pattern.matcher(string);
         string = stringMatcher.replaceAll(":");
         System.out.println(string);
    }Edited by: JohnGraham on Oct 24, 2008 5:19 AM
    Edited by: JohnGraham on Oct 24, 2008 5:22 AM

  • Replace all special characters in a String with underscore

    I have a String which contains some special characters even(!,$,@,*....).
    I need to replace all the special characters with _ in my String. I do have an idea of using String.replace() and analogous forms, but I would be thankful if anyone can suggest me of a better and an efficient way.
    regards,
    fun_one

    Kaj,
    Thx for your earnest reply. I did have a peep into the API on this method. But the regular expression that I need to use here was beyond my understanding. It did specify some regex that I put to use (something like myString("\D","_"), assuming that I need to replace all non-digit characters ), but it really did not help me getting the result.
    Would you spare some code for me reg. the usage of regular expressions in such a scenario?
    cheers,
    fun_one

  • Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy!

    Every time I sync my Iphone 5c(with ios 8) to Itunes, it 1. deletes all of my purchased music 2. deletes all of my album artwork 3. replaces all of my deleted songs. please help! this is driving me crazy! It syncs 100+ songs, when I only want to sync 1! I'm running Itunes 11.3.1.2

    After having experienced similar problems and having it back to work, I have a few suggestions:
    - Try to find out if the syncing stops at a particular track or song. That might - out of the blue - have gotten corrupted in one way or another. Since that song will not be on the iPod, iTunes will try over and over to put it on and crash in one way or another;
    - reformat the iPod as described in the iTunes 9 crash-thread. It takes time (at first it seems to do nothing, but that is because the green bar is moving with very small steps);
    HTH

  • Export functionality save/replace all

    Is there any way to replace all files by an export?  It is annoying to have to overwrite each and every file when I export all pages from a fireworks project after having exported once before.
    There should be a checkbox allowing the user to export and replace all files instead of having to be asked for each and every file.  I have to sit there clicking enter 100+ times for some of my projects.

    Well, there's always the option to export to a new folder. That's what I'd recommend.
    But it would be nice if there were a checkbox or a button within that first prompt, to "apply to all" or "replace all". (BTW, is this an HTML export, or a different type of output?)
    You could request something like this using Adobe's official feature request submission form:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Help to buield program in Smarter way

    Hallow
    I have a interface program that I have to send a many(50) different structre but in all stuctre I have 6 fields that is requirement in all stuctre. I heard that I can do a strucre with the requirement fields and one field type char 255 that I move for him all the data from other fields . but i dont now way i thihnk this is smarter way to do that so please help.
    Example
    Pernr
    Persno
    i.d
    date
    Name
    <b>vData</b>
    <b>Instead of</b>
    Pernr
    Persno
    i.d
    date
    Name
    <b>Date of bearth
    Country
    Religion</b>
    And many more fields…..
    Regards

    hi all
    Maybe field symbol can help but i dont now how to use it?
    Regards

  • Force IE to open all internet links

    Does anyone know of a way to for all web links no matter where a user clicks on them to open in IE. We need to have chrome in our desktop image (for reasons beyond this discussion)
    but if a user is using Gmail in chrome and clicks on a web link in Gmail I need it to open IE and not try to open the link in chrome.
    Any Ideas?? Thanks in advance

    Hi,
    Did you use Windows 7?
    In Windows 7 control panel\All control panel items\default programs\set your default programs, set IE to a default program to open links.
    And try to reinstall chrome, when it ask you if set chrome to default, do not select it.
    Regards,
    Leo  
    Huang
    Leo Huang
    TechNet Community Support

Maybe you are looking for