Bugs item #585014, was opened at 2002-07-22 19:58 Message generated for change (Settings changed) made by loubyansky 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: Closed >Resolution: Rejected Priority: 5 Submitted By: Emerson Cargnin (echofloripa) Assigned to: Alexey Loubyansky (loubyansky) 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: Alexey Loubyansky (loubyansky) Date: 2003-08-24 20:17 Message: Logged In: YES user_id=543482 It won't be fixed in current implementation. Let it be a feature. ---------------------------------------------------------------------- Comment By: Dain Sundstrom (dsundstrom) Date: 2003-08-18 01: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 is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
