Oracle Waveset with Java 7 (JDK 1.7)?

Hi
has anyone attempted to run Oracle Waveset with Java 7 (with Weblogic)? does it work? We're planning an upgrade and we're thinking of going directly to Java 7 (instead of Java 6 which will be EOL this autumn).
the latest certification matrix (updated in May 2011) does not mention Java 7.
thanks, Peter

Hi,
As the warning message suggests, You need to check the Supported Platforms for your XI 3.1 version:  www.service.sap.com/pam   ... and look under section "Web Intelligence, Desktop Intelligence, Dashboard and Analytics Data Sources"
here the SP05 one for Windows : http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000087200&_SCENARIO=01100035870000000202&_OBJECT=012002523100019873322011E
Basically, you need to use ORA 10 or 11. Else, you aren't supported, and probably wasting your time.
Regards,
H

Similar Messages

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • Problem with updating oracle DB with java date thru resultset.updateDate()

    URGENT Please
    I am facing problem in updating oracle database with java date through resultset.updateDate() method. Can anybody help me please
    following code is saving wrong date value (dec 4, 2006 instead of java date jul 4, 2007) in database:
    ResultSet rs = stmt.executeQuery("SELECT myDate FROM myTable");
    rs.first();
    SimpleDateFormat sqlFormat = new SimpleDateFormat("yyyy-mm-dd");
    java.util.Date myDate = new Date();
    rs.updateDate("myDate", java.sql.Date.valueOf(sqlFormat.format(myDate)));
    rs.updateRow();

    I believe you should use yyyy-MM-dd instead of yyyy-mm-dd. I think MM stands for month while mm stands for minute as per
    http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    (If this works, after spending so much of your time trying to solve it, don't hit yourself in the head too hard. I find running out of the room laughing hysterically feels better).
    Here is a more standard(?) way of updating:
    String sqlStatement=
    "update myTable set myDate=? where personID=?"
    PreparedStatement p1= connection.prepareStatement(sqlStatement);
    p1.setDate(1,new java.sqlDate());
    p1.setInt(2, personID);
    p1.executeUpdate();

  • How Connect to oracle database with java

    i have trouble with my program
    i use oracle 8i to my database and java for interface
    this mycode :
    import java.sql.*;
    class TestThinApp {
    public static void main (String args[])
    throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // or you can use:
    // DriverManager.registerDriver(
    // new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@dssw2k01:1521:orcl","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "select 'Hello Thin driver tester '||USER||'!' result from dual");
    while(rset.next())
    System.out.println(rset.getString(1));
    rset.close();
    stmt.close();
    conn.close();
    i have trouble , becouse i can connect my database with java (JDK)
    if any one can help me pls?
    arif

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • Job opening for Oracle ADF with Java

    Guys,
    I am in need of 30 candidates who have experience on Oracle ADF framework along with Java. The position will be Wisconsin and the project will be contract based. The duration will be more than 6 months and rates are open.
    If you or your friends are interested in this offer, please send your resumes to [email protected] with a subject "Resume for Oracle ADF position".
    Thanks
    Srini

    Dear Sir,
    With reference to the website of your company I came to know that there always are the vacancies for the suitable candidates and hence I wish to apply for the same.Currently working in hydraulic environment I am approaching you through this application with great enthusiasm, that I have scope and chance to show my ability and contribute my efforts in well direction. I am enclosing here with my complete Curriculum Vitae .
    I am currently working with M/s Minar Hydrosystems PVT. LTD. in Nagpur which is one of the largest manufacturers of hydraulic/pneumatic cylinders, jacks etc. I am In charge for quality department having complete knowledge of instruments with level II in non destructive and automated non destructive techniques. Also handling SAP module in current company with effective administration.
    If you need further information regarding my candidature please do write/call me.
    Thanks & Regards
    Rushikesh P. Deogade
    Nagpur, India
    Ph.:- +91 9923858523
    Attachments:
    B.E. Mechanical with 3 years exp as a QC Incharge.doc ‏25 KB

  • Programming the Oracle Database with Java and Web Services: sample chapter

    This will be the first book devoted to Java in the Oracle Database: read the sample chapter @ http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf
    This book also covers the latest Oracle JDBC, Oracle SQLJ, JPublisher and Database Web Services A brief description @
    http://www.elsevier.com/wps/find/bookdescription.cws_home/706089/description#description
    Thanks, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • How to do pagination with oracle along with java

    hi
    i want to know how to use pagination codes along with java.

    Are you sure that you're on the right forum? This is the forum for Berkeley DB, Java Edition, and we don't support SQL.
    Linda

  • Installation Of Solman 7.1 aix Oracle failed with Java Error

    Dear All,
    We are doing SOLMAN Installation 7.1 SR1 AIX Oracle.
    Now the installation stopped at the 19th phase "IMport ABAP"as in the attached screenshot.
    OS : AIX 6100-07-02-1150
    Database:  Oracle 11.2.0.3
    Java Version currently maintained:  java version "1.4.2"
    When i checked in log File  import_monitor.java.log  (  /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS) ,
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] cat import_monitor.java.log
    java version "1.6.0_45"
    Java(TM) SE Runtime Environment (build 6.1.051)
    SAP Java Server VM (build 6.1.051 23.5-b02, May 30 2013 05:04:21 - 61_REL - optU - aix ppc64 - 6 - bas2:197575 (mixed mode))
    Required system resources are missing or not available:
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3' does not exist;
      Import directory '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4' does not exist.
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS]
    Also i checked all the above import Directories [
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1'
    '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP2'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP3'
    '/cddumps/Solman_Export_Cds/51042607_2/DATA_UNITS/EXP4'
    ] and all the above import directories are present in my system.
    Later from the above log, i compared the Java Version of our System
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] java -version
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM) build caix64142ifx-20110630 (SR13 FP10) (JIT enabled: jitc))
    [root@solmantrg: /tmp/sapinst_instdir/SOLMAN71/SYSTEM/ORA/CENTRAL/AS] which java
    /usr/java14_64/jre/bin/java
    Kindly clarify the below Queries.
    1)Is the above Solman installation error was due to Java version? If so, do we need to install   java version "1.6.0_45" in Solman Server to proceed with the installation.
    2)Cant we proceed the Solman installation with the current Java version (java version "1.4.2") of our System .
    3) What is the actual Prerequistes to be maintained for JAVA.  I have downloaded the Installtion guide from SMP.
    but in the installation guide, The exact java version to be maintained to proceed with the Solman Installation 7.1 SR1 is not mentioned anywhere.
    4)If we install the Java 1.6, do we need to start Solman installation from the scratch . Any reboot required after installing java 1.6?
    5)Because of the inconsistencies in java version in our System, The installation shows the Error " Import directory does not exist  "?
    6)Please tel the cause of the Error
    Kindly assist to proceed with the installation
    Regards,
    Gayathri.K

    Hello Gayathri
    The import_monitor.java.log says the JRE used is 1.6 - java version "1.6.0_45"
    There must be multiple JRE's installed on the system.
    Run the below command and check the output
    ls -lad /usr/java*
    Few things I would try.
    Is the '/cddumps/Solman_Export_Cds/51042607_1/DATA_UNITS/EXP1' an NFS mount ? If yes use a local file system.
    Create a directory called /SMINSTALL and move all from /cddumps/Solman_Export_Cds
    It should look like /SMINSTALL/51042607_1/DATA_UNITS/EXP1
    Start the installation.
    Try to use Java 1.4 or 1.5 and see if that helps.
    You need to set the environment variable JAVA_HOME before starting the installation.
    export JAVA_HOME=/usr/java14_64/jre
    Are there any files/directories under 51042607_*/DATA_UNITS/EXP* ?
    Regards
    RB

  • Create new oracle database with JAVA

    Hi!
    I would appreciated it if you could help me to solve a problem that i have.
    I am trying to create a new oracle database by a JAVA 1.4.2 application. I am using the scripts that Oracle 10.g supplies during the creation of a new database from the server (Generate Database Creation Scripts) with the appropriate changes, generated by a java application. Unfortunately, i am unable to connect with the database and the listener. Is there any other way to create a new database by java and how can i solve my current problem with the oracle scripts?
    Thank you.

    A) To create a new schema, you need to be connected as a user that has create schema privilege, or as tyhe user who is to own the schema (remembering that the user has appropriate create privs, as seen in the GRANT command in the SQL Reference manual). Not an issue at all, I think, if you coordinate this with your DBA. Discussed very well in the Administrator's manual.
    B) Alternately, you could create a complete copy of the schema, including all desired objects (tables, views, etc.) in a separate database and simply export the user and schema. Then simply invoke the OS-based import command (imp) to load that entire thing into the target database.
    C) To create a new database, there are 3 simple steps ...
    1) create the appropriate initialization parameter file
    the init{sid}.ora file should be placed in the $ORACLE_HOME/dbs or %ORACLE_HOME%\database directory. (I recommend you do not attempt to create the spfile.) Of critical interest will be setting the block size information, the control file parameters, and using the appropriate memory management parameters, based on the version of the software you will be using to create the database instance.
    2) start an empty instance, pointing to the parameter file
    This will be an OS specific call, and will require that you have the correct OS environment set up as well as access to the ORACLE_HOME which will provide the software that you will invoke. In *nix you will need to call the sqlplus command with sysdba provs and in Windows you will need to call oradim to initialize this as a service.
    3) run the SQL create database command
    You might want to use the dbca to create a template of the create database command, or look in the SQL Reference manual for the variations on the command. Of critical interest will be initializing the redo logs as well as the system, sysaux (if needed), temp and undo tablespaces after which you can set up the regular tablespaces, users and schemas. I highly recommend that you have redundant copies of the control files on separate drives.
    You may want to review the online Concepts manual and the Adminstration Guide for some of the specifics to your needs, but I think I've covered the basics.
    Remember that ideally you will only have one database instantiated on any given server as the memory and CPU overhead of each instance is significant.
    Good luck.

  • Oracle table(s) data to INSERT(String) statements with JAVA

    Hi,
    How can I get sql inserts from a oracle table with JAVA?
    Is there a Oracle API for it?
    I need to store it in a file, the result file should have these examples lines:
    -- INSERTING into TEST
    Insert into "TEST" ("CODE","FAMILY","SUB_FAMILY","SEVERITY","STATUS","ANOMALY_DATE","DESCRIPTION",
    "COMMENTS","VALUE0","VALUE1","VALUE2","VALUE3","VALUE4","VALUE5","VALUE6","VALUE7","VALUE8",
    "VALUE9") values (1,'family1','subFamily11','bad','initial',to_date('0005-11-21','DD/MM/RR'),'someDescription',
    'someComment','someValue','someValue','someValue','uselessValue','uselessValue',null,null,null,null,null);
    the example line was created with the export tool from Oracle SQl developer
    Thks.
    Francisco

    user9046632 wrote:
    Hi Guys, this is me Francisco that wrote the first question, but now I've an NEW account. I'll try to explain it. For a Job I need a .txt file that contains the SQl string inserts from an Oracle Table. I can't use a Software because I need to do it with Java Code. I'm not trying to get the inserts's logging , I need a to export it from a table.I read One way to do it is using DataPump utility, but using this tools, will I get a text file? I read that DataPump works with binaries files. using Java JDBC and metadata, I need to convert all in String file, ok for it I'm agree, but I have to write a lot of code to know what kind of type I get from the Table to parse it. One example is with Date types, oracle softwares parse it as to_date('0005-11-21','DD/MM/RR') and java toTostrig will do it something like '2009-1-25 13:00:00'. Java toString method will truncate some Number types So I need to know if someone did it or give or can help me.
    Thank you very much. Francisco
    Again, explain the business problem you are trying to solve, not the technical one. WHY do you need a text file that contains "SQL string inserts"? It sounds very much like you are looking at your problem "through the wrong end of the telescope" and thus finding a poorly designed solution. But unless we know the real problem to be solved, it's hard to say any more than that this smells bad.
    Sorry about my English, it's not my natural language

  • Is there any way to start weblogic server with java 7?

    Hi. Is there any way to start weblogic server with jdk 1.7?

    Hi,
    You can start your Weblogic Server with java 7(JDK 1.7) 
    Go to Domain_home/bin and click on StartWeblogic.cmd it will start your Admin Server
    It depends on which JDK you have used while creating domain if you have selected Jdk 1.7 it will use the same to start the server
    See the Ex:
    ================
    starting weblogic with Java version:
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
    Starting WLS with line:
    C:\PROGRA~1\Java\JDK17~1.0_5\bin\java -client   -Xms256m -Xmx512m -XX:CompileThr
    eshold=8000 -XX:PermSize=48m  -XX:MaxPermSize=128m -Dweblogic.Name=AdminServer -
    Djava.security.policy=H:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy
    -Xverify:none -Xverify:none  -da -Dplatform.home=H:\Oracle\MIDDLE~1\WLSERV~1.3 -
    Dwls.home=H:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=H:\Oracle\MIDDLE~
    1\WLSERV~1.3\server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -
    Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=H:\Oracle\MIDDLE
    ~1\patch_wls1036\profiles\default\sysext_manifest_classpath  weblogic.Server
    <Mar 3, 2015 1:08:32 PM PST> <Info> <Security> <BEA-090905> <Disabling CryptoJ J
    CE Provider self-integrity check for better startup performance. To enable this
    check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Mar 3, 2015 1:08:33 PM PST> <Info> <Security> <BEA-090906> <Changing the defaul
    t Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
    this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Mar 3, 2015 1:08:33 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebL
    ogic Server with Java HotSpot(TM) 64-Bit Server VM Version 24.51-b03 from Oracle
    Corporation>
    =======================================
    If you are using a Lower version of JDK and want to upgrade to JKD 1.7 you can do so by changing setDomainEnv.sh in Weblogic
    Have a look at the below link to do so
    The Weblogic Wasp: change java version / JDK of a weblogic domain
    http://www.baigzeeshan.com/2012/05/how-to-change-jdk-used-by-weblogic.html
    Hope it helps

  • How to use Oracle objects in java code

    Hi all!
    I'm reading an xls and i need to fill me oracle objects with java code:
    OBJECT_NAME OBJECT_TYPE
    LETTURA_OBJ TYPE
    LETTURA_OBJ TYPE BODY
    In the past weeks i've been using both java code into oracle and oracle objects, but new i need to write those objects with data i read with java, anybody can help me?
    I know that the easiest work around would be to put the data i read from the excel file into a table and then fill the oracle objects, but now i want to learn how to write directly those objects with a command like the following one:
    a sample of the code i'm tryng to write:
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED REPORT."Manage_Excel_ASMBS" AS
    import java.io.*;
    import java.io.IOException;
    import jxl.*;
    public cass ....
    #sql{  variabili_globali.var_ER_F3.Tipo_Lettura := 5}
    thanks,
    Massimo
    Edited by: LinoPisto on 16-mag-2011 16.38

    mmmh i'm not understanding so much....
    well... as i told before i'm working in oracle database environment and i'm developing a java procedure.
    now, i have this object
    CREATE OR REPLACE
    TYPE REPORT.FATTURA_OBJ AS OBJECT (
    POD VARCHAR2(1000),
    ID_FATTURA NUMBER,
    ID_FILE NUMBER,
    COERENZA_EA_F VARCHAR2(1000),
    COERENZA_ER_F VARCHAR2(1000),
    COERENZA_EA_M VARCHAR2(1000),
    COERENZA_EF_M VARCHAR2(1000),
    ANOMALIA VARCHAR2(1000),
    MOTIVO_INVALIDAZIONE VARCHAR2(1000),
    MATRICOLA_CONTATORE VARCHAR2(1000),
    POTENZA_DISPONIBILE VARCHAR2(1000),
    MEMBER PROCEDURE pulisci
    /and i need to work with it inside this procedure:
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED REPORT."Manage_Excel_ASMBS" AS
    import java.io.*;
    import java.io.IOException;
    import java.io.StringWriter;
    public class Manage_Excel_ASMBS
    public static void read_Excel(String inputFile,int var_Id_Caricamento, int var_Id_Distributore, String var_Distributore) throws SQLException, IOException
              **here i need to put what i'm reading inside the excel file into oracle objects**
    /can you please give me a sample ?
    thanks

  • Netbeans not working with Oracle Waveset 8.1.1!!!!

    We have recently done a test upgrade to Oracle Waveset 8.1.1 and discovered that we can no longer use Netbeans to do further development. We are trying to use Netbeans 6.8 with the 8.1 connector downloaded from the open source java website, which is the last official one available.
    When creating a new IDM project you receive an error saying:
    "The version of the server you are attempting to connect to, 8.1.1,does not match that of the IDE Compatability Bundle for your project,8.1".
    We contacted Oracle and they have advised that we cannot upgrade to 8.1.1, as there is no supported connector. We are getting further advice on this as this is quite bad if its true.
    Is anyone else using Netbeans 6.8 with Oracle Waveset 8.1.1 successfully and if so can you advise how you went about configuring it?

    Update:
    We upgraded our production environment with patch 14 this last Thursday.
    The "sample/ide-bundle.zip" is not located in the download but instead was updated during the patching process and may be found at $WSHOME/sample/ide-bundle.zip.
    After moving the zip to my local machine I was able to configure a (remote) IDM project in Netbeans without receiving an error.
    My problem has been resolved.
    -IDMxml

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Connect Oracle with Java

    I want to access oracle database from my java program which is written on Java Swing. e.g suppose my program shows a screen containing a "Name" field and a button "Submit". When i will enter a name and press the submit button the name will be stored into a table . How can i do that?
    I use Oracle 8i for database and JDK 1.7.0 for Java environment.

    Hi,
    Use the below code to connect to the Oracle DB and do the required Operation with the custom parameters for IP etc.,.
    public static void updatEmp(int empNo, String eName){
              System.out.println("Oracle Connect Example.");
              Connection conn = null;
              String ipAddress ="";
              //Spedify your IP address
              String tnsName = "";
              // Specify your tns name eg. "orcl"
              String url = "jdbc:oracle:thin:@"+ipAddress+":1521:"+tnsName;
              String driver = "oracle.jdbc.driver.OracleDriver";
              String userName = "scott";
              String password = "tiger";
              try {
              Class.forName(driver).newInstance();
              conn = DriverManager.getConnection(url,userName,password);
              System.out.println("Connected to the database");
              conn.setAutoCommit(false);
              PreparedStatement preStmt = conn.prepareStatement("update emp set ename = ? where empno =?");
              preStmt.setInt(2, empNo);
              preStmt.setString(1,eName);
              preStmt.executeUpdate();
              Statement st = conn.createStatement();
                        // For insertion to oracle
              int i = st.executeUpdate("insert into emp (empno,ename) values("+empno+",'"+ename+"')");
              System.out.println("No. of rows updated = "+i);
                        //For Selection from oracle
              /* ResultSet res = st.executeQuery("SELECT empno,ename FROM EMP ");
              while (res.next()){
                   System.out.println("Number of column:"+res.getInt(1));
                   System.out.println("Number of column:"+res.getString(2));
                   conn.rollback(); */
                   // For Updation to oracle
              /*int i = st.executeUpdate("update emp set ename='Hamlet' where empno=7369");
              System.out.println("No. of rows updated = "+i);*/          
              conn.close();
              System.out.println("Disconnected from database");
              } catch (Exception e) {
              e.printStackTrace();
    Note:
    Have to include the ojdbc14-10.2.0.2.0.jar in your java environment, which is the driver for Java to connect to oracle. If it is in Eclipse include using External jar files. If the java environment is Servers put the jar file in your lib folder under Web-INF folder..:-)
    Thanks
    Edited by: Ramesh_R on Aug 26, 2009 8:53 PM

Maybe you are looking for

  • UIX 2.1.21: Button to move to current date in Datepicker?

    Would be nice to have a "today" button in the UIX datepicker that navigates back to the current date. Thanks, Markus

  • Can't send texts, clock 3.5 hours off. Galaxy s3

    Last night I swapped batteries out when one was dying. I usually keep a spare, charged battery on me. When i turned on the phone, the clock was 3.5 hours off from the correct time. For example at 9am, the clock on my phone now says it's 5:30am. I als

  • Streams

    I am trying to replicate 2 tables from 10gR2 to 11gR1 using streams. I am new to streams based replication and just started reading through the documentation to get this set up.I used the following web link http://www.oracle.com/technology/oramag/ora

  • Project Server 2013 administrator account unable to access PWA site

    I've just finished installing and configuring all the appropriate pieces to get PS2013 up and running along with a pwa site. The problem I'm running into is that my designated administrative account for the pwa site is unable to login at all. I recei

  • Unloading Loaded SWF

    I have a movie/presentation that runs a simple navigation panel that loads in seperate SWF for each chapter. These run for apporixmately 3-4 mins each. With sound etc. They are published fine and that's working well. The problem I have is when they f