Want to use Oracle in SavingsAccount example

Hi
I am able to run the SavingsAccount sample aaplication using the Cloudscape db provided with J2EE.
I want to run the same application with Oracle 8i.I have already run the savingsaccount.sql on Oracle to create the table.
Please help me. I want to know where all I need to make changes.
Do I need to add something to the buildxml file?
Please help.
Mona

Hi
u need to set the classpath to the Classes.zip avlbl in oracleinstallation dir/jdbc/lib in userconfig.bat in j2ee/bin
and then u need to changet hte coding in the bean to load the Oracle Driver...then freq out
Rgds
Sriram.V

Similar Messages

  • Want to use oracle in osx(10.8.3?

    can i use oracle 10g in mac? want to establish database connection between eclips java juno and oracle database...

    Hi
    u need to set the classpath to the Classes.zip avlbl in oracleinstallation dir/jdbc/lib in userconfig.bat in j2ee/bin
    and then u need to changet hte coding in the bean to load the Oracle Driver...then freq out
    Rgds
    Sriram.V

  • TNS configuration needs ocijdbc11.dll : I want to use Oracle 10g client

    I configured apex-config.xml to use a TNSNAME. I deployed the APEX listener in a standalone OC4J 10.1.3.5.
    It asks for ocijdbc11.dll to be in -Djava.library.path.
    This means an Oracle 11g client is required. Why isn't it possible to use an Oracle 10g client installation? Is there a way to use an Oracle 10g installation in combination with the OC4J APEX listener?
    I do'n't want to use the "thin" methode because this cannot be used in an Oracle RAC environment as far as I know (at least not with failover).

    Hello,
    as far as I know, you can use the thin driver to connect to RAC. If I don't remember this wrong, you should be able to configure the URL like this:
    jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
    (ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
    (ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
    (CONNECT_DATA=(SERVICE_NAME=service)))Just my personal opinion: If you want to use a "fat" client, it shouldn't be too hard to install a 11g client. Of course, this will require additional space on your app server, but I like the thought that Oracle tries to keep the APEX Listener a lightweight application that works pretty good for most scenarios. If you try to make it compatible with every option and every version, this wouldn't stay that way.
    -Udo

  • How to verify OC4J uses Oracle Toplink 10.x and not Toplink Essentials

    Hi,
    We dont want to use the default JPA provider "Toplink *Essentials*" that comes with OC4J. Rather we want to use Oracle Toplink 10.x
    I downloaded [Oracle Toplink 10.x|http://www.oracle.com/technology/software/products/ias/htdocs/1013topsoft.html] and followed the installation instructions:- http://www.oracle.com/technology/products/ias/toplink/doc/10131/install/install.html#CHDBBIFB
    When i deploy my EJB 3.0 appliation and invoke a JPA Entity, i can see the server log:- NOTIFICATION TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    Do i have to do any other configuration/setting to ensure that i use Oracle Toplink and not Toplink Essentials in OC4J?
    Thanks in Advance,
    Prashant Tejura
    Edited by: user1186295 on May 26, 2009 10:33 AM

    rashant,
    Hi, there are currently the following providers to choose from - you may want to consult your rep for any details on moving from 10.1.3.4 to 10.1.3.5.
    1) TopLink or EclipseLink using EclipseLink JPA - the RI for JPA for WebLogic, OC4J and GlassFish
    - EclipseLink JPA is focus of all current JPA development as part of EclipseLink and TopLink
    2) Another open-source JPA implementation like OpenJPA or Hibernate
    Deprecated:
    3) TopLink using TopLink JPA - replaced by (1) TopLink using EclipseLink JPA
    4) TopLink using TopLink Essentials JPA - replaced by (1) TopLink using EclipseLink JPA
    Changes to server.xml as follows:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Modify_server.xml
    <shared-library name="oracle.persistence" version="1.0" library-compatible="true">
              <code-source path="../../../eclipselink/eclipselink.jar"/>
              <code-source path="../../../eclipselink/javax.persistence_*.jar"/>
              <import-shared-library name="oracle.jdbc"/>
         </shared-library>
    Changes to persistence.xml as follows: (container-managed JTA datasource)
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Persistence.xml
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    <persistence-unit name="example" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>jdbc/OracleDS</jta-data-source>
    <class>org.eclipse.persistence.example.jpa.server.business.Cell</class>
    <properties>
    <property name="eclipselink.target-server" value="OC4J"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    </properties>
    </persistence-unit>
    </persistence>
    You should see output similar to the following in your server log:
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/OC4J_Web_Tutorial#Console_Output
    [EL Finest]: 2009-02-26 14:04:34.464--ServerSession(8634980)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Begin deploying Persistence Unit example; state Predeployed; factoryCount 1
    [EL Info]: 2009-02-26 14:04:34.542--ServerSession(8634980)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--EclipseLink, version: Eclipse Persistence Services - ***
    [EL Fine]: 2009-02-26 14:04:35.213--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Detected Vendor platform: org.eclipse.persistence.platform.database.oracle.Oracle10Platform
    [EL Config]: 2009-02-26 14:04:35.26--ServerSession(8634980)--Connection(5230779)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--Connected: jdbc:oracle:thin:@//1y.yyy.yy.yy:1521/ORCL
         User: SCOTT
         Database: Oracle Version: Oracle Database 11g Release 11.1.0.0.0 - Production
         Driver: Oracle JDBC driver Version: 10.1.0.5.0
    [EL Finest]: 2009-02-26 14:04:35.385--UnitOfWork(5746770)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--PERSIST operation called on: org.eclipse.persistence.example.jpa.server.business.Cell@9107088( id: null state: null left: null right: null parent: null references: null).
    [EL Fine]: 2009-02-26 14:04:35.807--ClientSession(5748500)--Connection(6653899)--Thread(Thread[HTTPThreadGroup-4,5,HTTPThreadGroup])--INSERT INTO EL_CELL (ID, STATE, TSEQ, RIGHT_ID) VALUES (?, ?, ?, ?)
         bind => [551, null, null, null]
    thank you
    /michael
    www.eclipselink.org

  • Can we use oracle database Instead of Cloudspace?

              hi there,Can we use oracle database instead of Cloudspace with the current implementation?
              If possible can you please send me the example
              1.ra.xml
              2.weblogic-ra.xml
              files for connection to oracle. i would really appreciate any support.
              thanx, raghu.
              

              Prasen,
              Could you tell me what specifically should I use for Oracle database instead of
              jdbc:cloudscape:rmi:CloudscapeDB;create=true.
              Can I use jdbc:weblogic:oracle for jdbc:cloudscape:Commerce? I am not familiar with
              Cloidscape URLs and drivers.
              Thanks,
              David
              prasen <[email protected]> wrote:
              >Raghu,
              > It depends upon your implementation of ResourceAdapter, particularly
              >your managedConnectionFactory. In the example we
              >supplied(BlackBoxNoTx.rar) it(database specific parameters) is being
              >passed to the ManagedConnectionFactory as one of its config-properties.
              >
              >Also ResourceAdapters have nothing to do with Databases. It just happens
              >that in the supplied example a Database Connection is being exposed as a
              >ResourceAdapter.
              >
              >Now if you want to use oracle database you may want to look into teh
              >source code of BlackBoxNoTx.rar's implementation.
              >
              >Hope this helps.
              >
              >regards,
              >prasen
              >
              >raghu wrote:
              >>
              >> hi there,Can we use oracle database instead of Cloudspace with the current
              >implementation?
              >> If possible can you please send me the example
              >> 1.ra.xml
              >> 2.weblogic-ra.xml
              >> files for connection to oracle. i would really appreciate any support.
              >> thanx, raghu.
              

  • Generate a Report in Excelsheet format using Oracle Reports

    Hello,
    I want to use Oracle Reports to generate a report and create an output file in Excel Format. Can I achieve this?
    If yes, how can I do it or what is the process for the same
    Regards
    Shivanand

    Hello,
    There are several solutions :
    1) http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_paptoexcel.htm
    2) http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/output/output_a_simpleexcel.htm
    Regards

  • Questions on setting up a portal using oracle

    hi,
    i want to use oracle to set up a portal which is open to public and each user can register to setup their own account (with their own userid & password) and store their profile. At the same time, my application will periodically perform some tasks based on the values in some columns in the user's profile. Which is the best way to do this?
    1. Oracle8i db + Webdb?
    If i use this method, how do i implement the login method for the users? Will userid & password be just one of the fields in the user table? OR should each user be created and given an oracle user account?
    how to get userid & password fr. login form for verification so that i can show them their own profiles? any info on where can i find how to implement this will be much appreciated.
    2. Oracle8i db + Application Server
    I know this is a better approach (3-tier architecture). Where can i find info on how to implement the user login form and show them their own profile?
    thanks in advance. any help is appreciated.
    null

    Marcus,
    I can't answer your specific question but I suggest you browse some of the OAS and WebDB documentation. Click the documentation link on the left of this page. You could also take a look at some of the technical white papers available at www.oracle.com.
    Blaise

  • How to use Oracle maps in APEX??

    I am developing one application in APEX 3.2. I need to use Oracle Map for the same.
    How to integrate Oracle maps with Apex ?? Can any one help me for this ?
    Thanks

    Nagesh.Patil wrote:
    Hi All,
    I want to use oracle workflows in my apex application.
    can anybody tell me how can I get this ?
    Thanks in advance..
    Database version : 11g XE
    Apex version : 4.0
    Nagesh Patil
    Oracle Workflow is only available as a component of EBS. It has never been available on, and is not certified for Oracle 11g, nor any version of XE.

  • How to use Oracle Workflow in Apex

    Hi All,
    I want to use oracle workflows in my apex application.
    can anybody tell me how can I get this ?
    Thanks in advance..
    Database version : 11g XE
    Apex version : 4.0
    Nagesh Patil

    Nagesh.Patil wrote:
    Hi All,
    I want to use oracle workflows in my apex application.
    can anybody tell me how can I get this ?
    Thanks in advance..
    Database version : 11g XE
    Apex version : 4.0
    Nagesh Patil
    Oracle Workflow is only available as a component of EBS. It has never been available on, and is not certified for Oracle 11g, nor any version of XE.

  • How can i use oracle coherence with JPA/ejb  in web service?

    Hi
    I want to make web service using JPA which calls oracle XE via oracle coherence? i want to use JAX-ws? i searched and found you can make and deployed it using web logic but is there any other way i can make it and deployed in tomcat. i want to use oracle coherence + Oracle XE + JAX-WS? if it possible how can i other wise what are other ways i can do it?
    please any one does know it reply please it helps me lot to get.
    Thanks in advance,
    Edited by: 913837 on Feb 22, 2012 3:51 PM

    If you want data cached in Coherence to find it's way into an Oracle database for persistence, then look at the "CacheStore" section of the Coherence Developer Guide. This also works the other way round too, in that you can get data read into a Coherence cache via a database read. Again, look in the Coherence Developer Guide.
    If you want you applications "entry point" into a piece of code to be a web-service, then Tomcat+CXF will work just fine. Once you are in the service, just use the Coherence API to put the data in a cache.
    But also look at the HTTP access offered in later versions of Coherence in the form of REST. This may save you the Tomcat+CXF install, depending upon your needs. See the Coherence Client Guide.
    Still, what exactly are you trying to achieve here? It's not clear from your post why a web service using JPA for persistence needs to go via Coherence at all. More info needed.
    Cheers,
    Steve

  • Can I use Oracle 11g Developer tools with 10G and XE

    Hi, I want to use Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio with 10g and Xe . Will there be any issues. I want to do so because I am not able to see Oracle Database project in Visual Studio when I install Oracle 10 g developer tools wherein I see that in Oracle 11g developer tools. Please suggest.

    No there are no issues. Just be sure to install ODT in a separate location than where XE is installed.

  • [b]Using Oracle in the network[/b]

    Hi,
    Is anyone can help me how to use oracle sqlplus in a LAN.
    We have 5 pcs in our home network and one of my friend want to use oracle from his pc where i got installed oracle in my computer.Is there anyway he can access to my installed sqlplus from his computer.Please help me for that.
    Thanks
    Hasnain

    Ma -
    You could do any of the following.
    1. Using iSqlplus. Make sure that the service is started on the server. Open a browser window on
    your friend's machine and type the following in the address box.
    http://hostname:port/isqlplus/
    Where hostname is the name of your server. You could also specify the IP address instead of the host name. Coming to the case of port, look for a file 'isqlplus.ini' on your server. In that, you should see an entry like:
    HTTP_PORT=5560
    Copy this port number and replace the port portion of the URL.
    2. Install Sql*Plus client software on your friend's PC. Configure the 'tnsnames.ora' file.
    You should then be all set to use Sql*Plus.

  • Nested Table having more than 1 column comparison using ORACLE MULTISET

    Dear ALL,
    I am using ORACLE 10gR2 Database.
    I am currently trying to compare two sets of data that I get from two queries in PL/SQL. I want to use Oracle MULTISET UNION, MULTISET INTERSECT, MULTISET EXCEP for those operations.
    But When I am executing the below given code I am getting the error.
    PLS-00306: wrong number or types of arguments in call to 'MULTISET_EXCEPT_ALL'
    My Code
    declare
    type wh_unique_record is record (cpy_key number(22),cnc_id varchar2(22),cust_type_id number,
    device_info_id number,scope_id number,excep_id number,
    config_date date);
    type wh_previous_data_table is table of wh_unique_record;
    wh_previous_data wh_previous_data_table;
    wh_current_data wh_previous_data_table;
    wh_union_data wh_previous_data_table;
    wh_intersect_data wh_previous_data_table;
    -- This cursor I am using to populate the data into the nested tables
    cursor c_previous_data is select cpy_key,cnc_id,cust_type_id,device_info_id,scope_id,excep_id,config_date
    from r_cfg_wh_excep
    where cpy_key=17278
    and trunc(config_date)=trunc(to_date('06-jul-2009','dd-mon-yyyy'));
    cursor c_current_data is select cpy_key,cnc_id,cust_type_id,device_info_id,scope_id,excep_id,config_date
    from r_cfg_wh_excep
    where cpy_key=17278
    and trunc(config_date)=trunc(to_date('16-jul-2009','dd-mon-yyyy'));
    begin
    open c_previous_data;
    fetch c_previous_data bulk collect into wh_previous_data;
    close c_previous_data;
    open c_current_data;
    fetch c_current_data bulk collect into wh_current_data;
    close c_current_data;
    dbms_output.put_line('Previous count '||wh_previous_data.count);
    dbms_output.put_line('Current count '||wh_current_data.count);
    --FYI: MULTISET UNION IS WORKING.*
    wh_union_data := wh_current_data multiset union wh_previous_data;
    dbms_output.put_line('New count '||wh_union_data.count);
    wh_intersect_data:=wh_current_data MULTISET EXCEPT  wh_previous_data;
    dbms_output.put_line('The records that are repeating are  '||wh_intersect_data.count);
    end;
    Previous count 74062
    Current count 74508
    New count 148570
    PL/SQL procedure successfully completed.
    FYI: If I comment the MULTISET EXCEPT conditin then I am getting the output for MULTISET UNION.
    IS THERE ANY WAY ORACLE IS PROVIDING A FUNCTIONALITY WHERE WE CAN HAVE A NESTED TABLE WITH MULTIPLE COLUMNS AND THAT CAN BE USED IN PL/SQL AND USE BULK OPERATION TO POPULATE THE NESTED TABLE WITH MULTIPLE COLUMNS AND USE THE SAME IN MULTISET EXCEPT, MULTISET EXCEPT ETC.
    Appreciate your help on this.
    Thanks,
    Madhu K.

    Madhu,
    I am totally amazed. I didn't think any of the MULTISET operations would work with NTs of records. Lucky you!
    As for the EXCEPT, well, clearly it is a restriction or bug in PL/SQL.
    You may want to report it to Oracle Support.
    Regards,SF
    At 11:45 AM 10/1/2009, you wrote:
    Dear Steven,
    I am using ORACLE 10gR2 Database.
    I am currently trying to compare two sets of data that I get from two queries in PL/SQL. I want to use Oracle MULTISET UNION, MULTISET INTERSECT, MULTISET EXCEP for those operations.
    But When I am executing the below given code I am getting the error.
    PLS-00306: wrong number or types of arguments in call to 'MULTISET_EXCEPT_ALL'
    My Code
    declare
    type wh_unique_record is record (cpy_key number(22),cnc_id varchar2(22),cust_type_id number,
    device_info_id number,scope_id number,excep_id number,
    config_date date);
    type wh_previous_data_table is table of wh_unique_record;
    wh_previous_data wh_previous_data_table;
    wh_current_data wh_previous_data_table;
    wh_union_data wh_previous_data_table;
    wh_intersect_data wh_previous_data_table;
    -- This cursor I am using to populate the data into the nested tables
    cursor c_previous_data is select cpy_key,cnc_id,cust_type_id,device_info_id,scope_id,excep_id,config_date
    from r_cfg_wh_excep
    where cpy_key=17278
    and trunc(config_date)=trunc(to_date('06-jul-2009','dd-mon-yyyy'));
    cursor c_current_data is select cpy_key,cnc_id,cust_type_id,device_info_id,scope_id,excep_id,config_date
    from r_cfg_wh_excep
    where cpy_key=17278
    and trunc(config_date)=trunc(to_date('16-jul-2009','dd-mon-yyyy'));
    begin
    open c_previous_data;
    fetch c_previous_data bulk collect into wh_previous_data;
    close c_previous_data;
    open c_current_data;
    fetch c_current_data bulk collect into wh_current_data;
    close c_current_data;
    dbms_output.put_line('Previous count '||wh_previous_data.count);
    dbms_output.put_line('Current count '||wh_current_data.count);
    --FYI: MULTISET UNION IS WORKING.
    wh_union_data := wh_current_data multiset union wh_previous_data;
    dbms_output.put_line('New count '||wh_union_data.count);
    wh_intersect_data:=wh_current_data MULTISET EXCEPT wh_previous_data;
    dbms_output.put_line('The records that are repeating are '||wh_intersect_data.count);
    end;
    Previous count 74062
    Current count 74508
    New count 148570
    PL/SQL procedure successfully completed.
    FYI: If I comment the MULTISET EXCEPT conditin then I am getting the output for MULTISET UNION.
    IS THERE ANY WAY ORACLE IS PROVIDING A FUNCTIONALITY WHERE WE CAN HAVE A NESTED TABLE WITH MULTIPLE COLUMNS AND THAT CAN BE USED IN PL/SQL AND USE BULK OPERATION TO POPULATE THE NESTED TABLE WITH MULTIPLE COLUMNS AND USE THE SAME IN MULTISET EXCEPT, MULTISET EXCEPT ETC.
    Appreciate your help on this.
    Thanks,
    Madhu K.

  • Using Oracle 8i instead of cloudscape

    Having problems in using cloudscape DB;
    I want to use oracle DB instead.
    Please help!
    Joseph.

    hi
    in resource property file use following
    jdbcDataSource.5.name=jdbc/<jndi look up name>
    jdbcDataSource.5.url=jdbc:oracle:thin:@:<servername/serverip>:<port no.>:<SID>
    for e.g.
    jdbcDataSource.5.name=jdbc/TimeReportDB
    jdbcDataSource.5.url=jdbc:oracle:thin:@EditServer:1521:TimeReport
    if u need further help
    u r free to ask
    deepak

  • Using Oracle Light On Palm

    I do some Palm Development using J2ME (MIDP 2.0).
    If I want to use Oracle Light as my database is it as simple as installing Oracle Light Client on PDA and using a new series of API's to access data? Am I over-simplifying -- do I have to use JDeveloper?
    Thanks in advance,
    Kevin

    Thanks glenn,
    Also would want to know if i am executing same script same time from more than one VDI through OTM passing variable to call different script will it run successfully. Is there any precautions.measures we should take while doing parallel execution?
    Thank you

Maybe you are looking for

  • GPU makes LR CC slow

    Hi I have a desktop with a ATI R7 240 Graphic Card. I can activate the gpu usage in LR without any error message. But LR CC is horribly slow then. As soon as I deactivate the gpu in LR Settings it works normally. I installed the newest ATI driver but

  • IPhoto sync error... please help!!

    When I try sync my iPhone 4 via iTunes to upload photos from iPhoto to my iPhone 4... There is an error: Some of your photos, including the photo "IMG_0972.jpg", were not copied to the iPhone "Denise's iPhone" because they cannot be displayed on your

  • HT4993 i have i iphone 5 sprint but i cant use in my country how can factory unlock.

    i have i phone 5 from usa sprint i cant use in my country how can factry unlock.

  • Lenovo Ideacentre A730

    http://shop.lenovo.com/ae/en/desktop...a-series/a730/ Can not even boot it with Zenworks ZCM 11.2.3a with initrd ZENworks 11 Configuration Management SP2 SU3 MU1 (11.2.3) 11.2.3 MU1 - January 14 Anybody having any idea? Thanks Seb

  • Itunes match says "this item cannot be downloaded"

    When trying to play some music on my iphone4, I get this message: It's happening more frequently now - What is going on and what are my options?