About users/workspaces/schemas

Hi,
I'm sorry if this question sounds stupid, but i'm not very clear on it.
At my company, we've developed a client/server app, and we want to migrate it to the web.
Right now I got 5 different clients working with same database structure: tables, views, sequences,etc... but, of course, data is different.
I need to know if these scenarios are possible on Apex for my 5 different clients with their 5 different data collection, so i can choose an apex hosting plan.
a- Having 1 oracle user owning 5 differet workspaces. Each workspace will hold database structure of each client
b- Having 1 oracle user owning 1 workspaces with 5 different schemas. Each schema will hold database structure for each client
c- Having 5 oracle user owning 5 differet workspaces. Each workspace
will hold database structure of each client.
Please let me know which one is possible or the best (in your opinion).
Thnx in advance
Fernando

Without addressing your problem here is some information:
1. Workspaces are logical boundaries around developers, nothing more. Workspaces have no corresponding database structures. They are merely a name+number association.
2. Workspaces can have developer and administrator accounts. People who use those accounts are allowed to develop applications, do admin tasks, and use the database tools like the SQL Workshop. Application Express keeps developers and admins in each workspace "away from" developers and admins in other workspaces.
3. When you develop an application using your workspace developer account, the application is associated with the workspace in ways that isolate it from other applications associated with other workspaces in the same database. This is the basis of Application Express security.
4. Applications are allowed to contain SQL and PL/SQL code that is "parsed as" a particular database schema. This schema is one of the schemas that has been associated with the workspace. So you might have a workspace named W1 that has schema S1 associated with it and a workspace named W2 that has schema S2 associated with it. Applications developed in workspace W1 will parse as schema S1, and apps developed in workspace W2 will parse as schema S2. Both workspaces W1 and W2 could have schema S3 associated with them too. Then developers in either workspace could choose to build applications that parse as schema S3.
5. Workspace developers using tools like the SQL Workshop can see the schemas associated with their workspace.
Related thread: Re: Priveleges to create procedures/functions in schemas
Scott

Similar Messages

  • Users / Workspaces / Schemas ?

    Please can someone clarify the relationship between Users, workspaces and schemas . .
    I have 3 schemas (say SchemaA, schemaB and SchemaC) in the database and created three workspaces to correspond to them (WkspA, WkspB and WkspC).
    When it comes to users:
    Manage Application Developers --> create
    Fill in the details and associate userA to SchemaA and workspace wkspA.
    If I also want to allow userA access to WkspB and wkspC how is this achieved?
    Do I have to go back into Manage Application Developers and put in ALL the same info (username, email , first name etc) and associate them to the next schema (WkspB) and then repeat for WkspC.
    Is this correct - Is there no way of creating a user once and then associating him with multiple workspaces?
    Any advice appreciated.
    Thanks
    Jon

    Jon,
    1. Workspaces are completely isolated from one another in all respects. Nothing is shared between workspaces (except site-wide environment settings).
    2. When you login to the service admin application (htmldb_admin) admin you can use that Manage Application Developers link to manage developer accounts in any workspace in the instance. However, you may find it more convenient to manage developers on an individual workspace basis by logging in as the administrator of each workspace and using the administration pages there.
    3. As stated above, user accounts with a given name in one workspace have no relationship to user accounts with the same name in another workspace. User 'JON' in ws A is as separate and distinct from user 'JON' in ws B as User 'X' is from user 'Y' in those two workspaces.
    4. The main reason to create distinct workspaces for different groups of developers is to keep them from seeing/altering/running each other's applications.
    Scott

  • Export users from one workspace/schema to another

    Hello,
    I need to export APEX users from one workspace/schema to a different workspace/schema. I only know how to export a sql file that combines the workspace with the users.
    In addition to that I would like to bundle that with an application package so that I will be able to deploy the entire application all at once. Is this possible?
    In an ideal world, it would be create if someone could send me "step-by-step" directions on how to package and deploy an APEX application so that everything (i.e. all database objects, seed data, application definition, users, graphics, css, js - and tell me in what order each should be created) would be in one script.
    Any help would be appreciated.
    Thanks
    LEH

    LEH,
    You asked a similar question here: How to Create a Packaged Application
    It's best not to start multiple threads on the same topic.
    It is 100% impossible for anyone on this forum to tell you how to create seed data scripts without seeing your schema and understanding what data needs to be seeded. Have you taken the time to read the APEX user's guide on packaging applications? I believe that it's a good place to start, as once you understand the fundamentals of packaged applications, many of your questions will likely be answered.
    As for moving APEX users, you can navigate to any application, click Import/Export, select Export, then click on the Workspace Users tab.
    Thanks,
    – Scott –
    http://spendolini.blogspot.com/
    http://sumnertech.com/

  • How to define user defined schema in LDAP

    Hi guys,
    I have created user defined fields in OIM through design console.
    Could any one please help me in writing user defined schema in LDAP with the fileds created in OIM.
    Thanks,
    divya

    Hi Divya
    I'm a little confused about what you're asking. Does the custom schema already exist within your target LDAP server? Are you trying to work out how to pass custom attribute values through as part of an OIM provisioning operation? Which particular LDAP Server and Connector are you using?
    Or are you perhaps asking how to actually create a user-defined schema extension within the LDAP directory? In this case, that will completely depend on which LDAP Server implementation you're using and you should probably refer to the product docs for that product.
    Hope this helps
    Cheers
    Rob

  • CREATE/DROP synonyms in another user's schema without ANY privilege

    What's the best way to enable a user to create/drop synonyms in another user's schema without doing any of the following?:
    1) Granting CREATE/DROP ANY SYNONYM or CREATE/DROP PUBLIC SYNONYM to the synonym creator.
    2) Logging in as the user that will own the synonym to create the synonym.
    * Although option #2 might be ideal, it would require reworking a lot of code in our environment.
    I thought about creating a stored procedure in the syn-owner's schema that issues the "CREATE SYNONYM" DDL command and then granting EXECUTE on this proc to the syn-creator -- but, it's my understanding that it's best to avoid putting DDL inside stored code.
    Any ideas?
    Oracle version is 10.2.0.4

    DBA should recognize"should" is the operative word here :)
    One clarification: the user from which the DBA's are planning to revoke the "ANY" privs is an account used internally by one of our ETL tools -- not a developer account. In fact, only the ETL tool itself and the DBA's can log into the account in TST/PRD (developers can log in with it in DEV). Even so, the DBA's still want to revoke "ANY" privs from ALL non-DBA accounts in ALL databases (including DEV). I kind of think that this is overkill, but then again, I don't make the rules here!
    Anyhow, it seems that what we need here is the insight of a political scientist rather than that of a DBA. (not that your perspective is not valued!!)
    Seems that I'll be going back to the drawing board...
    Thanks for your help.

  • Storing users workspace information in XML

    Hi,
    I have to store users workspace information in XML file so that user can retreive it later. The information that needed to be stored can be any thing. This XML file will be stores in oracle back end.
    Well i am not totally well aware of XML advantages and how well we can use it.
    If any one who is is well aware of XML can provide me some information that will help in understanding it better like any related site, white papers etc.
    For more clarification about the information that needed to be stores can be like,
    1. Customization of Menu
    2. Customization of ToolBar
    3. Child windows opened
    4. Which window is currently loaded
    etc
    Also i need a generic way to manuplating my code so that i wont have to make major changes during the process.
    Thanks in advance.

    you might be better asking this in the XML forum.
    What will probably happen is that the XML structure is your template eg
    Store1 xml
    <menu> store1 menu</menu>
    Store2 xml
    <menu>store2 menu</menu>
    From your xml dtd you can derive what is needed to create a Java model which you will have to populate with the values of the XML tags.
    Then your gui will reflect any changes made in the model
    If you do a search on sun for XML there is a tutorial which may be of use. Also depending how big your project is you may wish to look at JAXB

  • HTML editor in user workspace landing page

    I followed the instructions in the Advanced User Guide to enable the use of landing pages in user workspaces. When adding a html element to the landing page in a user workspace, the editor is just a blank text box with no tool or menu bar and you cannot click OK, only Cancel, if you add anything to the box. The editor works fine in landing pages in team workspaces.
    I recently upgraded to 3.4. This is the first time I enabled user workspace landing pages, so I don't know if the upgrade has anything to do with it.
    Does anyone have any ideas what I did wrong or where to look?

    stober,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • How to get more information about users in oracle 11g

    Hi All,
    I need to know more infor about users in oracle 11g.
    1.How to check when user last time login to database.
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons also
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    4.How to check when he was reset his password last time.
    Please correct me if am wrong. thanks
    Regards

    1.How to check when user last time login to database.AUDIT
    2.If user account is lock why it is locked? if it is locked by trying to loing with wrong password how to check how many times he attempted with wrong password...and other reasons alsoCheck Profile For this user and attr.
    3.Wheni was trying to select user expire date it is showing empty value...can we check expire date through querys or we need to check profile?
    SQL> select EXPIRY_DATE from dba_users ;
    EXPIRY_DA
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    24-SEP-11
    23-MAY-13
    24-SEP-11
    24-SEP-11
    24-SEP-11 check
    expiry_date in dba_users is null
    4.How to check when he was reset his password last time.SELECT PTIME FROM SYS.USER$;

  • Privilege to allow a user to create a view in another user's schema

    Hello,
    I need to allow a user to create a view in another user's schema.
    Say, to connect as USER_A and run statement: 'create view USER_B_SCHEMA.myview as select...'
    Is there any way to accomplish that without granting USER_A privilege to CREATE ANY VIEW? I want to keep USER_A at the lowest profile possible.
    Thanks!

    You have the option to create an stored procedure, here a test case (no optimized, no bug free):
    SYS@orcl > create user sp_owner identified by sp_owner;
    SYS@orcl > grant create any view to sp_owner;
    SYS@orcl> create procedure sp_owner.create_view (
      2  view_name varchar2, view_sql varchar2 ) is
      3  begin
      4    execute immediate 'create view '||view_name||' as '||view_sql;
      5  end;
      6  /
    Procedure created.
    SYS@orcl > create user test identified by test;
    SYS@orcl > grant create session to test;
    SYS@orcl > grant execute on sp_owner.create_view to test;
    TEST@orcl> execute sp_owner.create_view('scott.emp_vw','select * from scott.emp')
    PL/SQL procedure successfully completed.HTH
    Enrique
    PS. If your problem was solved, consider marking the question as answered.

  • Where can I get more information about User exits?

    Where can I get more information about user exits,their related Tables and the source code of an User exit?
    Thanks

    would you please give the Internet addresses of these places?
    Mostly I want to get the source of some user exits in Oracle Application.
    If you know how and where can I get these sources,I'll appriciate if you let me know.
    Regards

  • Questions about user-defined functions

    Hello all,
    I've got some questions about user-defined function in a message mapping:
    1) How can I get the current date/time in format yyyy-mm-dd hh:mm:ss ? What is the java code for this?
    2) I want to use the StreamTransformation constant TIME_SENT, only this is not in the right time-zone.
    It is GMT and it should be CET (1 hour difference). How can I convert this in Java?
    Can somebody help me with this?
    Thanks in advance.
    Kind regards,
    Marco van Iersel

    Hi Marco,
    If the date format is fixed as you have mentioned,please use this:
                                    String test = "2009-03-27 23:15:30";
              String test1 = test.substring(11,13);
              if(!test1.equals("23"))
              int a = Integer.parseInt(test1);
              int b = a+1;
              System.out.println("b"+b);
              String c = Integer.toString(b);
                                    test = test.substring(0,10)+" " + c + test.substring(13,19);
                                    return test;
              if(test1.equals("23"))
              test = test.substring(0,10)+ " 00" + test.substring(13,19);
              return test;
                                    else return "";
    Kindly let me know if this works.
    Thanks.
    Regards.
    Shweta

  • Know about user activity

    Hello,
    We have the need of knowing the following data about users:
    1.- How many time is the user conected every day.
    2.- Which days do users  connect.
    We have tried with the audit, sm19, but the information we need is not there.
    I know with STAT/STAD transaction we can seethese data, but it will be a lot of daily work and we cannot aim that time.
    Do you know any other way to do it? Something like some tables to extract the data and make a report?
    Thanks and best regards,
    Alfonso.

    Hi Alfonso,
    You can query table USR02 which contains informations about user, last logon date (TRDAT) and last logon time (LTIME), but the duration is not stored.  
    Also, report RSUSR200 can record the users logon date and time.
    Br,
    Javier

  • A question about users assigned roles extraction

    Dear all,
    I have a question about users assigned roles list extraction. I need the list of the users who have already been created along with their assigned roles. According to what I found on Google, there is a table named AGR_USERS which provides the roles assigned to each user. Yet, this table provides only the SAP ID of each user along with the assigned roles. What I need more is to have also the first name and second name of each user.
    So, do you know any table providing at least the following information:
    1) First name of each user
    2) Second name of each user
    3) SAP ID of each user
    4) All assigned roles to each user.
    NOTE: I really need to have first name and second name in separate columns
    Thanks in advance,
    Dariyoosh

    >
    Shekar.J wrote:
    > Agr_users for the user ID and role assignments
    > USR02 to check the validity of the User ID
    > and USER_ADDR for the first name and last name
    >
    > You can create a Table join of the above 3 tables to retrieve the data you require
    Thanks to you and others for your attention to my problem
    I don't know anything about ABAP programming, is there any transaction allowing to create this join? As it seems to me the column "UNAME" in the table "AGR_USERS" and the column "BNAME" in the table "USER_ADDR", both refer to the SAP ID of the user. As a result the condition of the join would be "WHERE (UNAME = BNAME)", is there  any transaction/programme allowing to create this join?
    Thanks in advance,
    Dariyoosh

  • Re: (forte-users) workspace-open [Virus checked by NAINetshield]

    ---------------------- Forwarded by Richard Stobart/ExternalUser/GB/WCG on
    02/05/2000 13:51 ---------------------------
    From: Richard Stobart Willis
    2 May 2000 13:49 GDT
    To: "Aissa Amazzal" <aamazzalaxialog.fr>
    cc:
    bcc:
    Subject: Re: (forte-users) workspace-open [Virus checked by NAI Netshield]
    (Document link: Database 'Richard Stobart', View '($Sent)')
    Aissa,
    Run fscript distributed and do an unlockworkspace.
    fscript > help unlockworkspace
    UnlockWorkspace <workspaceName> [<workspacePassword>]
    Force an unlocking of 'workspaceName'. This will release the repository
    locks associated with the specified workspace. Use this command ONLY if
    the workspace is not in use, and some unusual error condition has left the
    repository server in a bad state.
    Regards
    Richard
    "Aissa Amazzal" <aamazzalaxialog.fr> on 02/05/2000 13:45:36
    To: forte-userslists.xpedior.com
    cc:
    bcc: Richard Stobart/ExternalUser/GB/WCG
    Subject: (forte-users) workspace-open [Virus checked by NAI Netshield]
    Hi;
    I work on my workspace and there is sudenly a rupture of courant. After, I
    can't open my workspace.I must shutdown the server before working. Is there
    another solution ?
    Thanks

    ---------------------- Forwarded by Richard Stobart/ExternalUser/GB/WCG on
    02/05/2000 13:51 ---------------------------
    From: Richard Stobart Willis
    2 May 2000 13:49 GDT
    To: "Aissa Amazzal" <aamazzalaxialog.fr>
    cc:
    bcc:
    Subject: Re: (forte-users) workspace-open [Virus checked by NAI Netshield]
    (Document link: Database 'Richard Stobart', View '($Sent)')
    Aissa,
    Run fscript distributed and do an unlockworkspace.
    fscript > help unlockworkspace
    UnlockWorkspace <workspaceName> [<workspacePassword>]
    Force an unlocking of 'workspaceName'. This will release the repository
    locks associated with the specified workspace. Use this command ONLY if
    the workspace is not in use, and some unusual error condition has left the
    repository server in a bad state.
    Regards
    Richard
    "Aissa Amazzal" <aamazzalaxialog.fr> on 02/05/2000 13:45:36
    To: forte-userslists.xpedior.com
    cc:
    bcc: Richard Stobart/ExternalUser/GB/WCG
    Subject: (forte-users) workspace-open [Virus checked by NAI Netshield]
    Hi;
    I work on my workspace and there is sudenly a rupture of courant. After, I
    can't open my workspace.I must shutdown the server before working. Is there
    another solution ?
    Thanks

  • Want to know about User exit in detail

    Hi ALL,
    I M NEW TO sap ABAP. I WANT TO KNOW ABOUT USER EXIT IN DETAIL. PLS DO THE NEEDFUL . If there are eny document regarding this pls mail to this id [email protected]
    thanks and regards
    Nandha

    Hi Nanda,
    Welcome to SDN,
    Userxits allow us to add our own functionality to SAP standard program
    without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
    User exits are used when the flow for a particular transaction has to take some other route other then the normal flow. this can be the case when you have to attach some additional functionality lik u need a customised screen, or new functionality (using a functional module). based on these things user exits can be classified as screen exits, function module exits, field exits( not used anymore). hope this gives some help on userexits.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    To find a Exit.
    Goto Transaction -- Find The Package
    SMOD >f4>Use the Package here to Find the Exits In the Package.
    Else if you Want to search by Application Area wise ,
    There is one more tab to find the Exits in the Respective Application Area.
    Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
    Now Run ur Transaction to Check if it Triggers.
    Thats it..
    For More information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/ab038.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.sap-basis-abap.com/sapab013.htm
    http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
    These links will help you to learn more on user exits.
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
    http://www.planetsap.com/userexit_main_page.htm
    http://www.allsaplinks.com/user_exit.html
    www.sap-img.com/abap/what-is-user-exits.htm
    Also please check these threads for more details about user exits.
    Re: Screen exit
    user exit and customer exit
    user exit
    1. Document on UserExits in FI/CO
    http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
    2. Finding User Exits...
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
    3. List of all User Exits...
    http://www.planetsap.com/userexit_main_page.htm

Maybe you are looking for

  • Data Source  not found

    Hi EveryBody I deploy jtds sql server2000 driver successfully then I deploy datasource providing drivername successfully after that I am using it in my web/hibernate application. I use it in hibernate.cfg.xml file like <property name="connection.data

  • FM or  BAPI to  create 1001  IT   for Central Person

    Hi Friends I need FM or BAPI  to create 1001  relationship for  OTYPE  CP  ' Central Person ' . FM     HR_CENTRALPERSON_INSERT   is  there to create IT 1000 for CP   i  need for  1001 IT anybody pls guide me. Regards Meeta

  • Photoshop 12 on my Windows 7 professional PC  crashes/freezes repeatedly,suggestions?

    I recently installed Photoshop 12 on my windows 7 professional PC.  It crashes and freezes repeatedly.  It has done it importing photos into the organizer and while using the organizer after importing the photos. Are there any suggested fixes for thi

  • Extending the Controller class OrderLinesTableRNCO

    Hi, My requirement is to enable 2 attribute columns on po lines summary table if a attribute1 on po header is Y else disable both of them. I am writing trying to do this in the Controller class on the PO Lines summary table ( this is a advanced table

  • How to open the programs, tcodes and thier authorizations.

    Hi folks, I have to find out programs like  ZAFGU021      their tcodes and aouthorization attached with these programs. Pls help me its urgent. Thanks in advance