你是在EJB-QL中告诉容器怎么来实现Select方法的吗,如果这样的话就容易了
<query>
<query-method>
<method-name>ejbSelectxxx</method-name>
...
...
</query-method>然后在你的方法中,用Collection c = this.ejbSelectxxx();就可以得到select的结果
<query>
<query-method>
<method-name>ejbSelectxxx</method-name>
...
...
</query-method>然后在你的方法中,用Collection c = this.ejbSelectxxx();就可以得到select的结果
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货