Hi all again, finally got it. The query doesnÂt compile because the database fields
f_desde and f_hasta have been mapped to FDesde and FHasta in the entity bean but the finder refers to them as o.fDesde and o.fHasta The code is generated by Middlegen 2b and I just cut and paste from the single column finder to create this new finder. Hence watch out for columns that contain an underscore when generating entities from tables using this fantastic tool. Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853033#3853033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853033 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user