Oracle 7 and IBM DB2

Hello Guys,
I have few doubts, can anyone help me to clear it.
Oracle 11i is an Enterprises Server does it come it with a database server
if not which version Oracle data base is used alongwith it
Can I use Oracle 8i data base to use alongwith Oralce 11i.
I want to know what is the price of Oracle Databse version 7
Oracle Databse version 7 has how many releases, I mean how many upgrades strarting with 7
Suppose if x purchase Oracle Database version 7, does upgrades on 7 such as 7.1 or 7.3 comes free or is it chargable by the oracle ?
If I purchase data base application from a vendor and that application is having Oralce Server do I need to pay separetly for Oracle data base server 7.
If that vendor is an oralce partner in sales, and if I purhcase various moudles such as Financial accounting, Inventory Management, HR Management, Sales & Marketing Managemnt, Internal and external commnication Management etc., from that vendor (modules devloped by the vendor according to my needs using orcale certified tools such as SQL reports writer, SQL Forms etc.,) We have to keep in mind that this entire application is run on an Oralce 7 data base server.
How can I make sure that the Oracle 7 data base server supplied by the vendor is a legal version?
Does Oralce provide any kind of authentication to certify that the product (Oracle Data Base Server) supplied by the vendor is a legal software.
I know this is a lengthy question. However, anyone who can give me a correct answer to anyone of the points or all the points are most welcom.
Joe Abraham Srampickal
Did anyone has tried IBMs new version of DB2
Recently IBM has released thier new vesion of DB2. They claim that it will alert the database administortrs to potentioal problems in the database system and suggesting ways to fix them.
However, if you look litte deep, Oracle was providing this from their 8I server itslef. Can anyone list at least 2 such features of Oralce Servers.
Be ready for a surprise, can anyone suggest any featurs of Oracle 7 server, which alert the database administortrs to potentioal problems in the database system and suggesting ways to fix them.

SangeeMeena ,
Personally, I'm not sure, but send me your email address to [email protected] and I will get someone to respond to you about this.
B

Similar Messages

  • Amazon using Oracle and IBM?

    http://www.oracle.com/us/corporate/press/017521_EN about Oracle.
    IBM: http://www.crn.com/software/213403896
    Is Amazon using Oracle and IBM Technology with Cloud Computing fow AWS? Amazon Web Services?

    joacimj,
    I have no experience with using Oracle data-type TIMESTAMP WITH LOCAL TIME ZONE, but you asked if there was a "System" property.
    There is "user.timezone".
    Perhaps the following article will be of help:
    http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-time.html
    Good Luck,
    Avi.

  • Solaris zone and IBM DB2

    We have a container in T3-1 in which IBM DB2 running it. Recently we migrated the container to T4-1 server. The container is up and running but unable to start DB2. The container configuration is similar as in T3-1. Did anyone faced similar issue while running DB2 on T4-1 server ?

    You can refer
    App Server 9.0 developer guide
    http://docs.sun.com/app/docs/doc/819-3659
    making driver .jar files accessible :
    http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5bk?a=view#beamn
    IBM DB2 8.2 datasource configuration
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view#beanc
    If you are still not able to setup:
    can you post
    1) con pool configuration from domain.xml
    2) the error message that you get in domains/<domainname>logs/server.log
    Thanks,
    -Jagadish

  • High User IO with Oracle and IBM XIV Storage

    Hi
    We are using oracle 10.2.0.4 with IBM XIV storage and we have very high user IO in the database. We faced this issue after migrating our storage from SCV to XIV. Almost all our DB backgroud jobs are running for long hours after this migration.
    Is there any oracle parameters require to modify to reduce this user IO? Any parameter modification required in XIV? Please advice

    There is no such parameter, sy is yanking your chain. This is the typical response when people ask for a solution akin to a magic switch they can flip to have the database run faster.
    The long version is that without supplying technical information the best you can hope for is WAG (Wild Ass Guesses) as to where your problem may be found. Did you raise a support request with IBM? Did you run any statistics? What have you checked so far?
    You will need to help provide information for people to help you in a free volunteer forum.
    If you want a magic switch solution without doing any work yourself there are plenty of consultancy firms who will happily solve your problem for money.

  • JDBC Drivers compatability between Oracle and IBM WSAD 5.1.1

    I am using a DataAccessObject pattern. I discovered you can speed up your procesing with SELECT statments us using an OraclePreparedStatment and setting defineColumnType; thereby reducing the number of trips the SQL is sent to the database.
    Here is the code:
    ((OraclePreparedStatement)ps).defineColumnType(1, Types.BIGINT);'ps' is a PreparedStatement.
    However, at runtime, I am getting a class cast exception for the below reason. I am using WASD version 5.1.1. I was not aware IBM was using any specific classes in the JDBC drivers.
    [2005-05-23 15:36:59,855][Servlet.Engine.Transports : 2][ERROR][{TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}]
    {TDAO}{getTWebInfos}{APP0000}{Unknown Contained Application Exception}{External Message:com/ibm/ws/rsadapter/jdbc/WSJdbcPreparedStatement incompatible with oracle/jdbc/OraclePreparedStatement}
         at java.lang.Throwable.(Throwable.java)Could someone please explain this to me? Any help would be greatly appreciated.

    I'm not an WSAD expert to be honest, but it's quite possible they are using their own wrappers. Check out what calls you can make on their ps wrapper or more likely conn wrapper - they may have some type of getWrappedConnection functionality as other vendor(s) do in which case you can, eg, cast the connection to OracleConnection and go from there.

  • Configuration issue with DRDA Oracle 10g to DB2 UDB v8

    Oracle 10.2.0.4 linux RH 64 bit - DB2 UDB v8.2 linux 32 bit. I'm attempting to install transparent gateway to connect from my oracle instance to the db2 instance. I was successful until the step requiring the package rebind and this is the error I get:
    SQL> exec GTW$_BIND_PKG@MYDB2SERVER;
    BEGIN GTW$_BIND_PKG@MYDB2SERVER; END;
    ORA-04052: error occurred when looking up remote object
    DB2USER.GTW$[email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28527: Heterogeneous Services datatype mapping error
    TG4DRDA v10.2.0.1.0 grc=0, drc=-332 (865B,0001), errp=GDJREACS
    errmc=1208,819
    ORA-02063: preceding 3 lines from MYDB2SERVERMy TNSNAME entry:
    MYDB2SERVER =
      (DESCRIPTION =
            (ADDRESS=
              (PROTOCOL=TCP)
              (PORT=1521)
              (HOST=172.xx.xx.xx))
            (CONNECT_DATA=(SID=MYDB2SERVER)
            (HS=)
    LISTENER entry:
       (SID_DESC=
            (SID_NAME=MYDB2SERVER)
            (ORACLE_HOME=/home/oracle/oraHomes/gateway)
            (PROGRAM=g4drsrv)
       )DBlink:
    SQL> create public database link MYDB2SERVER
      2  connect to db2user identified by mypass
      3  using 'MYDB2SERVER';initMYDB2SERVER.ora (lines I changed):
    DRDA_CONNECT_PARM=172.xx.xx.xx:50000
    DRDA_REMOTE_DB_NAME=db2
    DRDA_RECOVERY_PASSWORD=mypassI'm sure it's just a simple config issue, but I've been racking my rain for hours trying different things and cannot figure it out.
    Question - DRDA_REMOTE_DB_NAME - is the the O/S user? or the database instance name? For example, when accessing the DB2 instance, I login to the O/S as db2user but issue 'db2 connect to db2' when connecting to the instance - which value is DRDA_REMOTE_DB_NAME looking for?
    Any help is appreciated - thanks

    Hi,
    You are right, DRDA_REMOTE_DB_NAME should have the name of the Db2 instance.
    The error you are getting points to the fact that you are an multibyte character set in either Oracle and/or DB2. The gateway can connect, but first have to be able to map the character sets indicated by the error message:
    TG4DRDA v10.2.0.1.0 grc=0, drc=-332 (865B,0001), errp=GDJREACS errmc=1208,819 <<== 1208 and 819 are the CCSIDs
    Add the following entries to the gateway codepage.map file -
    S 367 > US7ASCII
    D 13488 > AL16UTF16
    D 1200 = AL16UTF16
    M 1208 = UTF8
    MBC 1208 = 1208 1200
    The default location of the file is $ORACLE_HOME/tg4drda/admin/codepage.map
    These values map code page 1208 to Oracle's UTF8 character sets so that the gateway can translate UTF8 data into code page 819 (WE8ISO8859P1).
    Regards,
    Ed

  • To convert the "IBM DB2 Store Procs written in C" to Oracle PL-SQL

    Hi, Is it possible to convert the "IBM DB2 Store Procs written in C" to Oracle PL-SQL. If you have any info, PL do let me know. Thanks in advance.
    EG :
    /* SMG Stored Procedures */
    /* DB2 Stored Procedure: OrganisationExists */
    /* Linkage: SIMPLE (no NULLs permitted) */
    /* Load module name: SMGEC00 */
    /* Purpose: DELETE FROM SSE_LOOKUP_MAP */
    /* to run. */
    /* Parameters: argvÝ1¨ short - return error code - OUT */
    /* argvÝ2¨ char - return error message - OUT */
    /* argvÝ3¨ char - BLEID - IN */
    /* Reason for edit Date Who */
    /* Initial version 09/04/03 Arockia */
    #pragma runopts(plist(os))
    #include <stdlib.h>
    #include <string.h>
    void main (int argc, char *argvݨ)                                             
    EXEC SQL INCLUDE SQLCA;
    EXEC SQL BEGIN DECLARE SECTION;
    char bleid??(12??);
    EXEC SQL END DECLARE SECTION;
    /* Set defaults for error code (argvÝ1¨) and error message (argvÝ2¨) */
    strcpy(argv??(2??)," ");
    *(int *)argv??(1??) = 0;
    strcpy(bleid,argv??(3??));
    EXEC SQL
    DELETE FROM SSE_LOOKUP_MAP
    WHERE BLEID = :bleid;
    /* Set error code to record status of last SQL command */
    *(int *)argv??(1??) = SQLCODE;
    return;

    For this program, you could do some thing like:
    SQL> CREATE TABLE sse_lookup_map(BLEID varchar2(10));
    Table created.
    SQL> CREATE or replace PROCEDURE test(p_bleid_in IN varchar2)
      2  AS
      3  BEGIN
      4  DELETE FROM sse_lookup_map
      5  WHERE BLEID = p_bleid_in;
      6  END;
      7  /
    Procedure created.
    SQL> ed
    Wrote file afiedt.buf
      1* INSERT INTO sse_lookup_map values('test1')
    SQL> /
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* INSERT INTO sse_lookup_map values('test2')
    SQL> /
    1 row created.
    SQL> SELECT * FROM sse_lookup_map;
    BLEID
    test1
    test2
    2 rows selected.
    SQL> EXEC test('test1')
    PL/SQL procedure successfully completed.
    SQL>  SELECT * FROM sse_lookup_map;
    BLEID
    test2
    1 row selected.
    SQL>

  • IBM DB2 to Oracle Database Migration Using SQL Developer

    Hi,
    We are doing migration of the whole database from IBM DB2 8.2 which is running in WINDOWS to Oracle 11g Database in LINUX.
    As part of pre-requisites we have installed the Oracle SQL Developer 4.0.1 (4.0.1.14.48) in Linux Server with JDK 1.7. Also Established a connection with Oracle Database.
    Questions:
    1) How can we enable the Third Party Database Connectivity in SQL Developer?
    I have copied the files db2jcc.jar and db2jcc_license_cu.jar from the IBM DB2 (Windows) to Oracle (Linux)
    2) Will these JAR files are universal drivers? will these jar files will support in Linux platform?
    3) I got a DB2 full privileged schema name "assistdba", Shall i create a new user with the same name "assistdba" in the Oracle Database & grant DBA Privillege? (This is for Repository Creation)
    4) We have around 35GB of data in DB2, shall i proceed with ONLINE CAPTURE during the migration?
    5) Do you have any approx. estimation of Time to migrate a 35 GB of data?
    6) In-case of any issue during the migration activity, shall i get an support from Oracle Team (We have a Valid Support ID)?
    7) What are all the necessary Test Cases to confirm the status of VALID Migration?
    Request you to share the relevant metalink documents!!!
    Kindly guide me in-order to go-ahead with the successful migration.
    Thanks in Advance!!!
    Nagu
    [email protected]

    Hi Klaus,
    Continued with the above posts - Now we are doing another database migration from IBM DB2 to Oracle, which is very less of data (Eg: 20 Tables & 22 Indexes).
    As like previous database migration, we have done the pre-requirement steps.
    DB Using SQL Developer
    Created Migration Repository
    Connected with the created User in SQL Developer
    Captured the Source Database
    Converted Captured Model to Oracle
    Before Translation Phase we have clicked on the "Proceed Summary"
    Captured Database Objects & Converted Database Objects has been created under PROJECT section.
    Here while checking the status of captured & converted database objects, It's showing the below chart as sample:
    OVERVIEW
    PHASE               TABLE DETAILS          TABLE PCT
    CAPTURE               20/20                              100%
    CONVERT               20/20                              100%
    COMPILE                 0/20                                   0%
    TARGET STATUS
    DESC_OBJECT_NAME
    SCHEMANAME
    OBJECTNAME
    STATUS
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:ARG_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H0INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H1INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H2INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H3INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H4INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H5INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:H7INDEX02:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPIREP1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPISWIFT1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:MAPITRAN1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OBJ_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:OPR_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:PRD_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:S1TABLE01:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STMT_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:STM_I1:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    INDEX
    TRADEIN1
    SQLDEV:LINK:&SQLDEVPREF_TARGETCONN:null:TRADEIN1:INDEX:X0IAS39:oracle.dbtools.migration.workbench.core.ConnectionAwareDrillLink
    Missing
    We have seen only "Missing" in the chart, also we couldn't have any option to trace it in Log file.
    Only after the status is VALID, we can proceed with the Translation & Migration PHASE.
    Kindly help us how to approach this issue now.
    Thanks
    Nagu

  • IBM DB2 is easier to administer than Oracle, is it true?

    Today i found a reference , here it is
    http://smarterquestions.org/2011/04/why-ibm-db2-is-easier-to-administer-than-oracle/
    http://blog.triton.co.uk/2010/12/db2-beats-oracle-database-in-final-task-showdown/
    they are saying "IBM DB2 is easier to administer than Oracle"
    another one saying "DB2 beats Oracle Database in final task showdown"
    so, whats your opinion sir ?
    Regards
    Halim

    I found below links of your interest :
    http://www.mssqlcity.com/Articles/Compare/oracle_vs_db2.htm
    http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_systems
    ftp://ftp.software.ibm.com/software/data/highlights/dbmscomparison.pdf
    I think these points will be part of comparison :
    ===========================================================
    Issue               
    ===========================================================
    CODD Rules
    Price
    Support
    Hardware requirements
    Software requirements
    Documentation
    Administration/Manageability
    Performance
    Job opportunities
    Scalability
    Portability
    High Availability
    Application Development
    Business Intelligence
    Integration
    Connectivity and Interoperability
    On-demand and Grid-Computing
    Cloud Environment
    Bugs
    Native network encryption     
    Brute-force protection     
    Enterprise directory compatibility     
    Password complexity rules     
    Patch access     
    Run unprivileged     
    Audit     
    Resource limit     
    Separation of duties      
    Security Certification
    Partitioning
    Data Domain     
    Cursor     
    Trigger     
    Function     
    Procedure     
    External routine
    Data Types
    Union     
    Intersect     
    Except     
    Inner joins     
    Outer joins     
    Inner selects     
    Merge joins     
    Blobs and Clobs     
    Common Table Expressions     
    Windowing Functions     
    Parallel Query
    Indexes and their Types
    Temporary Tables
    Materialized Views
    Limitations/Max sizes
    ACID     
    Referential integrity     
    Transactions     
    Unicode     
    Interface
    Supporting OSs
    Exception handling
    Backups
    OLTP,DSS,VLDB
    Certification/CoursesI am just pasting these points from above links and couple of points from different links though.
    Now, your question. IBM DB2 is easier to administer than Oracle, is it true? What if i or someone says Yes or No. Will you simply ignore above points ?
    Regards
    Girish Sharma

  • Migrate database from IBM DB2 to ORACLE

    Hi oracle professionals,
    Currently database resides in IBM DB2...
    We need to migrate Database to oracle ...
    Thanks in advance
    Pawan

    Hi,
    Kindly refer
    Oracle SQL*Developer - which is free to use and download -
    http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Oracle Database Migration Technology -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    Migrating from IBM DB2 LUW to Oracle -
    http://www.oracle.com/technetwork/database/migration/db2-084087.html
    IBM DB2/400 V4R3 & V4R5 can be migrated using the original Migration Workbench v10.1.0.4 available from here -
    http://www.oracle.com/technetwork/topics/index-095746.html
    Also article
    Migrating From IBM DB2 UDB to Oracle (Doc ID 1148493.1)
    Thanks,
    Krishna

  • Convert IBM DB2 v9.5 to Oracle 11gR2

    I am trying to migrate a DB2 v9.5 database to Oracle 11g and am having a few problems with the conversion process. I am running Oracle SQL Developer 2.1. The developer captures the DB2 database model just fine. When it converts the captured model it says that it succeeds with a success code of "16", but when I go inspect the converted model, it appears to be exactly the same and the captured model. The converted model has column types of Integer, Character and Varchar, when they should have been converted to Number, char, and varchar2. What is going wrong with the conversion process?
    I have double checked the mapping table and it is correct. I have verified that the connecting user has all the correct privileges.
    Converting From
    IBM DB2 v9.5
    Solaris OS
    Converting To
    Oracle 11g R2
    Linux Fedora 12 64bit

    Hi,
    What was the resolution, Do share with us

  • How does Oracle Database compare with IBM DB2?

    Hi
    thank you for reading my post
    How Does ORACLE Database compare with IBM DB2 ?
    Which one has better performance with similar workload?
    Which one perform better on System Z hardware and z/OS?
    Is there any document that compare these two product?
    Thanks.

    Hi
    The below link may useful to you.
    http://www.oracle.com/technology/deploy/availability/pdf/CWP_HA_Oracle10gR2_DB28.2.pdf
    With best regards
    Shan

  • No Suitable Driver Exception and COM.ibm.db2.jdbc.app.DB2Driver

    Greetings,
    I am attempting to connect to a DB2 UDB (6.1) on an AIX (4.x) box from a win95 box and have cobbled some code together to do this. Despite loading and verifying that the driver loads, I get nothing but the SQLException: "No Suitable Driver". My Java code follows for comment. Thanks in advance...
    import java.lang.reflect.*;
    import java.sql.*;
    import java.io.*;
    class db2JDBCtest
    static Driver driver = null;
    static final String url = "jdbc:db2//1xx.x.x4x.xx/";
    public static void main(String args[]) {
    Connection con = null;
    // GET CONNECTION
    try
    driver = (Driver)Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").newInstance();
    System.out.println(driver);
    if (args.length == 3) {
    con = DriverManager.getConnection(url + args[0], args[1], args[2]);
    else{
    System.out.println("\nUsage: java db2JDBCtest [databasealias username password]\n");
    System.exit( - 1 );}
    // GET CONNECTION WARNINGS
    SQLWarning warning = null; {   
    warning = con.getWarnings();
    if (warning == null){
    System.out.println("No Warnings");
    return; }
    while (warning != null) {
    System.out.println("Warning: "+warning);
    warning = warning.getNextWarning();
    // CREATE PREPARED STATEMENT
    PreparedStatement prepstmt;
    prepstmt = con.prepareStatement("select * from MDM.DEALER where 1=0");
    // GET RESULTS !
    ResultSet resultset = prepstmt.executeQuery();
    System.out.println(resultset);
    prepstmt.close();
    catch
    (Exception e){
    System.out.println(e);
    }

    1)IBM document says that you use COM.ibm.jdbc.net.DB2Driver when you use Applets
    2)For applications use COM.ibm.jdbc.app.DB2Driver
    3)Both these files are in db2java.zip file
    4)db2java.zip is the DB2 driver just like classes111.zip is the driver for Oracle
    6)You need to put db2java.zip in your classpath.
    5)If you are using COM.ibm.jdbc.net.DB2Driver and you are getting "COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0616E Error opening socket
    . SQLSTATE=08S01 "
    you need to run "db2jstrt" on the target host(machine running DB2) with the specified port as the parameter
    6)If you are using COM.ibm.jdbc.app.DB2Driver and getting " java.sql.SQLException: No suitable driver ", most probably db2java.zip is not in classpath.
    7)Note : you need to install DB2 client software on the application machine, just putting the zip file does not work.
    8)There is a Java file at IBM that walks you thru the connection.
    ftp://ftp.software.ibm.com/software/websphere/info/tools/jdbctest
    Just download in into the client machine, compile and run it.

  • Migration Schema from IBM db2 to Oracle Database

    Hi friends,
    I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
    I tried this in windows machine using ibm control center and its working fine.
    Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
    I dont the command to export a schema. Please help me to export a schema from IBM DB2.
    Thanks in Advance.

    Hi friends,
    I want to migrate one schema data from ibm db2 9.1 to oracle 11g.
    I tried this in windows machine using ibm control center and its working fine.
    Now i want to do the same in IBM machinne.(OPERATING SYSTEM- "Z-OS"). So there is no graphical utility. I heared that using "CLP" tool, I can able to export the schema.
    I dont the command to export a schema. Please help me to export a schema from IBM DB2.
    Thanks in Advance.

  • Best Practice to Setup an application to work with both oracle and db2 db

    Hi,
    We have an application that currently supports both oracle and db2 databases . It is currently using JPA with eclipselink as backend mechanism and we want to move to ADFBc as our backend . So what is best practice to do this?
    I came across an old post in https://groups.google.com/forum/#!topic/adf-methodology/UlJZSTu14Io that states to create two different model projects to support oracle and db2 .
    Is this still the standard ? Is there a way that we could work around rather than creating multiple projects?
    How do i get the view controller to work with multiple model projects if this is the case?
    Thank you.

    Thanks for the response .
    The problem is i would have the same schema on both the databases (both in oracle and db2) .
    I don't see a scenario where i want both the application model projects at the same time . What i meant is , Application will either be deployed with Oracle DB or DB2 but not with both on a production environment .
    So is there a way where i just change the connection parameters alone rather having two different models ?
    If i have to use two model projects ,  would it be possible say i built the view controller for Oracle , and use it for DB2 if i make sure the BC objects names are similar between model projects and switch just the model jar based on the deployment environment ?
    -Sam

Maybe you are looking for

  • F# 4.0 installing error

    hi all, when i want to install F# 4.0 i got setup failed error: 0x800b010a- A certificate chain could not be built to a trusted root authority. is F# 4 for use in Visual Studio 2015 preview only? i have installed VS 2013 on windows 8.1. and i have in

  • Help using Epson Perfection 1670 with Photoshop CS4, Mac OS 10.6.2

    I have downloaded and installed the driver from epson.com and I have also copied the twain plug in (from the install CD) into the import-export folder. I have restarted my computer and I am not able to scan. I do not see my scanner through Photoshop.

  • Mac mini loses mouse and keyboard after sleep.

    Hi Everyone: I recently bought my Mom one of the new Mac mini (I'm a PowerBook user myself), and she's running into some puzzling problems which, while minor, are sufficiently annoying as to confuse poor old Mom. The system egnrally runs fine after y

  • OSS *sometimes* has no sound

    OSS is being really weird for me. When I first boot my system the sound never works. I'll go play with ossxmix a bit but ultimately change nothing, and sometimes it will randomly work, sometimes not. Sometimes I'll run an osstest and it will work and

  • Upgrade DB2 database from 9.1 to 10.5

    Dear All, We are using Ecc6 with db2 database 9.1 now we want to upgrade database from 9.1 to 10.5. Is it possible to upgrade database & what are those steps are required for this operation. We are waiting your valuable support in this regards. Regar