Alexey,
I tried using the
<ql-compiler>org.jboss.ejb.plugins.cmp.jdbc.EJBQLToSQL92Compiler</ql-compiler>
SELECT OBJECT(o) FROM Weight o WHERE ( o.sale.client.traceId = ?1 ) AND ( o.sale.date = ?2 ) AND ( o.unidModificationDate >= ?3 ) ORDER BY o.unidModificationDate LIMIT ?4
SELECT * FROM T_WEIGHT t0_o LEFT OUTER JOIN T_WEIGHTGROUP t2_o_sale ON t0_o.f_Sale_UOID=t2_o_sale.UNID_UOID LEFT OUTER JOIN T_COMPANY t1_o_sale_client ON t0_o.f_Client_UOID=t1_o_sale_client.UNID_UOID WHERE (t1_o_sale_client.f_TraceId = ?) AND (t2_o_sale.f_Date = ?) AND (t0_o.UNID_MODIFIED >= ?) ORDER BY t0_o.UNID_MODIFIED ASC
Yes, there was a bug. It should be fixed now.
You can check it out and safely use it with 3.2.4 release. Or, since, it is plugable, you can check it out, rename, compile and package it with the ejb-jar.
Thanks.