Bugs item #585014, was opened at 2002-07-22 11:58 Message generated for change (Comment added) made by dsundstrom You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585014&group_id=22866
Category: JBossCMP Group: v3.0 Rabbit Hole Status: Open Resolution: Accepted Priority: 5 Submitted By: Emerson Cargnin (echofloripa) >Assigned to: Nobody/Anonymous (nobody) Summary: JBossCMP giving error in dynamic-ql when passing an array wi Initial Comment: When creating dynamic queries, normally someone have a max size array created at first, and populate it depending on the business rules (for example, having null parameters). If you create an array with size of three and jboss-ql = "SELECT object(p) FROM TestParent p WHERE p.idade=?1 ORDER BY p.nome" array = [20, null] although i use just the first one jboss it gives me the following error : 13:59:22,954 INFO [STDOUT] Parameter[1] is null 13:59:22,954 ERROR [STDERR] javax.ejb.FinderException: Parameter[1] is null 13:59:22,956 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.JDBCDynamicQLQuery.execute(JDBCDynamicQLQuery.java:61) 13:59:22,956 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:64) 13:59:22,957 ERROR [STDERR] at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:95) 13:59:22,957 ERROR [STDERR] at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59) 13:59:22,958 ERROR [STDERR] at server.ejb.TestParentEJB$Proxy.ejbSelectGeneric(<generated>) 13:59:22,958 ERROR [STDERR] at server.ejb.TestParentEJB.ejbHomeSelectTest(TestParentEJB.java:150) 13:59:22,958 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 13:59:22,959 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 13:59:22,959 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 13:59:22,960 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 13:59:22,960 ERROR [STDERR] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1137) 13:59:22,960 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:73) 13:59:22,961 ERROR [STDERR] at org.jboss.ejb.plugins.EntitySynchronizationInter ---------------------------------------------------------------------- >Comment By: Dain Sundstrom (dsundstrom) Date: 2003-08-17 17:41 Message: Logged In: YES user_id=251431 I am no no longer a JBoss committer, so I am unable to fix any bugs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=585014&group_id=22866 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
