[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when accessing DatabaseMetaData.getTa
azhurakousky
do-not-reply at jboss.com
Tue Jul 25 19:26:13 EDT 2006
What r u casting it too and can you post your code here?
Also, see what it is returning by retrieving object as java.lang.Object (which will never throw ClassCastException) and see what it is.
i.e.,
| Object obj = ds.getConnection().getMetaData();
| System.out.println("Object class: " + obj.getClass().getName());
|
Regards
Oleg Zhurakousky
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960833#3960833
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960833
More information about the jboss-user
mailing list