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

Reply via email to