This has now been patched in to Branch_2_4 and HEAD. The release has been incremented to Rel_2_5_0_3 [pls let me know if this is incorrect...]. Vinay ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 8:24 PM Subject: [JBoss-dev] [ jboss-Bugs-440167 ] null finder arg > Bugs item #440167, was opened at 2001-07-10 12:24 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=376685&aid=440167&group_id= 22866 > > Category: JBossServer > Group: v2.2.2 (stable) > Status: Open > Resolution: None > Priority: 5 > Submitted By: Nobody/Anonymous (nobody) > Assigned to: Nobody/Anonymous (nobody) > Summary: null finder arg > > Initial Comment: > A declared cmp finder does not allow a null finder call argument. jboss gets the type of an > argument by calling getClass() on the instance. If the argument is null, this raises an exception > with the message "Find failed". > > jboss jaws plugin should check for a null argument and format the PreparedStatement accordingly. > To be precise, a null check on the arg in > org.jboss.ejb.plugins.jaws.jdbc.JDBCDefinedFinderCommand.setParameters(): > > if (arg == null) > jdbcType = java.sql.Types.NULL; > else > jdbcType = typeMapping.getJdbcTypeForJavaType(arg.getClass()); > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=376685&aid=440167&group_id= 22866 > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development