To all:
System: JBoss-3.2.4, Eclipse 2.1.3, Lomboz 2.1.3
I was trying to create a finder method for a date field using JBoss-QL, since
EJB-QL's support for date is restricted (problems with time information). I
thought I could create the finder method using Xdoclet's @jboss.query tag but
the compiler returned an error saying that the query method can not be found.
I checked ejb-jar.xml and jbosscmp-jdbc.xml. It looks like the finder is put
in jbosscmp-jdbc but ejb-jar.xml no longer has the finder method defined. Is
there something I need to do?
Thanks for all your help.
Snippet of error message
jboss.j2ee:jndiName=TestDateBean,service=EJB
org.jboss.deployment.DeploymentException: Query method not found:
findByDummyDate(java.sql.Date)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.getQueryMethods(JDBCQueryMetaDataFactory.java:322)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCQueryMetaDataFactory.getQueryMethods(JDBCQueryMetaDataFactory.java:243)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866562#3866562
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866562
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user