Creation of database in WbDynpro application

Hi ....
i Want to know how to use database in WebDynpro Application.is anyone have help topic related to this?any simple Tutorial?...
please help me..
Thanks.

The soultion is simple.All you need to do is establish connection .
1. Create JDBC Datasource is VisualAdmin
2. Write the following to create connection.
public Connection getConnection() {
try{
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("jdbc/<<DataSourceName>>");
con = ds.getConnection();
return con;
}catch(Exception e){
return null;
3. Use the above connection to get the resultset.
Regards, Anilkumar

Similar Messages

  • RC-00118: Error occurred during creation of database

    adcrdb.sh started at Mon Nov 14 16:16:13 EAT 2011
    The environment settings are as follows ...
    ORACLE_HOME : /u04/d01/tech_st/11.2.0
    ORACLE_SID : JCLONE
    TWO_TASK :
    PATH : /usr/bin:/u04/d01/tech_st/11.2.0/bin:/usr/bin:/usr/sbin:/u0 4/d01/tech_st/11.2.0/jdk/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/local/bin:/u04/ d01/tech_st/11.2.0/appsutil/clone/bin/../jre/jre/bin:/usr/lib/qt-3.3/bin:/usr/ke rberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbi n:/usr/bin:/usr/X11R6/bin:/root/bin:.
    LD_LIBRARY_PATH : /u04/d01/tech_st/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib :/u04/d01/tech_st/11.2.0/ctx/lib
    Executable : /u04/d01/tech_st/11.2.0/bin/sqlplus
    The log information will be written to
    /u04/d01/tech_st/11.2.0/appsutil/log/JCLONE_oracle/adcrdb_JCLONE.txt
    Creating the control file for JCLONE_oracle database ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:13 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    Database mounted.
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-01119: error in creating database file
    '/u04/d01/tech_st/11.2.0/dbs/MISSING00015'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4754
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1348968 bytes
    Variable Size 427821720 bytes
    Database Buffers 629145600 bytes
    Redo Buffers 13017088 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "JCLONE"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01159: file is not from same database as previous files - wrong database id
    ORA-01110: data file 1: '/u04/d01/apps_st/data/system01.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP add tempfile '/u04/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "JCLONE.jtl.co.ke"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Nov 14 16:16:32 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Pr oduction
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : oracle
    sDbDomain : jtl.co.ke
    sDbPort : 1524
    sDbSid : JCLONE
    sDbUser : apps
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle .jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
    Exception occurred: java.sql.SQLException: IO Error: The Network Adapter cou ld not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:595)
    Current database Version is 11.2.0.2
    Apps Version is 11.5.10.2
    RUP version is 6
    Forms Patchset version is 19
    Please advise how to resolve this error ?
    Regards
    Mohammed.

    Please refer to these docs/links.
    Troubleshooting RapidClone issues with Oracle Applications 11i [ID 364565.1]
    Adcfgclone.pl DBTier is failing with error for dbms_backup_restore.zeroDbid(0) [ID 361157.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-01503+AND+ORA-01159+AND+ORA-01110&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Cloning Issue RC-00118: Error occurred during creation of database

    Friends,
    I execute following scripts on source system preclone.pl dbTier  &perl adpreclone.pl appsTier
    then take the cold source backup and transfer on another machine for cloning but when i am executing cloning script on db tier i am getting below mention error after 50% completion. I have very limited time and i cant go back on source system for fresh backup, please help me to sort out his issue.
    -------------------ADX Database Utility Finished--------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
            at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyData
            at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDat
            at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyData
            at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.NativeConstructorAccessorImpl.newInstan
            at sun.reflect.DelegatingConstructorAccessorImpl.newIn                      rce)
            at java.lang.reflect.Constructor.newInstance(Unknown S
            at oracle.apps.ad.clone.util.CloneProcessor.run(CloneP
            at java.lang.Thread.run(Unknown Source)
    Hopes you will support.
    Regards
    Irfan Ahmad

    plz check :
    http://doganayn.blogspot.in/2013/11/rc-50004-fatal-error-occurred-in.html
    Rapid Clone Failed While Running "Adcfgclone.pl dbTier": ORA-01194 and RC-00118 (Doc ID 375389.1)
    Troubleshooting RapidClone issues with Oracle Applications R12 (Doc ID 603104.1)
    Troubleshooting RapidClone issues with Oracle Applications 11i (Doc ID 364565.1)
    Regards,
    Haafiz

  • DR database Needs Different Application Schemas

    I am looking for experienced thoughts on Logical Standby database configurations using Data Guard...
    I have a Production database containing three application-specific schemas along with a handfull of schemas supporting business data. The DR site needs to receive replicated business data, but allow extra schemas to exist to support DR-side apps, which have a configuration based on location. E.g. the DR-side apps need to be setup using paswords that are hashed using hostnames, which are different given the DR site...
    My initial thoughts are to use a Logical Standby configuration to solve this, opening the standby database to allow the creation of extra application schemas.
    Can anyone tell me how suitable a solution this is, or if there is a better alternative?
    Oracle documentation explains that Logical standby database are generally used to off-load reporting and backups so I am concerned that my solution is going to produce management problems later down the line.
    Any comments much appreciated!
    Richard

    Many thanks for getting back to me!
    I agree that Logical standbys are not ideal for DR, but I can't see any other option in my situation. The problem is that a Physical standby won't work because I need the DR database to contain different application data to the Live site.
    Can you think of any other approved/reccommended solutions or technologies that will help, where Prod and DR are both single instance 10g DBs?
    One thought is to have separate databases on the DR side: one to host the app schemas and one acting as a physical standby for business data.
    Many thanks again,
    Richard

  • RC-00118: Error occurred during creation of database Raised by oracle.apps.

    Hi Experts,
    Please note i am doing the clonning from production to test server.
    Production Server -
    1. Run the adpreclone.pl on the apps & db tier.
    2. run the autoconfig on the apps and db tier.
    3. shut down the production instance.
    4. Moved the files and started the clonning process on the db tier i am getting the below issue.
    My current E-Business Suit Version is R12.0.4 Database Version is 10.2.0.3. Operating system is SUN SPARC 64 BIT SUN SOLARIS 10.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    adcrdb.sh started at Wed Mar 21 18:09:54 WAT 2012
    The environment settings are as follows ...
    ORACLE_HOME : /erptestdata2/u01/d01/tech_st/10.2.0
    ORACLE_SID : TEST
    TWO_TASK :
    PATH : /erptestdata2/u01/d01/tech_st/10.2.0/perl/bin:/erptestdata2/u01/d01/tech_st/10.2.0/bin:/usr/ccs/bin:/usr/sbin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/erptestdata2/u01/d01/tech_st/10.2.0/appsutil/clone/bin/../jre/bin:/usr/sbin:/usr/bin:/opt/EMCpower/bin:/etc/emc/bin:/etc:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,SPARC-Enterprise/sbin:/opt/sun/bin:/opt/SUNWexplo/bin:/opt/SUNWsneep/bin
    LD_LIBRARY_PATH : /erptestdata2/u01/d01/tech_st/10.2.0/lib:/usr/dt/lib:/usr/openwin/lib:/erptestdata2/u01/d01/tech_st/10.2.0/ctx/lib:/erptestdata2/u01/d01/tech_st/10.2.0/lib32
    Executable : /erptestdata2/u01/d01/tech_st/10.2.0/bin/sqlplus
    The log information will be written to
         /erptestdata2/u01/d01/tech_st/10.2.0/appsutil/log/TEST_proddb/adcrdb_TEST.txt
    Creating the control file for TEST_proddb database ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:09:54 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to an idle instance.
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    ERROR at line 1:
    ORA-01109: database not open
    ORA-01507: database not mounted
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    BEGIN dbms_backup_restore.zeroDbid(0); END;
    ERROR at line 1:
    ORA-00210: cannot open the specified control file
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 4168
    ORA-06512: at line 1
    ORACLE instance shut down.
    Connected to an idle instance.
    ORACLE instance started.
    Total System Global Area 1073741824 bytes
    Fixed Size          2035496 bytes
    Variable Size          432017624 bytes
    Database Buffers     624951296 bytes
    Redo Buffers          14737408 bytes
    CREATE CONTROLFILE REUSE SET DATABASE "TEST"
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/olap.dbf'
    ORA-01110: data file 31: '/erptestdata2/u01/d01/apps_st/data/odm.dbf'
    alter database open resetlogs
    ERROR at line 1:
    ORA-01507: database not mounted
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp02.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp03.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP2 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp04.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/erptestdata2/u01/d01/apps_st/data/temp10a5.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    ALTER DATABASE RENAME GLOBAL_NAME TO "TEST.clientdomain"
    ERROR at line 1:
    ORA-01109: database not open
    Error Running create/replace library with adupdlib.sql
    ORA-01109: database not open
    PL/SQL procedure successfully completed.
    File created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    exit_code=0
    Checking for errors ...
    The database has not been successfully created. Shutting down the instance ...
    SQL*Plus: Release 10.2.0.3.0 - Production on Wed Mar 21 18:10:16 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected.
    ORACLE instance shut down.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : proddb
    sDbDomain : clientdomain
    sDbPort : 1530
    sDbSid : TEST
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@proddb.clientdomain:1530:TEST
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST)))
    Exception occurred: java.sql.SQLException: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    SVR4 Error: 2: No such file or directory
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=proddb.clientdomain)(PORT=1530))(CONNECT_DATA=(SERVICE_NAME=TEST.clientdomain)))
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    Please advise ASAP.
    Regards
    Mohammed.

    Nikki,
    Check alert<SID>.log file for more details about the error.
    It looks like that the source database was not cleanly shutdown before copying the files to the target node. Please do the following and check then:
    SQL> connect / as sysdba
    SQL> startup mount;
    SQL> recover database using backup controlfile until cancel;
    -- type CANCEL
    SQL> alter database open resetlogs; If the above does not help, then shutdown the source database normally (make sure it is down), re-copy the files and start the cloning process again.

  • Creation of Database View , Projection View

    Hi ABAP EXPERTS,
    Can anyone plz send me the step by step creation of DATABASE and PROJECT VIEWS. Just steps by step explanation will do , screen shots will be more than appreciated.
    Kind Regards,
    Sunil Ranal.

    Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    Check this link for database view creation.
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ed06446011d189700000e8322d00/content.htm
    Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed. A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    Check this link for Projection view creation.
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21ed20446011d189700000e8322d00/content.htm
    Regards,
    Maha

  • Creation of Public Sector Planning application fails for LDAP user

    The environment is on Windows 2008 R2 & EPM 11.1.2.2.302 of Planning. The creation of "general" planning applications works fine, regardless of the method of creation, Native User/LDAP User or Classic/EPMA. The creation of Public Sector Planning application using Classic Administration fails when using an LDAP user.
    It works when using a Native User. It also works fine if EPMA is used, for both Native as well as LDAP users.
    Our developers are not comfortable with EPMA yet, so want/need the ability to create the applications using Classic Administration.
    Looking at the Planning sysout log, the only error message indicates a timeout with Calculation Manager:
    Calc manager rules initialization failed. Please load and deploy the rules from Calc Manager UI
    ERROR:Error while loading rules in Calc Manager. <HTML><HEAD><TITLE>Weblogic Bridge Message</TITLE></HEAD> <BODY><H2>Failure of server APACHE bridge:</H2><P><hr>No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.<hr> </BODY></HTML>
    Calculation Manager itself seems to be working fine.
    Any suggestions/thoughts anyone?
    Thanks,
    Andy

    Hi Vivek,
    The LDAP port is open to all the servers in the environment. LDAP users have no issues logging in to any of the tools that they have access to.
    I think it has something to do with how Classic Planning passes the security token to Calculation Manager for an LDAP user. For a "general" Planning app, there is no evidence of such a transfer, because the Rules are created after the app has been created. And there the user logs in directly to Calculation Manager to create the rules.
    When using EPM Architect, it would lead to reason that such a token is also passed, however, that mechanism does not seem to have any trouble.
    This is the first time I am using a pre-packaged application like PSB, and have so far worked with only with "general" Planning apps. Wanted to see if anyone else has created PSB apps using external users successfully, so I can trade environment notes and may be come to a cause/solution.
    Thanks,
    Andy

  • Delete a database in Essbase application

    I am getting the error as" Object locked by a user' when I try to delete a database in essbase application. Please advice how to delete it.

    Hello,
    You're in the wrong forum. This is the BDB JE forum. The Essbase forum is here:
    Essbase
    Please post your question there.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle Database XE to Application Express 3.0.1

    Hello,
    For some reason, I am really lost when it comes to upgrading from Oracle Database XE to Application Express 3.0.1. in a PC Windows 32-bit environment. In the following link: http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html
    it states to follow step 3.2 of the following link: http://download.oracle.com/docs/cd/B32472_01/doc/install.300/b32468/install.htm#CHDHIJGE.
    It tells me to run apexins.sql. I can't find this script. Am I missing something? I need very detailed step-by-step instructions. Any and all help is welcome. I have been fighting with this for two days, and I am not getting anywhere. Thanks in advance!
    Sharon

    Hi, try with this>
    Apex 3.01 Install
    gordan
    http://gordanmilojevic.blogspot.com/

  • Connection of oracle database in database server from application server

    Hi,
    I have two servers, one is application server and another one is database server…..
    I want to connect oracle 10g database in database server to application server. In application server oracle 10g client is installed……In database server, I have set tnsnames.ora, Listener.ora …while checking in lsnrctl…the particular sid is running fine…
    In application server, while I give as sqlplus
    After giving username and password its showing error as
    ORA-12545: Connect failed because target host or object does not exist
    While surfing in net it shows check tnsnames.ora and listener.ora….. I have set the environmental variables here in application server…..
    It’s connecting when I give
    Sqlplus
    Sql>username/password @ hostname: 1521/sid_name
    Is it possible to connect with the username and password
    I have set the host names in /etc/hosts….
    If we are giving the hostname, port number and Sid name this connects without using tnsnames.ora…..
    While pinging between two servers the connectivity is there between two servers…..
    Could u pls help me out?
    Thanks in advance

    hi,
    as u said i have done that ..s.till the same problem persists...
    lsnrctl>services
    $ lsnrctl
    LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 08-FEB-2007 03:56:23
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> services
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "RBTT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER
    Service "RBTTXDB" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1022 state:ready
    DISPATCHER <machine: emea, pid: 197076>
    (ADDRESS=(PROTOCOL=tcp)(HOST=emea)(PORT=37484))
    Service "RBTT_XPT" has 1 instance(s).
    Instance "RBTT", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0 state:ready
    LOCAL SERVER

  • How to connect to  Oracle database from webdynprojava application

    Hi
    How to connect to  Oracle database from webdynprojava application. where can we provide the code to connect to database.?
    Thank You.

    Hi,
    You need to create  Java Bean model. The bean is a typical java bean with default constructor, getter and setter. You can have additional methods for query etc. The attributes in the class will be your model node and attributes.
    However you need to configure the connection and create JNDI using visual administrator before writing the code.
    You can also consider writing Session EJB with oracle and using them in WD.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/dcaa4f05535591e10000000a1553f7/frameset.htm
    Srini

  • Diff between Oracle 9i database and 9ias application server.

    Can any one brief in detail the difference between Oracle 9i database and 9ias application server.

    Hi,
    Your question is the answer. Oracle9i Database manages all your eBusiness data and Oracle9iAS runs all your eBusiness
    applications. In a 3 tier architecture, Oracle9i Database fits in the Database tier where as Oracle9iAS fits in the middle
    tier. Oracle9iAS provides an infrastructure to run different types of applications(J2EE thru OC4J, Forms applns, Portal
    based applns, Wireless applns etc..)
    Cheers !
    -- Rajesh
    Can any one brief in detail the difference between Oracle 9i database and 9ias application server.

  • How to hide a database in java application

    Hello
    i am developing a database application for desktop. Now i want a database in this application that user should not be able to see wht database or mechanism i am using and when i make a instalation pakage then there should be not menual setting for end user.
    Like some pakage software definately use some databse or way to store data, but we r not able to see wht is bing going on behind the scene.
    Thanks.

    Have a look at HSQL (the successor of Hypersonic SQL).
    hsqldb.sourceforge.net
    Thomas

  • Get collation of SQL Server database in C# application.

    Hi all,
    Is there any way to get collation of SQL Server database in C# application.
    Basically I have to read collation of two SQL Sever databases and compare them in C# application.
    If possible change the collation of two SQL Server databases to same. These databases are empty and newly created one's.
    Can any one provide pointers or sample.
    Thanks in advance.

    Hello somsekhark,
    May I ask the meaning of this "collation of SQL Server "? Do you mean data collection or you mean the whole database file?
    I saw that you want the two database the same and you want to use C#, in this way I would recommend you check the following tutorial as a start:
    1. Introuduce to Bulk Copy
    https://msdn.microsoft.com/en-us/library/7ek5da1a(v=vs.110).aspx
    2. Multiple Bulk Copy Operations
    https://msdn.microsoft.com/en-us/library/s4s223c6(v=vs.110).aspx
    However the above things need the target database table exist.
    If you don't want this you may think about using SQL Server Management Objects
    https://msdn.microsoft.com/en-us/library/ms162169.aspx
    Something like introuduced here:
    https://msdn.microsoft.com/en-us/library/ms162563.aspx
    For more details, I think you question need to be specific.
    Best regards, 
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oca 11g database certification for application developer

    do i need oca 9i certification for getting 11g database certification for application developer not for DBA

    user9334987 wrote:
    some of my friend told me that i have to give 9i oca exams (one sql and one is for plsql) to appear for 11g oca. it means i will be eligible for 11g oca only after passing oca 9i is it true. i have seen your post given by you but it doesnot contain the answer of above question.Often I see people you say my friend say this .... my friends say that ... so often the friend is wrong. [http://www.oracle.com/education/certification] is authorative. Well usually.
    The problems start when people are imprecise about the certification they are seeking ... the list is here ....
    [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=141]
    If you notice there is no mention of '11g oca' or '9i oca' in the list.
    There is mention of:
    - Oracle 11g DBA OCA
    - Oracle9i DBA OCA
    - Oracle PL/SQL Developer OCA
    And one can drill down links to see the requirements for these certifcations:
    for example for a - Oracle PL/SQL Developer OCA a pass in one of (1z0-007 or 1z0-047 or 1z0-051 (or 1z0-001) ) plus a pass in one of (1z0-144 or 1z0-147) is required.
    There is a post from mediaguy (that goes to a blog that is currently unavailable at the time of this post ... but will proably be fixed in a day or two) that I feel has a chance of being relevant also (note i have not read it yet). {thread:id=1049842}

Maybe you are looking for

  • Eject is not working when installer asks to insert second disk

    I have a quite strange problem, when i'm installing world of warcraft on my laptop, everything goes allright for a first (of 5) dvd, it's running install till 20% and then asks to insert a second disk. When i'm trying to eject the first one it says,

  • Get-netadapter with vlan overview

    Hello, with hyper-v i frequently use get-netadapter. Is there a pipleline command with a overview of the vlan-id of these netadapters? (like get-netadapter -vlanid) ? Thx

  • Corrupted Aperture Library: need Help!

    I am running Aperture 3.1.3 and mylibrary seems to be stuck in version 3.1.2 and won't open. When I try to open Aperture I get the error: "Warning: There was an error opening the databasefor the library "[my library]"." It goes straight to this warni

  • Upload additional data into existing material number.

    Hi Experts, I want to upload an additional info about Material (valuation category and valuation type), where the material ids are already exists. There are 87 data which i have to upload to their corresponding material numbers from notepad. So pleas

  • Advanced action not working on slide end

    Hi, I am new to captivate. I am creating a toggle button. On clicking this button an image appear and disappear. It works fine if I click the button before captivate slider reaches to its end. Slider stops moving when I click. But if I try to click t