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. 

"[EMAIL PROTECTED]" 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.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907655#3907655

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907655


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to