New schema in existing application

Hi all,
I have an application(abc) running on schema (R1). Now i have created a new schema (R2) and have created few objects under it. Now when i am creating a new page in abc application i am not getting the previlage to use R2 schema. Actually in this application i want to use both the schemas(R1 and R2). Need help in this as how to achieve it?
Thanks

Use the GRANT statement to give permissions to R1 inside R2 and vice-versa.
While connected to R2, in SQL Workshop or SQL Developer:
GRANT SELECT ON [OBJECTS] TO R1
Then in an application whose default schema is R2, you can create SQL queries such as:
SELECT COL1 FROM R1.TABLE

Similar Messages

  • New page on existing application

    Hi,
    How can I add new page report on the existing application?
    Thank you

    What did you have in mind? The Enter key? The Tab key?
    Keep in mind that APEX applications are web-based, ie they run within the confines of the browser. The Browser is the actual application, and it already has predefined what many of the keyboard keys mean, such as F5 (page refresh), etc. You can't re-map these meanings without knowing exactly which browser you are dealing with and a whole lot of pain. The simplest way to do things in APEX is with buttons and clicks, as these can be easily translated into exact actions you can control within the APEX environment and which are generally browser-agnostic.

  • How to enable New Schema in existing EUL

    Hi,
    We have a single EUL and recently, we have created a new schema.
    Could anyone direct me as to how I could see this schema listed down along with the rest of the schemas in my selection?
    Do I need to login as EUL_MANAGER and do a refresh?
    We have a single BA as well.
    Thanks in advance.

    Just doing the refresh helped!
    I wasn't ready to do this as its a prod instance and also since the new schema was NOT listed in the list of items that would be changed.
    Thanks!

  • Create a new schema from existing schema

    Hi, I'm wondering whether there is a way of create a schema from
    existing one? Could it done through SQL statement or have to go
    through some sort of tools? Please drop me a few words if you
    know the answer. Thanks.

    Hi,
    U can do that in a few steps.
    First create the User.
    Then Go to the Source User and grant him create any table privs.
    Then write a Sql Stmt to generate the necessary scripts and run it.
    The other way would be to grantr the newuser select on all the tables and then run that script from his account.
    Regards,
    Ganesh R

  • Creating a new schema or adding some more tables in existing schema ??

    Hi All,
    We have a new requirement from the client asking us to include a few new functionalities(pages--- all together a new application has to be embedded into our application) in our application. By adding these new functionalities, the number of hits to our application can be doubled.
    As per the above requirement, I would like to know that whether to create a new schema or to create some new tables in the existing database for the new functionalities.
    By what way, can I handle the number of requests in a better way? by creating the new schema or by creating the new tables for the new functionalities.
    Also I would like like to know what kind of factors will differ between creating a new schema or creating new tables for the new functionalities in the existing schema.
    FYI... We are using Cold Fusion as front-end and Oracle 9i for back-end

    This the forum for Oracle's SQL Developer tool. You will get better answers in the Database - General forum.
    The short answer is that from a performance point of view there will be no difference. The issues are more to do with maintenance.

  • Which is better a new schema or adding tables in the existing schema

    Hi All,
    We have a new requirement from the client asking us to include a few new functionalities(pages--- all together a new application has to be embedded into our application) in our application. By adding these new functionalities, the number of hits to our application can be doubled.
    As per the above requirement, I would like to know that whether to create a new schema or to create some new tables in the existing database for the new functionalities.
    By what way, can I handle the number of requests in a better way? by creating the new schema or by creating the new tables for the new functionalities.
    Also I would like like to know what kind of factors will differ between creating a new schema or creating new tables for the new functionalities in the existing schema.
    FYI... We are using Cold Fusion as front-end and Oracle 9i for back-end

    I agree with VD in that it all depends on how closely the new features ties into your existing application structure.
    The second major factor to consider is since you mention "for client" is if your application has more than one client and if you will be rolliong this feature into the application for all clients. If you have multiple clients but only this one gets this feature then it may make more sense to use a second schema, but it really depends on how easy to identify and separate this feature's objects for the purpose of maintaining it through future upgrades is going to be.
    HTH -- Mark D Powell --

  • Switch To Different Schema Connection With Existing Application

    Hi,
    Currently, i want to connect my existing application to a different schema, how should i do it?
    The situation is that i have two schema(call Database Connection in JDeveloper) that have exactly the same structure, as one is duplicated from anothe. My purpose of doing this is to use one of the schema for daily operation, while the other for testing.
    I have tried with this method:
    1. Right click on the Business Component project node and select Edit Business Component Project.
    2. In the Connection Tab, i change the Connection Name to the new schema(which used for testing).
    3. Then i open my .jsp page and sad to see the it's still retrieving data from the old schema.
    Am i hitting it with the wrong tactic? Please lemme know if there's any way that i can solve my problem.
    Thanks,
    Sin Leng

    Hi,
    The code snippet provided above must be executed whenever an ApplicationModule is first used by a new session but only after
    that ApplicationModule has been connected (otherwise the connection will not be available). Depending upon the type of client that
    you are developing (Swing vs. servlet for example) the right place to put this code could vary. Further, if your ApplicationModule
    and/or connection is pooled you must also be careful to reset this information whenever an ApplicationModule is serially reused
    by different clients.
    As of 9.0.3, the BC4J framework has provided a single hookpoint for all clients to manage session context on the middle tier. The
    method is oracle.jbo.server.ApplicationModuleImpl.prepareSession(Session). This method is invoked whenever a session
    (represented by a SessionCookie in the BC4J framework) uses an ApplicationModule which it had not referenced from a previous
    request. The Session parameter is the ApplicationModule session context which BC4J will automatically update with the
    userData context of the client side SessionCookie before prepareSession(Session) is invoked. This makes custom, client
    side context available to the midtier. Further this method is invoked after BC4J has connected the ApplicationModule, so it is a safe
    hookpoint for initializing custom DB session context as well as MT session context.
    In order for BC4J to make the client side SessionCookie userData context availabe in prepareSession
    the SessionCookie userData context must have been set before SessionCookie.useApplicationModule has been invoked. Please see
    the javadoc for SessionCookie.getUserData() and or the pooling sample ($JDEV_HOME/BC4J/samples/Pooling) for more information
    about acquiring a SessionCookie reference programmatically (so that you can initialize the SessionCookie userData). Other options
    may be to set up the userData in a custom SessionCookieFactory. Please see the pooling sample for a sample custom
    SessionCookieFactory implementation.
    Hope this helps.
    JR

  • Switch to existed application instead of open a new one on Cinnamon

    Hi all,
    I am currently using Cinnamon as my desktop environment in Arch.
    Before that I used Unity on Ubuntu. Unity is an awesome thing.  One feature I liked most is that when you press "Super+1,2...", you can switch the corresponding application on the launcher very quickly(Just like you are using shortcuts on the Windows launcher). Unless the application is not started, the shortcut will start a new one.
    On Cinnamon, I bind some keys (like Super + 1,2...) in system settings (Cinnamon System Settings -> Keyboard -> Keyboard Shortcuts -> Custom Shortcuts) to start my applications. But I can't get the effect as I described above. When I just want to switch an existed one, the keys will still launch a new one.(Of course, obviously according to my setting).
    So my question is: Can I bind some keys to "Open or Switch to existed application" like it on Unity or Windows?
    Very grateful for any hints!
    Last edited by isolet (2013-10-26 04:21:53)

    clfarron4 wrote:
    Hi, I don't think there is a way currently do the Unity feature that you are asking for on Cinnamon right now.
    I can see problems with implementing such an idea on Cinnamon though in the case where people have two panels.
    Thanks for you reply. I hope I can get this done one day on Cinnamon.
    Last edited by isolet (2013-10-28 09:36:01)

  • Im new. How Do i integrate javaFX in my Existing Application of struts 2

    Hi there,
    I'm new to javaFX, so dont get mad at me with the question's im asking.
    I have a Existing application of struts 2 and now i want to add some enriched features in it using javaFX. So how do i start.
    Basically what is javaFX? Its all Client side rite, so do i have to do it in .jsp or how.
    How do i integrate in my existing application.
    Any link or material would be of great help
    Prateek Agarwal.

    .fx files are compiled to .class files, ie. regular Java code using a special runtime.
    These class files are then packaged to a .jar file and used like a regular applet. Look at the javafx.org site for samples, how they are integrated to the Web page.
    All you have to do is to include the special JavaScript code provided by Sun which will create the applet/object code for you, depending on the browser used by the users.

  • How a new application derivated from an existing application?

    I have built a application in jdev10g using ADF BC and JSF. It has been tested and deployed for user to use.
    Now, my another subsidiary company wants to use this application too, but the functions requested is just the subset of the application deployed. They may also asked some changes eg. image, logo etc.
    I prepare to derivate a new application from the existing application. of course, these two applications will be deployed on the same application server but with different project name and deploy directory in the application server.
    please guide me on that, Thanks in advance!
    Rgds!

    In 10g you'll basically need to make a copy of your whole application directory and in the project properties set a different context-root for your Java EE application.
    Then you'll be doing the changes you want on the new copy.
    If you were using 11g you could have used MDS to do the customization and then keep a single instance of the application.
    Basic demo:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/111demos/mds/mds.html

  • Apps found in Itunesmedia/mobile application are duplicated in Itunesmedia/automatically add to Itune/mobile application.  Could cause the message "a newer version already exists"?

    Does any one have a solution as to why I keep getting the message saying " a newer version already exist" when i syn my ipod touch.

    Browse out to your Automatically Add to iTunes folder located under either:
    Mac OS X
    ~/Music/iTunes/iTunes Media/
    Windows Vista/7
    C:\Users\USERNAME\Music\iTunes\iTunes
    And delete all the apps that are located in this folder.
    B-rock

  • Error creating a new user profile service application: The specified database is not a valid synchronization database

    When trying to create a new user profile service application on a new SharePoint install I get the following error:
    "The specified database is not a valid synchronization database"
    The installation then fails and does not create the third database. 
    I found some threads with similar problems but it involved upgrading an existing db.  In this case we want to create a new one.  Here is the relevant ULS log info:
    Starting schema provisioning of SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Provisioning the SP15_TEST_ENT_SyncDB database with the script at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Template\SQL\SPS\drop_procs.sql.
    Provisioning the SP15_TEST_ENT_SyncDB database with a script stream.
    Ensuring that the SP15_TEST_ENT_SyncDB database exists . . .
    The SP15_TEST_ENT_SyncDB database does not exist. 
    It will now be created.
    Setting the AutoClose option to False on the database SP15_TEST_ENT_SyncDB.
    Setting the ArithAbort option to True on the database SP15_TEST_ENT_SyncDB.
    Setting the TruncLogOnChkpt option to True on the database SP15_TEST_ENT_SyncDB.
    Starting schema evaluation of existing SynchronizationDatabase 'SP15_TEST_ENT_SyncDB'
    Validate Database: validating sync database
    Validate Database: validation failed: Error code -2
    Application error when access /_admin/NewProfileServiceApplicationSettings.aspx, Error=The specified database is not a valid synchronization database 
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Microsoft.SharePoint.Administration.SPDatabaseException: The specified database is not a valid synchronization database  
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.Administration.SPDatabaseException:
    The specified database is not a valid synchronization database   
     at Microsoft.Office.Server.Administration.SynchronizationDatabase.Provision()   
     at Microsoft.Office.Server.Administration.UserProfileApplication.Provision()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.DoCreateApplication()   
     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.NewProfileServiceSettingsPage.OnOkButtonClick(Object sender, EventArgs e)   
     at System.EventHandler.Invoke(Object sender, EventArgs e)   
     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.HandleError(Exception e)   
     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
     at System.Web.UI.Page.ProcessRequest()   
     at System.Web.UI.Page.ProcessRequest(HttpContext context)   
     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I Tried to create another one under a different name (databases also) and I get the same error. 
    The SharePoint instance has the march mandatory update installed.  The sql instance we are using is an existing SQL cluster for other SharePoint poc's. 
    Has anybody seen this issue before? 

    I had the same problem and could not figure out what was wrong for the longest time.  I then had the idea to check in the model system database to see if there were any extra custom tables in that database.  Any tables that are in the model database
    are put into any new database when it is created.  I had some custom tables in the model database so I deleted the custom tables in the model database and deleted the failed user profile service application and its databases and then tried to recreate
    the user profile service application again and it worked with no errors

  • New Tab in FPM application not visible

    Hi All,
    I am new to WD ABAP and working on an enhancement in EHSM 3.0 application using WDA and FPM. I am facing a problem while adding a new tab to an existing application.
    My requirement is to add a new tab in the Edit Incident screen (EHHSS_INC_REC_OIF_V3 configuration) and I have followed the below steps:
    Created an Z Enhancement for the component EHHSS_INC_REC_OIF_V3.
    Created a new config entry (ZEHHSS_CLASSIFICATION_PARAMETERS) for the component FPM_FORM_UIBB component
    Created a new Feeder class for the configuration and used it in the config entry
    Added a Main View, Subview and UIBB element in the EHHSS_INC_REC_OIF_V3 component similar to other existing tabs.
    For the UIBB --> I have selected FPM_FORM_UIBB as component, Window as FORM_WINDOW and the config ID mentioned above.
    I am able to see the new tab in the design time. There are also no errors when I perform a check.
    But once I login to the portal and go to the Edit Incident screen, the new tab is not shown. Please let me know if there are any additional steps needed to be performed?
    Also could someone let me know how do we link a Feeder class with a BOPF node and use it in the WDA FPM screen?
    I have given screenshots showing the behaviour at design time and runtime.
    Poojith MV

    Hi Chetan,
    I am now able to add a new tab after adding a new entry with the Main View name in "Assign Access levels to Incident Tabs" in transaction SPRO.
    However, I am now facing a new issue when I add a main view in OIF component. There are 12 main views in the Object Instance Schema with ID's MainView<sequencenumber> as shown below.
    But when I add a new main view I am getting the ID with the format MainVIew<sequencenumber_hexadecimalvalues> and also I am able to edit the ID value which is not enabled for other main views as shown below.
    The problem with this hexadecimal value is that every time a change is done and I save the configuration, the number changes and this is causing problem as the configuration in SPRO does not match and the new tab becomes invisible.
    Please could you let me know what could be the reason and how to rectify this?
    Regards,
    Poojith M V

  • Associating new schema to workspace

    The breadcrumb
    Home>Manage Workspaces>Manage Workspace to Schema Assignments>Add Schema
    in the Admin application.
    How does it do its thing? Does it just call the wwv_flow_fnd_user_api.create_company API with the new schema added to the colon-delimited p_company_schemas parameter? Or is there some other "add" API?
    I would like to add a schema to an existing workspace in multiple environments; a scripted deployment is much more appealing than clicking around in the Admin application.
    Thanks

    No, that doesn't really address this.
    Scott: Would something like
    begin
        wwv_flow_security.g_security_group_id := 12345678906341;
        wwv_flow_provisioning.add_schema (
        p_request_id           => NULL,
        p_security_group_id    => wwv_flow_security.g_security_group_id,
        p_schema_name          => 'NEW_SCHEMA',
        p_default_ts           => NULL,
        p_temporary_ts         => NULL,
        p_use_existing         => TRUE
    end;
    /work?
    It does what I need (adds an entry to apex_workspace_schemas but it also changes the FIRST_SCHEMA_PROVISIONED to the NEW_SCHEMA. Not sure if that is harmful.

  • Creating a new schema in a Logical Standby Database

    Hi All,
    I am experimenting with logical standby databases for the purpose of reporting, and have not been able to create a new schema in the logical standby database - one of the key features of logical standbys.
    I have setup primary and logical standby databases, and they seem to be running just fine - changes are moved from the primary to the standby and queries on the standby seem to run ok.
    However, If I try to create a new schema on the logical standby, that does not exist on the primary, I get "ORA-01031: insufficient privileges" errors when I try to create new objects.
    Show below are the steps I have taken to create the new schema on the logical standby. Any help would be greatly appreciated.
    SYS@UATDR> connect / as sysdba
    Connected.
    SYS@UATDR>
    SYS@UATDR> select name, log_mode, database_role, guard_status, force_logging, flashback_on, db_unique_name
    2 from v$database
    3 /
    NAME LOG_MODE DATABASE_ROLE GUARD_S FOR FLASHBACK_ON DB_UNIQUE_NAME
    UATDR ARCHIVELOG LOGICAL STANDBY ALL YES YES UATDR
    SYS@UATDR>
    SYS@UATDR> create tablespace ts_new
    2 /
    Tablespace created.
    SYS@UATDR>
    SYS@UATDR> create user new
    2 identified by new
    3 default tablespace ts_new
    4 temporary tablespace temp
    5 quota unlimited on ts_new
    6 /
    User created.
    SYS@UATDR>
    SYS@UATDR> grant connect, resource to new
    2 /
    Grant succeeded.
    SYS@UATDR> grant unlimited tablespace, create table, create any table to new
    2 /
    Grant succeeded.
    SYS@UATDR>
    SYS@UATDR> -- show privs given to new
    SYS@UATDR> select * from dba_sys_privs where grantee='NEW'
    2 /
    GRANTEE PRIVILEGE ADM
    NEW CREATE ANY TABLE NO
    NEW CREATE TABLE NO
    NEW UNLIMITED TABLESPACE NO
    SYS@UATDR>
    SYS@UATDR> -- create objects in schema
    SYS@UATDR> connect new/new
    Connected.
    NEW@UATDR>
    NEW@UATDR> -- prove ability to create tables
    NEW@UATDR> create table new
    2 (col1 number not null)
    3 tablespace ts_new
    4 /
    create table new
    ERROR at line 1:
    ORA-01031: insufficient privileges
    NEW@UATDR>
    NEW@UATDR>

    HI Daniel,
    I appreciate your quick response.
    My choice of name may not have been ideal, however changing new to another name - like gav - does not solve the problem.
    SYS@UATDR> connect / as sysdba
    Connected.
    SYS@UATDR>
    SYS@UATDR> select name, log_mode, database_role, guard_status, force_logging, flashback_on, db_unique_name
    2 from v$database
    3 /
    NAME LOG_MODE DATABASE_ROLE GUARD_S FOR FLASHBACK_ON DB_UNIQUE_NAME
    UATDR ARCHIVELOG LOGICAL STANDBY ALL YES YES UATDR
    SYS@UATDR>
    SYS@UATDR> create tablespace ts_gav
    2 /
    Tablespace created.
    SYS@UATDR>
    SYS@UATDR> create user gav
    2 identified by gav
    3 default tablespace ts_gav
    4 temporary tablespace temp
    5 quota unlimited on ts_gav
    6 /
    User created.
    SYS@UATDR>
    SYS@UATDR> grant connect, resource to gav
    2 /
    Grant succeeded.
    SYS@UATDR> grant unlimited tablespace, create table, create any table to gav
    2 /
    Grant succeeded.
    SYS@UATDR>
    SYS@UATDR> -- show privs given to gav
    SYS@UATDR> select * from dba_sys_privs where grantee='GAV'
    2 /
    GRANTEE PRIVILEGE ADM
    GAV CREATE TABLE NO
    GAV CREATE ANY TABLE NO
    GAV UNLIMITED TABLESPACE NO
    SYS@UATDR>
    SYS@UATDR> -- create objects in schema
    SYS@UATDR> connect gav/gav
    Connected.
    GAV@UATDR>
    GAV@UATDR> -- prove ability to create tables
    GAV@UATDR> create table gav
    2 (col1 number not null)
    3 tablespace ts_gav
    4 /
    create table gav
    ERROR at line 1:
    ORA-01031: insufficient privileges
    GAV@UATDR>

Maybe you are looking for