ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MCCORMICK, Paul" <Paul.McCORM...@doir.wa.gov.au>
Subject RE: 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:52:33 GMT

Hi Chaithanya,
Is you second name really ibatis?

________________________________

From: chaithanya ibatis [mailto:chaithanya.ibatis@gmail.com]
Sent: Friday, 14 July 2006 2:29 PM
To: user-java@ibatis.apache.org
Subject: URGENT ::: Caused by: java.lang.NoSuchMethodError:
oracle.sql.STRUCT.toClass(Ljava/lang/Class;Ljava/util/Map;)Ljava/lang/Ob
ject;


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/Ob
ject;
    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.jav
a:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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.jav
a: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(DelegatingMethodAccessor
Impl.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.ja
va: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/Ob
ject;
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingDAO.getFinancialDetai
l(OrderProcessingDAO.java :148)
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingImpl.getFinancialDeta
il(OrderProcessingImpl.java:107)
    at
uk.co.lvl.ecommerce.orderprocessing.OrderProcessingBean.getFinancialDeta
il(OrderProcessingBean.java :232)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a: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(ServiceEnd
pointInterceptor.java:54)
    at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInt
erceptor.java :48)
    at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterce
ptor.java:106)
    at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptor
CMT.java:300)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke
(TxInterceptorCMT.java:166)
    at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.jav
a:153)
    at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    ... 25 more


Regards,
Chaithanya



"DISCLAIMER: This email, including any attachments, is intended only for use by the addressee(s)
and may contain confidential and/or personal information and may also be the subject of legal
privilege. If you are not the intended recipient, you must not disclose or use the information
contained in it. In this case, please let me know by return email, delete the message permanently
from your system and destroy any copies.

Before you take any action based upon advice and/or information contained in this email you
should carefully consider the advice and information and consider obtaining relevant independent
advice.
Mime
View raw message