[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-579) ClassCastException using Hibernate 3.0.5, JBoss 4.0.2, and JDK 1.5

Olaf Bigalk (JIRA) noreply at atlassian.com
Sat Jan 27 09:50:20 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-579?page=comments#action_25938 ] 

Olaf Bigalk commented on HHH-579:
---------------------------------

We have the same issue with JBoss 4.0.5 and Hibernate 3.2.1.ga.

We get a ClassCastException in getTables. We are using Oracle 9i JDBC Driver (9.2.0.8).

java.lang.ClassCastException
at $Proxy60.getTables(null:-1)
at org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMetadata.java:67)
at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1071)
at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:116)

I checked out the above link but I didn't find any hint how to configure either Hibernate or JBoss to prevent this problem.

> ClassCastException using Hibernate 3.0.5, JBoss 4.0.2, and JDK 1.5
> ------------------------------------------------------------------
>
>          Key: HHH-579
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-579
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.0.5
>  Environment: Hibernate 3.0.5
> JBoss 4.0.2
> JDK 1.5.0_03
> MySQL 5.0.4
>     Reporter: Stephen Earl
>     Assignee: Steve Ebersole

>
>
> See Forum Topic: http://forum.hibernate.org/viewtopic.php?t=943266

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list