What you are describing sounds exactly like the problem I was having using java.sql.Date - based on finding auctions ending withing a certain date/time. I'm using XDoclet and MyEclipse. My XDoclet finder is:
| @ejb.finder | signature="java.util.Collection | findAllEndingAuctions(java.sql.Timestamp endingStartDate, java.sql.Timestamp endingEndDate)" | query="SELECT OBJECT(a) FROM Auction AS a WHERE a.end_date > ?1 and a.end_date < ?2" | I haven't done a full testing, but in my rough tests, this is working - including times. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866663#3866663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866663 ------------------------------------------------------- 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 JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user