Bugs item #572373, was opened at 2002-06-22 01:32 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=572373&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: None Priority: 5 Submitted By: Robson Miranda (rpdmiranda) Assigned to: Nobody/Anonymous (nobody) Summary: Entity doesn't work in declared-sql Initial Comment: When I use a parameter in a query method overrided as declared-sql in jbosscmp-sql, JBoss throws an exception: "java.lang.IllegalArgumentException: Could not find a field for the cmp-jdbc data for entity with the interface unb.ead.ejb.UsuarioLocal" Putting a e.printStackTrace in line 322 of QueryParameter.java (JBoss release 3.0.0) shows me 2002-06-15 21:51:42,829 ERROR [STDERR] java.lang.ClassCastException: org.jboss.resource.connectionmanager.CachedConnectio nInterceptor 2002-06-15 21:51:42,829 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.QueryParameter.getCMP Field(QueryParameter.java:304) 2002-06-15 21:51:42,829 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.QueryParameter.<init> (QueryParameter.java:189) ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=376685&aid=572373&group_id=22866 ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development