Bugs item #572373, was opened at 2002-06-21 20:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=572373&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Robson Miranda (rpdmiranda) Assigned to: Dain Sundstrom (dsundstrom) 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) ---------------------------------------------------------------------- >Comment By: Dain Sundstrom (dsundstrom) Date: 2002-06-24 18:27 Message: Logged In: YES user_id=251431 This has been fixed in Branch_3_0 and HEAD. ---------------------------------------------------------------------- You can respond by visiting: https://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