[
https://issues.jboss.org/browse/EJBTHREE-2267?page=com.atlassian.jira.plu...
]
Carlo de Wolf resolved EJBTHREE-2267.
-------------------------------------
Assignee: Carlo de Wolf
Resolution: Out of Date
This issue is reported against a version which is no longer maintained, which means that
it will not receive a fix. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of JBoss EJB 3 please
feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
BC4J Integration With JBOSS
---------------------------
Key: EJBTHREE-2267
URL:
https://issues.jboss.org/browse/EJBTHREE-2267
Project: EJB 3.0
Issue Type: Feature Request
Components: ejb3
Environment: OS - Microsoft Windows Vista
1GB RAM
JBOSS 4.2.2 GA Application Server
Reporter: Nikunj Kakkad
Assignee: Carlo de Wolf
Priority: Critical
Labels: BC4J, JBOSS, Oracle, WrappedPreparedStatement
I am trying to deploy an Oracle BC4J Application to JBOSS 4.2.2 GA Application Server.
The problem I am having is that JBOSS uses 'Wrapped' Classes for connections,
prepared statements, etc...
I have used OraclePreparedStatement and JBOSS tries to cast it into
WrappedPreparedStatement which gives ClassCastException.....here's a stacktrace :
Caused by: java.lang.ClassCastException:
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement
at
oracle.jbo.server.OracleSQLBuilderImpl.doStatementSetRowPrefetch(OracleSQLBuilderImpl.java:1071)
at
oracle.jbo.server.DBTransactionImpl.createPreparedStatement(DBTransactionImpl.java:3405)
at
oracle.jbo.server.DBTransactionImpl2.createPreparedStatement(DBTransactionImpl2.java:428)
at
oracle.jbo.server.DBTransactionImpl.createReUsePreparedStatement(DBTransactionImpl.java:4239)
at
oracle.jbo.server.ViewObjectImpl.getPreparedStatement(ViewObjectImpl.java:8202)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:746)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at
oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at
oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
Any idea would be greatly appreciated. Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira