weblogic中的ejb ql语句为什么出现这样的错误?
八月 23rd, 2007 by admin
select object(o) from tzzcontractdata as o where (o.producenumber,o.contractstatus) not in (select pp.producenumber,pp.contractstatus from tjhproductiontask as pp)
不好用。
把查询条件由两个变成一个就好用了:
select object(o) from tzzcontractdata as o where o.expecttime like ?1 and (o.contractstatus = 等待 or o.contractstatus = 结转) and o.producenumber not in (select pp.producenumber from tjhproductiontask as pp)
weblogic难道就这么弱智吗?
参考文章:
Posted in noname. Edit