[ http://jira.jboss.com/jira/browse/JBAS-1444?page=comments#action_12316078 ] Eric van der Maarel commented on JBAS-1444: -------------------------------------------
The error log messages are quite annoying. > Incorrect warning about undefined query method with CMP1.x > ---------------------------------------------------------- > > Key: JBAS-1444 > URL: http://jira.jboss.com/jira/browse/JBAS-1444 > Project: JBoss Application Server > Type: Bug > Components: CMP service > Versions: JBossAS-4.0.1 Final > Reporter: Peter Doornbosch > Priority: Minor > > > When deploying an EJB 1.1 bean using CMP, the following warning is issued for > each finder: > 17:02:33,989 WARN [JDBCQueryMetaDataFactory] The query method is not defined > in ejb-jar.xml: <method-signature> > This warning is invalid as query methods can not be defined in an EJB 1.1 > ejb-jar.xml. > The fix is trivial, as all necessary information is available: the warning is > issued by the method createJDBCQueryMetaData(Element, Map, > JDBCReadAheadMetaData readAhead) in the class JDBCQueryMetaDataFactory; the > test whether the query is defined (if (defaultValue == null)) should be > extended with "&& ! entity.isCMP1x()" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- 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-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
