Menu

#138 oci connection

open
nobody
None
5
2011-09-25
2011-09-25
Mike Bules
No

I'm running Oracle 9i r2, have 9i client installed

I keep getting class not found error 'oracle.jdbc.driver.OracleDriver'
this class is derprecated
How can I get SchemaSpy to use 'oracle.jdbc.OracleDriver' instead ?

please advise

Mike

Discussion

  • Mike  Bules

    Mike Bules - 2011-09-26

    Hello;
    I should have mentioned that I'm using the lalest version of SchemaSpy and I've tried -t ora as type and -t orathin -host -port -db as type of connection.
    The error msg is almost Identical.
    It seems thatt SchemSpy is hard coded to use a class named 'oracle.jdbc.driver.OracleDriver', which is deprecated. Is there a way/switch to utilize ?
    Please help

     
  • John Currier

    John Currier - 2011-09-26

    I didn't realize that they removed the driver package from their object hierarchy. It's strange that people have been using the old name with the versions after 9i without problems.

    The quick fix is to extract ora.properties from the jar and change the driver to what 9i is expecting. Then use -t to point to the new file on your file system.

    John

     

Log in to post a comment.