Creating user in oracle 12i

Hi everybody,
Where can I find information about creating users in oracle e business suite 12(12i)? Though I know how to do such procedure but I am thinking of a thorough mannual to integrate what I know about this matter.
All the best,

Check the [User Guide|http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120sasg.pdf].
By
Vamsi

Similar Messages

  • Creating Users for Oracle DB residing in xMII server

    Hi,
    We are on xMII 12.0.3 Build(107). We have the Oracle 10g database residing in the xMII server. Now, in order to create users to access the DB, do we have to create in SAP front or externally create users on oracle front?
    Thanks in advance,
    Regards,
    Prasanna

    create users on oracle front.

  • API for creating User in Oracle E-Business Suite through BPEL

    Hello,
    I would like to use a BPEL process to create a new User in Oracle EBS. In the {color:#0000ff}Integration Repository {color}I was able to find an API called FND_USER_PKG/LOAD_ROW that creates/updates Application's User data. Is this the API I should be using? If so, I would like to better understand how to use this API. What are the required input parameter?
    I have created a simple BPEL process and added an Oracle Application Service, which uses this FND_USER_PKG/LOAD_ROW API. I set the following parameter before Invoking the Oracle Application Service: X_USER_NAME, X_ENCRYPTED_USER_PASSWORD and X_START_DATE. When I run the BPEL process I get the following error. I suspect that I am not passing all the required input parameters. Does anyone have any sample data I can use to get this API to load correctly? If I am using the wrong API, please let me know.
    Thank you kindly!
    Christine
    - <input>
    - <Invoke_OracleEBS_SecurityUser_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    - <InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/">
    <db:X_USER_NAME>
    CRILEY
    </db:X_USER_NAME>
    <db:X_ENCRYPTED_USER_PASSWORD>
    CRILEY
    </db:X_ENCRYPTED_USER_PASSWORD>
    <db:X_START_DATE>
    2009-01-01
    </db:X_START_DATE>
    </InputParameters>
    </part>
    </Invoke_OracleEBS_SecurityUser_InputVariable>
    </input>
    - <fault>
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    20001
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_SecurityUser.wsdl [ OracleEBS_SecurityUser_ptt::OracleEBS_SecurityUser(InputParameters) ] - WSIF JCA Execute of operation 'OracleEBS_SecurityUser' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the APPS.FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-20001: APP-FND-02600: Unable to create user CRILEY due to the following reason(s):
    Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
    ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
    An unexpected error occurred. Please contact your System Administrator...
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.FND_USER_PKG", line 783
    ORA-06512: at "APPS.FND_USER_PKG", line 916
    ORA-06512: at "APPS.FND_USER_PKG", line 1035
    ORA-06512: at "APPS.FND_USER_PKG", line 645
    ORA-06512: at line 1
    Edited by: Christine Riley on Jan 22, 2009 11:00 AM
    Edited by: Christine Riley on Jan 27, 2009 1:07 PM

    Hello,
    I would like to use a BPEL process to create a new User in Oracle EBS. In the {color:#0000ff}Integration Repository {color}I was able to find an API called FND_USER_PKG/LOAD_ROW that creates/updates Application's User data. Is this the API I should be using? If so, I would like to better understand how to use this API. What are the required input parameter?
    I have created a simple BPEL process and added an Oracle Application Service, which uses this FND_USER_PKG/LOAD_ROW API. I set the following parameter before Invoking the Oracle Application Service: X_USER_NAME, X_ENCRYPTED_USER_PASSWORD and X_START_DATE. When I run the BPEL process I get the following error. I suspect that I am not passing all the required input parameters. Does anyone have any sample data I can use to get this API to load correctly? If I am using the wrong API, please let me know.
    Thank you kindly!
    Christine
    - <input>
    - <Invoke_OracleEBS_SecurityUser_InputVariable>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="InputParameters">
    - <InputParameters xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/APPS/FND_USER_PKG/LOAD_ROW/">
    <db:X_USER_NAME>
    CRILEY
    </db:X_USER_NAME>
    <db:X_ENCRYPTED_USER_PASSWORD>
    CRILEY
    </db:X_ENCRYPTED_USER_PASSWORD>
    <db:X_START_DATE>
    2009-01-01
    </db:X_START_DATE>
    </InputParameters>
    </part>
    </Invoke_OracleEBS_SecurityUser_InputVariable>
    </input>
    - <fault>
    - <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
    - <part name="code">
    <code>
    20001
    </code>
    </part>
    - <part name="summary">
    <summary>
    file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_OracleEBS_OnBoarding_1.0_d71e16636aa9ff51b9975926da6faeb2.tmp/OracleEBS_SecurityUser.wsdl [ OracleEBS_SecurityUser_ptt::OracleEBS_SecurityUser(InputParameters) ] - WSIF JCA Execute of operation 'OracleEBS_SecurityUser' failed due to: Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the APPS.FND_USER_PKG.LOAD_ROW API. Cause: java.sql.SQLException: ORA-20001: APP-FND-02600: Unable to create user CRILEY due to the following reason(s):
    Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
    ORA-20001: Unabled to call fnd_ldap_wrapper.create_user due to the following reason:
    An unexpected error occurred. Please contact your System Administrator...
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.FND_USER_PKG", line 783
    ORA-06512: at "APPS.FND_USER_PKG", line 916
    ORA-06512: at "APPS.FND_USER_PKG", line 1035
    ORA-06512: at "APPS.FND_USER_PKG", line 645
    ORA-06512: at line 1
    Edited by: Christine Riley on Jan 22, 2009 11:00 AM
    Edited by: Christine Riley on Jan 27, 2009 1:07 PM

  • How to create user in oracle 11 g

    Hi.
    i am new to oracle 11 g. i am learning for oragle 11g dummies pdf.i have some doubts about create user in that what is for identified by used in create user.
    eg: create user acme_own identified by acme_own2008 temporary tablespace temp, default tablespace user,
    in this what identified user is used and what it does.
    if anyone tell me it will be very helpfull.

    Hi;
    Please see below notes if you have still doubt please update thread:
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/users.htm#BABGIFFE
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_8003.htm
    http://www.adp-gmbh.ch/ora/sql/create_user.html
    Regard
    Helios

  • Limit for creating users in oracle 9i/10g database

    what is limit of users to be created to connect to the database?
    is there any limit?
    my database size is 10gb.

    It depends on what type of license you have
    Processor perpetual or Named user license....
    If it processor perpetual then it is unlimited and if it named user then you can create users based on How many user licens you have purchased
    http://oraclestore.oracle.com/OA_HTML/ibeCCtpSctDspRte.jsp?section=11365&media=os_user_minimums

  • How to create user in Oracle 11g Console Administration through browser

    Hi
    I installed Oracle 11g on my Windows XP system
    then i opened the console through IE 8.0 using the address "https://serversys:1158/em"
    then i logged into this console by the username SYS/SYS@orcl as SYSDBA
    then i opened the SCHEMA tab
    but here i didn't found any link like "USERS" to create/manage users
    How can i create the users..?
    thanks in advance
    jk

    user10922309 wrote:
    Yes, Hans i am planning to become a DBA from India.Good. If you ever move to North America to become a DBA, let us know. >:)
    With the help of your link "admqs_administer_users.htm"
    i found that bold "Users" link in "Server" tab bold
    but right now i am getting the error "ora-01301: insufficient privilages"
    then i granted the 'create user' privilege to SYS
    error is coming..If you have properly logged on as SYS, as shown by the 'Logged in as SYS' note in the upper right corner, you should not be getting the 1301. Try logging out and following the steps in the document I gave you starting at chapter 1.

  • Create user from oracle form builder 10g

    dear all,
    anyone to help me? I want to try, to create a new user from form builder oracle 10g in windows, I use a default script like 'create user user_name identified 123' in toad 9.0 for oracle and the result is success but when I try to combine with form builder oracle 10g this script doesn't work...I hope somebody can help me to solve my problem..
    thank you,,,
    Dedy Prasetyo T.

    Dear Francois,,
    I've tried the way you suggested and success. but how if I take the value of user_name and password from the data block to insert table dba_users ? would you like to help me?
    regard,
    Dedy P.T

  • Creating user in oracle through JDBC

    I m trying to create a user in oracle through jdbc. When I m creating user through SQL plus I m able to do it successfully but when I m doing it through java code I can see that user�s entry in dba_users & dba_role_privs tables.But when I am trying to drop that user I get message �User doesn�t exist�. Also when I am trying to logged in through the newly created user (one that I have created through code)in SQL Plus , I get error �ORA-01017: invalid username/password ; logon denied�.If user doesn�t exist then how can I see it�s entry in dba_users & dba_role_privs?? One more thing �. I can drop that user through code but not using SQL Plus.
    This is the code�.In this code I have logged in using system-manager & I m trying to create user test88 with password test88.I am granting 3 roles to this user Connect , Resource & DBA same as Scott �Tiger. Please help.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class OracleDB1 {
    public static final String isSUCCESS = "SUCCESS";
    public static final String isORACLE = "ORACLE";
    public static final String isFail = "ERROR";
    public String dbDriver;
    public String dbURL;
    public String dbUserName;
    public String dbName;
    public String dbPassword;
    public String dbType;
    private Connection con;
    private Statement stmt;
    * @param s Username
    * @param s1 Indentified by
    * @param s2 tablespace
    * @param s3
    * @return
    * @throws SQLException
    * @throws ClassNotFoundException
    public String createUserOracle(String s, String s1, String s2, String s3)
    throws SQLException, ClassNotFoundException {
    System.out.println("Creating user method ");
    String s4 = "";
    if (!s2.equals("")) {
    if (!s3.equals("")) {
    s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \""
    + s1 + "\" DEFAULT TABLESPACE " + s2 + " QUOTA " + s3
    + " ON " + s2);
    else {
    s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \""
    + s1 + "\" DEFAULT TABLESPACE " + s2
    + " TEMPORARY TABLESPACE TEMP QUOTA UNLIMITED ON " + s2);
    else {
    s4 = new String("CREATE USER \"" + s + "\" IDENTIFIED BY \"" + s1
    + "\"");
    try {
    con = this.init();
    System.out.println("The new user statemeent " + s4);
    stmt = con.createStatement();
    System.out.println("The new user statemeent " + s4);
    stmt.execute(s4);
    System.out.println("the info success "+stmt.SUCCESS_NO_INFO);
    stmt.close();
    } finally {
    if (null != con) {
    con.close();
    return "SUCCESS";
    public String grantRightsOracle(String s)
    throws SQLException, ClassNotFoundException
    String s1 = new String("GRANT connect , resource , dba to \"" + s + "\"");
    try
    con=this.init();
    stmt = con.createStatement();
    System.out.println("granting "+s+"with the connect priveleges");
    stmt.execute(s1);
    stmt.close();
    finally
    if(null != con)
    this.close(con);
    return "SUCCESS";
    public Connection init() throws SQLException, ClassNotFoundException {
    System.out.println("initialising");
    Class.forName("oracle.jdbc.driver.OracleDriver");
    dbURL = "jdbc:oracle:thin:@localhost:1521:priya";
    con = DriverManager.getConnection(dbURL, "system", "manager");
    return con;
    public void close(Connection connection) throws SQLException {
    if (!connection.isClosed()) {
    connection.close();
    public String disableUserOracle(String s) throws SQLException,
    ClassNotFoundException {
    String s1 = "REVOKE CONNECT, RESOURCE, SELECT ANY TABLE FROM \"" + s
    + "\"";
    try {
    con = this.init();
    stmt = con.createStatement();
    stmt.execute(s1);
    stmt.close();
    } finally {
    if (null != con) {
    this.close(con);
    return "SUCCESS";
    public String deleteUserOracle(String s) throws SQLException,
    ClassNotFoundException {
    String s1 = new String("DROP USER \"" + s + "\" CASCADE");
    try {
    con = this.init();
    stmt = con.createStatement();
    stmt.execute(s1);
    stmt.close();
    } finally {
    if (null != con) {
    this.close(con);
    return "SUCCESS";
    public static void main(String args[]) {
    String s = "";
    OracleDB1 oracleoperations = new OracleDB1();
    try {
    System.out.println("creating user");
    s = oracleoperations.createUserOracle("test88", "test88", "", "");
    System.out.println("creating user is " + s);
    s=oracleoperations.grantRightsOracle("test88");
    System.out.println("granting rights" + s);
    //s=oracleoperations.deleteUserOracle("test88");
    //System.out.println("deleting user" + s );
    } catch (Exception exception) {
    exception.printStackTrace();

    I read that by default, JDBC uses an operation mode called auto-commit. This means that every update to the database is immediately made permanent.Still for this program I have tried connection.commit() also , Still it is not working.
    I think that problem is not with commit otherwise I shouldn't be able to see that newly created user entry in these tables from Sql Plus:-
    1)DBA_ROLE_PRIVS
    2) DBA_USERS
    3) DBA_sys_privs
    Ya but these is no entry in DBA_OBJECTS table for this user.

  • Create users in Oracle for exchange server

    Hi everyone!
    I would like to know if Oracle Communications Messaging Exchange Server works just like Exchange Server.
    How can the users I create in Oracle be used in Exchange server instead of users being created again in Exchange Server?
    Hope to get some enlightenment on this issue.
    Thanks.

    If publishing to a .Mac space, you can password
    protect the site, and blog.
    It'll still only allow for comments, rather than
    allowing users to create new blog entries, but at
    leat you'll know it's by one of those you have
    allowed in.
    I expected something like that to be honest with you, the whole point is to have the website open and at the same time use several users to work on it, apparently it is not possible, I will send a new form to request an improvement on iWeb for that.
    Thanks very much for your answer
    MacBook   Mac OS X (10.4.8)   Xerox Office Printers attached
    MacBook   Mac OS X (10.4.9)   Xerox Office Printers attached

  • Error While creating User using userservcenter Webservice

    Hi All,
    I have generated the java client stub from the um_workflowSaveCreateProfile.wsdl file successfully and I have developed one client code to call the web service to create user in Oracle Internet Directory.
    I am invoking one workflow for creation of the user which accepts four attributes (sn, cn, uid, userPassword),it is working fine when sn, cn, uid attributes are mandatory only, but if I make userPassord as mandatory, it is showing me error : Not all of the required parameters for this operation were specified.
    I am using the below client Code to call the service:
    package com.example;
    import java.util.Properties;
    import org.apache.axis.AxisFault;
    import com.oblix.CreateUser.*;
    public class CreateUserClient {
    public static void main(String Args[]) throws AxisFault{
    try{
    OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator loc = new OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator();
    OblixIDXMLPortType port = loc.getOblixIDXML_um_workflowSaveCreateProfile_Port();
    Authentication myauth = new Authentication();
    myauth.setLogin("orcladmin");
    myauth.setPassword("1111Aaaa");
    Request myrequest = new Request();
    myrequest.setFunction("workflowSaveCreateProfile");
    myrequest.setApplication("userservcenter");
    myrequest.setVersion("NPWSDL1.0");
    RequestParams myparams = new RequestParams();
    myparams.setObDomainName("dc=ad,dc=company,dc=com");
    //myparams.setObWorkflowName("obworkflowid=wfqs20090206T1424241321438,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    myparams.setObWorkflowName("obworkflowid=wfqs20090206T170318571544,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    java.math.BigInteger myint2 = new java.math.BigInteger("4");
    myparams.setNoOfFields(myint2);
    AttributeParams attributeParams = new AttributeParams();
    GenericAttribute []genericAttribute = new GenericAttribute[10];
    GenericAttribute mygenericattr = new GenericAttribute();
    mygenericattr.setAttrName("cn");
    mygenericattr.setAttrOperation("ADD");
    String[] cn = {"Akshay"};
    mygenericattr.setAttrNewValue(cn);
    genericAttribute[0] = mygenericattr;
    GenericAttribute mygenericattr1 = new GenericAttribute();
    mygenericattr1.setAttrName("sn");
    mygenericattr1.setAttrOperation("ADD");
    String[] sn = {"koul"};
    mygenericattr1.setAttrNewValue(sn);
    genericAttribute[1] = mygenericattr1;
    GenericAttribute mygenericattr3 = new GenericAttribute();
    mygenericattr3.setAttrName("uid");
    mygenericattr3.setAttrOperation("ADD");
    String[] uid = {"akshay_koul"};
    mygenericattr3.setAttrNewValue(uid);
    genericAttribute[2] = mygenericattr3;
    PasswordAttribute []pwdatrarr= new PasswordAttribute[1];
    PasswordAttribute pwdatr= new PasswordAttribute();
    pwdatr.setAttrName("userPassword");
    pwdatr.setAttrOperation("ADD");
    pwdatr.setAttrNewValue("abcd1234");
    pwdatr.setAttrConfirmValue("abcd1234");
    pwdatrarr[0] = pwdatr;
    System.out.println("the pwd is"+pwdatrarr.toString());
    attributeParams.setGenericAttribute(genericAttribute);
    attributeParams.setPasswordAttribute(pwdatrarr);
    myparams.setAttributeParams(attributeParams);
    myrequest.setParams(myparams);
    Oblix output = port.oblixIDXML_um_workflowSaveCreateProfile(myauth, myrequest);
    System.out.println("result of the request\n");
    System.out.println();
    //System.out.println("test:"+output.getObError().getObStatus());
    // System.out.println("test1:"+output.getObError().getObRequestInfo());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0].toString());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0]);
    System.out.println("test3:"+output.getObError().getObTextMessage(0));
    System.out.println("status is " + output.getObStatus());
    }catch(Exception e){
    System.out.println("the exception is:"+e.getMessage());
    e.printStackTrace();
    Please suggest me where i am wrong !!!
    Thanks in Advance
    Akshay

    Hi,
    I guess, create workflow does not accept the password attribute while creating user account.
    You have to create the account using createprofile web service then update the password using changeprofile web service.
    I think this limitation is strategic, if you have password policies enabled, policies are applied to the container of the accounts.
    So OAM needs to have the DN of the user account to check if there are any password policies associated with the container during password updates,
    which might not be possible while using createProfile web service.
    - Sandeep

  • Creating users with supplier, buyer, job code info.

    I am writing a java app to create users in oracle apps.I am using apps api package fnd_user_pkg to create users,update users,add responsibilities.
    I need to add some extra attributes e.g. supplier, buyer, planner, job code info while creating a user.Is there any api package like fnd_user_pkg which can be used to update tables with above info? or should i update the tables directly?

    Thanks for the reply.  I was actually hoping the I-Chain/EDirectory variables would be available as CGI variables.  Here are some of the CGI variables I tried to retrieve from the header.  As you can see, only two contained values.  There must be some other way to obtain these.  I'd played around with CFLDAP, CFHTTP, etc.  No such luck.  But as mentioned, the IS dept says the values I'm looking for (UserID, Name, Location, etc.) are all being sent in every header (every response from the server).  Am just not sure which CF tags/tools to use to capture them.  Maybe it requires some special script.  I tried a few of those found in the CF7 on-line help, but no luck in getting the scripts to run.  If any other thoughts or suggestions, they would be much appreciated.  Thanks again, Gary1.
    <CFSET ValidSource1 = CGI.QUERY_STRING>
    <CFSET ValidSource2 = CGI.HTTP_REFERER>
    <CFSET ValidSource3 = CGI.REMOTE_USER>
    <CFSET ValidSource4 = CGI.REMOTE_ADDR>
    <CFSET ValidSource5 = CGI.AUTH_USER>
    <CFSET ValidSource6 = CGI.REMOTE_USER>
    <CFSET ValidSource7 = CGI.SERVER_NAME>
    ValidSource1 =
    ValidSource2 =
    ValidSource3 =
    ValidSource4 = 57.14.131.12
    ValidSource5 =
    ValidSource6 =
    ValidSource7 = aometrics.xxx.com

  • Error in creating user in SQL plus in Oracle12c?

    Hi,
    I am trying to create user in oracle 12c sqlplus. But it displays error as "invalid common user or role name". How to rectify this error?
    I am using this command : create user scott identified by tiger profile DEFAULT account unlock default tablespace  SYSTEM;
    Please suggest how to create user.
    Thanks & Regards,
    Trikoti Mohan.

    I am trying to create user in oracle 12c sqlplus. But it displays error as "invalid common user or role name". How to rectify this error?
    I am using this command : create user scott identified by tiger profile DEFAULT account unlock default tablespace  SYSTEM;
    Please suggest how to create user.
    Many things, even basic things like creating users, are done differently in 12c. In 12c there are common users and local users. You need to know and understand the difference. My 'guess' is that you are trying to create that user and getting an exception because you are trying to create that user in the root CDB and you can ONLY create common users in the root. And SCOTT can not possibly be a common user because common users are defined differently.
    You also need to read and understand chapters 17 and 18 of the Concepts doc about the new multitenant architecture of 12c.
    http://docs.oracle.com/cd/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
    See the sections in those chapters about common and local users.
    Then read my last reply in this thread:
    Re: 12c: ORA-65049: creation of local user or role is not allowed in CDB$ROOT
    There are TWO MORE issues you may have had or may have.
    1. The SCOTT user already exists if you created the example database as part of the installation. But that sample DB (and the SCOTT/HR and other users) are in a PDB and NOT in the root/CDB.
    2. By default the root/CDB is the ONLY database affected by the STARTUP command. So if you start a multitenant database that has one or more PDBs (e.g. PDBORCL installed as the example DB) those PDBs will NOT be open or accessible until you MANUALLY open them.
    Alternatively you can create an AFTER STARTUP trigger that opens PDBs for you as part of the startup process.
    Lastly you should NOT alter the SYSTEM tablespace or schema or use them for your own objects.
    There are several other threads in this forum where I discuss other issues new 12c users are likely to run into. Search for rp0428.

  • How to Create User in BI Publilsher

    Hello,
    How can I create user in Oracle BI Publisher cluster that can login from either nodes? My security model is set to BI publisher. However when I create user in one node, it does not allow me to login from 2nd node.
    What is missing..?

    Please let me know the Datasource file name .. i.e. the .xml filename.
    try to analyze this name and see whether you get a solution or post it here.
    Reward points if helpful -

  • 1)lite create user and app subscription 2)selective sych from server

    Hello,
    1)i need to create a stand alone desktop application that creates users in oracle lite and that grants them access to a particular application, and then in the data subsetting to be able to enter the
    parameter values. in the documentation ive only found the create user. are there any other sql commands that can perform the other operations or do i need to go manually and update all the tables in the schema of the administrator like for example tables USERS,C$ALL_CLIENTS, C$ALL_SUBSCRIPTION_PARAM etc?
    the problem is that the create user , doesnt create an oracle lite user but a database user . i have oracle lite 10.3.0.2.0 with oracle db 11g at the back as the repository.
    2)iif we go to mobile manager->We select mobile devices
    and then we select our mobile device (our handheld for instace) from the list. We then select the commands tab. From the list we can see the
    “Sychronize databases” option which allows us to perform a sychronization with this particular device that is initiated from the server and
    not from the client. Then we see the sychronization type. How can I specify which table to sychronize in this case? I cant seem to be able to find any option for this. i dont want
    to sychronize the entire db just a part of it.
    thank you for your time and efforts
    Edited by: user2955130 on Sep 24, 2009 11:29 PM

    When you say a stand-alone desktop application... you mean a client application that is synchronized? You want to be able to add users to the device/database for example various shift workers?
    Take a look at the following:
    http://download.oracle.com/docs/cd/E12095_01/doc.10302/e12089/admdb.htm#BDCGGHCB
    You may also mean the following:
    Note that this is only for 10.3.0.2
    http://download.oracle.com/docs/cd/E12095_01/doc.10302/e12089/admuser.htm#BGBBCAII
    5.1.4 Mobile Server User Privilege: Member
    The Mobile Server user with privilege of member is created for accessing published applications and its data within the context of a single user. The member user is useful when you have multiple people using the same application and data (or subset of data) on a single device. This enables multiple people to share the device, application and data while logging in with their own username and password.
    Multiple members can be created and associated with this user. Once a view is created on the client for the member, then the member can access the application and data of the user. Thus, the user is known as the data owner, since all synchronization initiated by a member is actually performed within the context of the user.
    The member has the same privileges as a user. It provides a specific username/password for logging in and synchronizing the application from a device.
    A member inherits access to the application, subscription and data subsetting parameters from its associated user. However, as the data owner, only the user can be used to download and install the Mobile client. Additionally, only the user can initiate the first synchronization. The member cannot access the application data directly, but through a view created on top of the data by the user.
    Note:
    See Section 5.3.1.2.1, "Define Username and Password" for conventions for creating the username or password.
    If you modify a current user with privilege of Administrator, Organizer, or User to Member, then any associated devices for that user will be disabled when it is modified to privilege Member.
    After creating the member, the administrator associates the member with one or more users.
    For your second question, if you initiate a sync from the server, it will sync everything. You can only specify a selective sync from the client as part of your sync parameters.

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

Maybe you are looking for

  • File sharing no longer working under Lion

    File Sharing no longer works on our household macs running Lion. Shared volumes show up intermittedly in the finder sidebar. But connections fail.

  • Issue with goods receipt

    Hi, after completing the PO when I am trying to post GR...finally I am getting an error... Posting only possible in periods 2008/06 and 2008/05 in company code 1110 Message no. M7053 Diagnosis The posting date entered is not within one of the permitt

  • Inconsistent Reporting of Free Space on the HDD

    Activity Monitor shows Disk Usage as follows: Space utilized = 397.48 GB and Space free = 101.77 GB. About This Mac - Storage indicates 101.5 GB Free and 164.46 GB Backups (???). Right clicking on Macintosh HD in Finder and then on Get info reports:

  • My App Store won't open with OS X Yosemite 10.10.1, anyone have a solution?

    I downloaded the 10.10.1 update without knowing much about it. Ever since then I have not been able to open it or update any of my apps or my computer software. Whenever I attempt to open it, it shows the symbol for the app store and then the rainbow

  • HT1338 A Problem with the Oct 18, 2012 Java Update

    Yesterday's (Oct 18, 2012) Java update does not start with my applications. What can I do?