Driver issue ?

Sagar B <[email protected]>
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
Hi All,
I am using middlegen-hibernate to connect to an Oracle 9i Database. I am using JDK 1.4.
The problem is that the datatypes received by hibernate from the database BEFORE it is passed to the JavaMapper is wrong. 
 
For ex for a Date type column in the database it reads it as of java.sql.Type= OTHER. I tried changing the JDBC drivers and I am still getting the same results.
 
Can anyone point out what could be the issue here?
Thanks
Sagar


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.