Results 1 to 2 of 2
  1. #1
    nn12 is offline Member
    Join Date
    Sep 2008
    Posts
    85
    Rep Power
    0

    Default Issue with oracle driver version?

    Hi, I am getting the following error
    java.lang.ClassCastException: java.sql.Timestamp incompatible with java.sql.Date

    with my code on QA environment but the same code works on our dev environment w/o any issues.

    Is anyone aware if its related to oracle driver version
    we are currently using Oracle9i Enterprise Edition Release 9.2.0.5.0

  2. #2
    roots's Avatar
    roots is offline Moderator
    Join Date
    Jan 2008
    Location
    Dallas
    Posts
    293
    Rep Power
    7

    Default

    Is there a change in the database schema between the dev environment and QA environment. Because, your error is not because of the driver change.

    If the data type is Timestamp, what the hell is Date doing there ???
    dont worry newbie, we got you covered.

Similar Threads

  1. Replies: 6
    Last Post: 02-19-2010, 02:57 PM
  2. Replies: 0
    Last Post: 03-21-2008, 02:13 PM
  3. Jdbc Driver For Oracle
    By Swamipsn in forum New To Java
    Replies: 0
    Last Post: 08-14-2007, 05:31 AM
  4. Oracle Driver
    By softy in forum JDBC
    Replies: 1
    Last Post: 07-02-2007, 01:20 AM
  5. Oracle Driver
    By softy in forum Advanced Java
    Replies: 0
    Last Post: 06-28-2007, 03:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •