This content has been marked as final.
Show 2 replies
-
1. Re: Getting java.lang.ClassCastException when casting prepar
jonlee Dec 11, 2003 6:15 PM (in response to singhindresh)The connection object is a wrapper. You need to get the underlying connection. See org.jboss.test.jca.ejb.LocalWrapperCleanupTestSessionBean of the testsuite (with the source) for an example of getting the underlying connection.
Hope that helps. I haven't used an underlying connection in a fair while so hopefully it will still work. -
2. Re: Getting java.lang.ClassCastException when casting prepar
jonlee Dec 11, 2003 6:16 PM (in response to singhindresh)There might be J2EE transactional ramifications to this. YMMV.