How copy the same project with its database schema & deploy it on same PC?

Hi,
Firstly, sorry about my forum handle. For some odd reason all the handles that I am trying to create are already in use.
Right, I am a new Application Express Developer and am managing my own Oracle Database Instance as well. I have managed to create a complete project and I have another client who requires the same project. What is the logic and steps that I can use in making a complete copy of the existing project and use it for my second client. The databse objects would be the same.
My initial thoughts are to create another database schema as a copy of the current database schema and then do an import/export of the existing project so that the new copy will work with the new schema? I am just talking on top of my head here. I am not a DBA and being new to Application Express administration does not help much either as well.
Thanks for reading my message.
Shahzad
Edited by: user10818643 on 05-Aug-2009 08:49

Virtual private database basically works by modifying your existing query.
So you have a table with your clients and a code for each client
So when client A logs in, he uses an application_context to set his code.
You have to write the procedure to set the context.
Now , what you need to do, is to modify your tables so that you can join to your client_code table based on client_code.
So when client A runs his code, he only sees his own data. When Client B runs he only sees his Data.
But you , if you run as sysdba can see both sets of data.
Check out http://asktom.oracle.com and the oracle docs. Oracle expert one on one has a good section on this two (by tom kyte too)
You really want to satisfy yourself that this is the solution you want. Do the queries run slower. Well, it depends on how well you implement fgac. If implemented well, it will be marginally slower but you will have far less maintenance than an alternative implementation. The big advantage is adding additional clients has virtually no extra workload for you.
I think you may need to use database account authentication for this to work with Apex. I'm really not sure.
I suggest you read up on this, and maybe try and set up a 3 table demo app with it. That way you can see whether or not its for you.

Similar Messages

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • How does Oracle client communicate with a database server

    Looking to idenify how Oracle Database Client for OpenVMS communicates with database server and whether the protocol used is secure. Realize that it is using whatever the configured network protocol is (ie. tcpip) but is languauge it uses ( ie. SQL, etc..)  secured/encrypted and if not what steps can be taken to encypt

    Arizuddin wrote:
    I have installed oracle client 10g on client pc for getting connection to Oracle databse 10g (runng on windows server) usng ODBC through SAGE ACC PAC (ERP). Working fine earlier. Now all of a suddent user starts complaining about database connection. When checked his pc registry values. Two values of ODBC keys are reset to null. Those are DSN and DRIVER values. How come this values reset to null? What is causing this to reset?Nothing in this has anything to do with the sever. You need to check what the client did on his machine that caused registry to get modified?
    How does oracle ODBC works with Oracle database? Need to know all the steps involved?The connectoin from any client is initiated by a client process. This client process is supposed to get a server process to do his work. So if this is done, the client can work now with oracle . Please see the concepts guide for the gory details of the entire process.
    HTH
    Aman....

  • How find the missing glyph using javascript [like indesign preflight], and replace same glyph available font or

    The situation:
    I want to use basetext font, but some of the glyphs are missing in it, and are highlighted with pink boxes. common font [stix, etc.] have much more glyphs than basetext font. I can apply common font [stix, etc.]manually for each of the missing glyphs or insert two character and use kerning set it up, but it is tedious.
    Question:
    How find the missing glyph using javascript [like indesign preflight], and replace same glyph available font or insert two character and use kerning set it up?
    Any one know how to do this?
    Thanks in Advance,
    ~Jack

    Try Peter kehrl's script
    http://www.kahrel.plus.com/indesign/missing_glyphs.jsx

  • How to share a project with a non-Adobe user and present it to prospect customers?

    I Have to share my project with a person who will present it to prospect customers. I cannot ask this person to open an Adobe account. Is there a way for him to access my DPS folio and show it? Or can I export it in a way that allows to appreciate the interaction features built inside?
    Thanks!

    OK, got it. Thank you!
    2015-01-17 14:46 GMT+01:00 Bob Levine <[email protected]>:
        How to share a project with a non-Adobe user and present it to
    prospect customers?  created by Bob Levine
    <https://forums.adobe.com/people/BobLevine> in Digital Publishing Suite
    - View the full discussion
    <https://forums.adobe.com/message/7105349#7105349>

  • How to Synchronize Test Instance with Production database on regular basis.

    Hello
    How to Synchronize Test Instance with Production database on regular basis.
    I want to update my Test Instance with Production ERP on daily basis without downTime.?

    Hi,
    I recomend to configure physical standby database for your production and when ever you requir open standby Using a Physical Standby DB in Read Write Mode and Flashback DB, so that you can revert all the changes back and put the db in sync. Please follow below metalink notes.
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database (Doc ID 1070033.1)
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC (Doc ID 1068913.1)
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g (Doc ID 216212.1)
    update my Test Instance with Production ERP on daily basis without downTime.?With zero down time is not possible I think.

  • Copying the LSMW Project is possible?

    Hi Experts,
    Pls. clarify that "  Is copying the LSMW Project is possible, like se38 objects?"
    If so, pls. let me know the navigation.
    thanq.

    You Can Copy LSMW  Project in LSMW Transaction..
    When you enter the LSMW Screen.
    If you want to copy existing object into another name.
    1)Then in first screen Enter the
    Project              
    Subproject           
    Object      
    you want to copy.
    2)Then click All Project Objects
    3)Place the cursor on the (Subproject or Object) you want ot copy then press CTRL+F4.
    4)Then copy that object into the Project, Subproject you want.
    Note : The Project and Sub-poject must be initially created.
    or  LSMW==> Extras => Export==> Give a local file name as TXT==> Go to same LSMW system==> LSMW==> Extras => Import.
    Thanks
    Seshu

  • I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    Isn't Outlook simply an email client or a software application on a computer? You can add an email account - whatever email provider that you use - right on the iPad. You can sync your Outlook contacts and calendar if that is what you are asking about, but Outlook itself has nothing to do with the iPad.
    Message was edited by: Demo

  • How to port a project from a database to another

    Can any help me find a documantation how to port my metadata project from one database to another step by step. I get problem with the location and connector in mapping when import the metadata file (mdl)

    I have to do the same task here. Still couldn't start this task though...
    But I believe I'll use the MDL file. I don't see how avoid the connector/location issue either. I believe that migrating OWB's repositories demands to recreate this structures...
    If anyone else knows how to overcome this issue, I'd be glad to know how!
    Regards,
    Marcos

  • How to duplicate Events/Projects with only Proxies.

    I'm on a MBP Retina, with 500GB SSD. Running Mountain Lion and FCPX 10.0.5.
    I have a 3TB Seagate drive.
    I encoded all my footage to ProRes 422 first, then imported that as original media into my current Project. That footage is over 1TB in disk space.
    I then created Proxies of all that, and am pleased at the performance, and file size of the proxies.
    Now I want to copy my Event/Project to a smaller drive that only has 400 GB available (I measured my Proxies footage folder and it's only over 100GB. So plenty of space).
    I've viewed tutorials on the dangers of duplicating in the Finder, and that everything must be duplicated or copied within FCPX.
    So my question: How can I take my current Event/Project and Proxy versions only, and go home and edit, and then come back to the office and move my updated Project file and relink and keep moving with my bigger versions stored on my 3TB drive? What's the step-by-step?
    Thanks,
    Chris.

    Here is a possible way to go about this:
    Duplicate (or move) all projects to the backup drive. Duplicate the event to the backup drive.
    Click on each copied project from the backup drive (you don't need to open its timeline), go to the Inspector and click on "Modify Event References". There you will get a list with two events (the one on the original disk and the copy you just made). Move the new copy to the top an click ok. Now your projects will reference the versions of your clips in the copied event, and you can safely delete the originals.

  • How to use HR application with Remote Database ?

    Hi,
    I tested the HR application but it working on local database.
    How can I create same application which will communicate with Remote Database.
    Any guideline ?
    Regards,
    Ajay Sharma

    Hi,
    Thanks for the reply.
    My scenario is that there is one web service and this web service has one method name "getQueryOutput".
    Input parameter to this method is Select query
    select ename form empthe return type of this method is Document. Currently I hard coded the select statement as I want to display all employee name as application starts.
    But I am getting following error
    Unable to read DataControl Usages, on loadDataControl for id: Genericwebfollowing is the code of method where I am calling Webservice data control
        public void Execute() {
            Trace.log(Utility.ApplicationLogger, Level.INFO, EmployeeList.class, "Execute",
                      "##############Inside Execute");
            List pnames = new ArrayList();
            List params = new ArrayList();
            List ptypes = new ArrayList();
            pnames.add("query");
            ptypes.add(String.class);
            params.add("select ename from emp");
            try {
                Trace.log(Utility.ApplicationLogger, Level.INFO, EmployeeList.class, "Execute",
                          ">>>>>> Before invokeDataControlMethod");
                // This calls the DC method and gives us the Return
                GenericType result =
                    (GenericType)AdfmfJavaUtilities.invokeDataControlMethod("Genericweb", null, "getQueryOutput",
                                                                            pnames, params, ptypes);
                GenericType cfgt = (GenericType)result.getAttribute("Results");
                int count = cfgt.getAttributeCount();
                for (int i = 0; i < count; i++) {
                    GenericType fgt = (GenericType)cfgt.getAttribute(i);
                    Employee e = (Employee)GenericTypeBeanSerializationHelper.fromGenericType(Employee.class, fgt);
                    GenericType tempgt = (GenericType)fgt.getAttribute("ENAME");
                    e.setEname((String)tempgt.getAttribute(0));
                    s_employees.add(e);
            } catch (AdfInvocationException e) {
                Trace.log(Utility.ApplicationLogger, Level.SEVERE, EmployeeList.class, "Execute",
                          ">>>>>> AdfInvocationException=" + e.getMessage());
                //AdfException ex = new AdfException("Error Invoking Web Service.  Please try later", AdfException.WARNING);
                AdfException ex = new AdfException(e.getMessage(), AdfException.WARNING);
                throw ex;
            } catch (Exception e2) {
                Trace.log(Utility.ApplicationLogger, Level.SEVERE, EmployeeList.class, "Execute",
                          ">>>>>> Exception=" + e2.getMessage());
                //AdfException ex = new AdfException("Error Invoking Web Service.  Please try later", AdfException.WARNING);
                AdfException ex = new AdfException(e2.getMessage(), AdfException.WARNING);
                throw ex;
        }Regards,
    Ajay sharma

  • Help - Disconnected Server Setup: Which program do you use to copy the updates off with?

    Hi,
    I am in the process of upgrading our Disconnected WSUS Network up.
    My new configuration is 1 Server running 2012 Datacentre which hosts our online WSUS server and 1 Windows 7 Enterprise PC (both in a workgroup) in the same subnet which has a bluray "robot" burner  to burn the actual updates attached to it. 
    I have to use physical media due to the security policies in place.  My "disconnected" Server is running Server 2008 R2 and is in a domain.
    The problem I have is that previously I used ntbackup on our 2003 R2 Internet connected server, created the full or incremental backup as needed and transferred it to our Server 2008 R2 domain computer.  I then used the ntbackup tool created for server
    2008 to extract the updates.  This has worked fine.
    I thought with Server 2012 R2 I could just use the Windows Server Backup feature as a direct replacement for Ntbackup and transfer the backup.  However when I transfer the backup and attempt to open it on my 2008 R2 server I get a message that the global
    catalog is corrupted.  I tried this a couple of time to make sure I didn't have bad disc's and to rule out a dodgy burner.
    I have now spent the week researching how to fix this and have come to the conclusion that the 2012 backup file is not compatible with the 2008 version of Windows Server Backup.
    I have attempted to recover the catalog using http://technet.microsoft.com/en-us/library/cc725765.aspx but don't get the option too.  I have also ran up some VM's on my test lab with the same configuration and attempted to transfer a couple of MB and these
    failed instead of the 86GB i used initially in work.
    Since I failed at this route I have tried to find another program that can accomplish what I need but have reached a dead end.  I have tried Rich copy but this fails to copy the ACL's over.  I have tried Winrar but I'm not convinced about the ability
    to do a full and incremental backups.  Have also tried wrysnc but again this didn't work.
    Any help with what programs other people use would be very very appreciated.
    Thanks
    Ray

    Hi Ray,
    According to your description, are you looking for compression utilities?
    Due to this forum is focusing on the issue of WSUS, to get better help, please post your question on the Windows backup forum.
    Here is the address,
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=windowsbackup
    Besides, why don't you use the removable hard disk? It's quite fast and cheap.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • How change the File Open With list of apps?

    In Bridge CS3, how does one edit the list of applications in the File > Open With menu (also available from the contextual menu for any image).
    The list contains a number of applications that I would never use to open an image, and I would like to add to it, a new image editor (pixelmator) that does not appear in it. I have looked in the Bridge Help and the Preferences dialog and don't see any option to do this.

    OK, I have now learned that Mac OS keeps the list of which apps to open what, in the "launch services database."
    This database can be cleaned up and reset which somewhat simplifies the list that is displayed by the Finder OR by Bridge CS3.
    Here is an article on how to reset the launchdb:
    http://www.macosxhints.com/article.php?story=20031215144430486
    Be sure to read all the way to the end as there are updated instructions down among the comments.
    Here is a thread in the Apple Support forums discussing the same issue, and it includes links to some 3rd-party programs that can reset launch services without use of a lengthy Terminal command:
    http://discussions.apple.com/thread.jspa?messageID=1289317
    Even after rebuilding the launchdb, I find that a large number of apps are "registered" to open JPG files, including Camino, Opera, TextWrangler and others with only a tenuous connection to JPG. I don't understand why this is, and I would still like to find a way to limit the JPG Open-With list to a few graphics programs. But cleaning up the launchdb as described in the linked pages, did get rid of some programs and added some missing ones.
    Hope this actually constructive info is useful to others.
    Dave Cortesi

  • How to archive a project with files

    Ok the job is done and now i would like to move the project with files from my laptop to a backup hard disk.
    I saw that in project manager there is a tool to do that, but what if i already have the video files already copied to the external drive and i just want to backup the missing parts ? ( project files, previews) and how to keep files location updated with new location?
    Thanks

    ok I just did it, I also moved the preview files in a new folder inside the customer folder and pointed it when launching the copied project file and it works.
    So it's all manual or a new clean full copy with project manager.. I wish there was an option that backup in the destination harddrive just the missing files but I can just do it manually.
    Thanks!

  • How to move an object with its animation path, without adding a new keyframe?

    Hi,
    If I create an object which has a keyframe animation, how can I change its location/scale without adding new keyframes? That is, I want to move the whole thing with all its animations & keyframes as a single entity.
    thanks
    Arun

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

Maybe you are looking for

  • How do I print preview?

    I have powerpoint on my macbook pro, and i want to make it so there is three slides to a page with extra space to the right so that i can make notes. But I dont see a place for me to preview what i am wanting to print so that i can adjest it. Please

  • Runtime exec problem to execute a C program

    Hi, I've spend lot of time trying to find a solution without success... My aim is to run a C program from a java application under linux. My C code is the following: #include <stdlib.h> #include <stdio.h> #include <string.h> main(int argc, char **arg

  • I lost the top of the page where the "tools" icon would be, how do I get it back?

    The top of the page is missing where you would have "file" bookmarks" "tools" so I don't know how to reset my page back to the default settings. == This happened == Just once or twice == today

  • Extreme Slow Down In Speeds During Peak Hours

    1. Old LJU Single Master Socket, using new microfilter 2. Quite line test comes back silent 3. On an Unlimited Usage package 4. This problem has been occuring for the past couple of weeks now

  • Data set Line feed

    Hi I am writing a file using data set. But the each line doesnot start in a new line. how do i make it possible? Points will be rewarded thanks My code is ...   OPEN DATASET p_unixfile FOR OUTPUT IN text mode  ENCODING DEFAULT.   LOOP AT i_opfile INT