I hava a problem on writing finder in jaws.xml.
In my Bean' home interface have two methods
Collection findByName(String name)
Collection finbByName(String name,Integer status)
in jaws.xml:
findByName
name = {0}
<read-ahead>true</read-ahead>
findByName
name = {0} AND status = {1}
<read-ahead>true</read-ahead>
I deployed the Bean
I test the bean ,the method findByName(String name) is correct! but the method findByName(String name ,Integer status) return 0 results.
If I change the order of the two finders in jaws.xml ,
when I deploy the bean , throw a Exception java.lang.NumberFormatException : 0) AND status=
who can help me?