ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chaithanya ibatis" <chaithanya.iba...@gmail.com>
Subject URGENT ::: Caused by: java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
Date Fri, 14 Jul 2006 06:28:58 GMT
Hi,

I'm getting this error:using userdefined type in procedure.  in that type,
the datatypes are  number(12,2), varchar2, number. In the dto ,i declared
BigDecimal for number(12,2),
when i read  using readBigDecimal . will this creates this problem or any
thing else. pls give me solution.

i have used these classes. DTO, DTOTYPESQLDATA  for userdefined type

java.rmi.ServerError: Unexpected Error; nested exception is:
    java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass
(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
    at org.jboss.ejb.plugins.LogInterceptor.handleException(
LogInterceptor.java:399)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:196)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(
ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java
:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
ReflectedDispatcher.java:141)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java:245)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
    at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke
(JRMPInvoker.java:805)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java
:406)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
    at sun.rmi.transport.Transport$1.run(Transport.java:148)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java
:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(
TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NoSuchMethodError: oracle.sql.STRUCT.toClass
(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Object;
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingDAO.getFinancialDetail(
OrderProcessingDAO.java:148)
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingImpl.getFinancialDetail(
OrderProcessingImpl.java:107)
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingBean.getFinancialDetail(
OrderProcessingBean.java:232)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(
StatelessSessionContainer.java:214)
    at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(
CachedConnectionInterceptor.java:149)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(
StatelessSessionInstanceInterceptor.java:154)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(
ServiceEndpointInterceptor.java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(
CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(
AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(
TxInterceptorCMT.java:300)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java
:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(
SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    ... 25 more


Regards,
Chaithanya

Mime
View raw message