在EJB里面怎么实现两个日期之间的查找?
wzzhu 2003-09-15 05:25:27 String otime1="20030906";
String otime2="20030907";
long o_date1=Long.parseLong(otime1);
long o_date2=Long.parseLong(otime2);
java.sql.Timestamp date1=new Timestamp(o_date1);
java.sql.Timestamp date2=new Timestamp(o_date2);
在entityBean里面新建了findByOrderDate(java.sql.Timestamp date1,java.sql.Timestamp date2)
结果这个函数返回的Collection为空,不知何解?我只有10分了,统统送上,盼赐教