-
1. Re: Problems under WrappedCallableStatement
adrian.brock Nov 16, 2005 8:14 PM (in response to jj_andrade)http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ - getUnderylingStatement()
"I am trying doing a simple connection by JNDI Datasource below"
No you are not. You are trying to use proprietary api. -
2. Re: Problems under WrappedCallableStatement
jj_andrade Nov 17, 2005 8:45 AM (in response to jj_andrade)Ok adrian.
I didnt found out the exactly article at FAQ about it.
What i didnt understand was getUnderylingStatement() give me a Statement, but i need a CallableStatement.
see : http://docs.jboss.com/jbossas/javadoc/3.2.7/connector/org/jboss/resource/adapter/jdbc/WrappedPreparedStatement.html#getUnderlyingStatement()
I also found out at:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48562&view=next
while(ps instanceof WrappedStatement)
{
ps = (PreparedStatement)((WrappedStatement)ps).getUnderlyingStatement();
}
I didnt quite understand."adrian@jboss.org" wrote:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
FAQ - getUnderylingStatement()
"I am trying doing a simple connection by JNDI Datasource below"
No you are not. You are trying to use proprietary api. -
3. Re: Problems under WrappedCallableStatement
adrian.brock Nov 18, 2005 6:51 PM (in response to jj_andrade)FAQ means it has asked many times before.
We don't put every question on the FAQ page it would be pointless.
It would be as long as the documentation (if not longer because you would
have to deal with every braindeath).
CallableStatement instanceof Statement == true