Hi all,
I have a problem generating @jboss.query page-size tag in the
jbosscmp-jdbc.xml. In my source code, I have specified the page-size as
follows:
@jboss.query signature="java.util.Collection
findPACSEFTTransactionsByStateAndGrouping
(java.lang.Byte statePK,
za.co.pps.fs.pacs.datastore.PACSEFTTransactionGroupingLocal groupingLoc)"
query="SELECT OBJECT(P) FROM PACSEFTTransaction
AS P WHERE
P.stateFK=?1 and
P.eFTTransactionGrouping=?2"
strategy="on-load"
page-size = 100
But in the generated jbosscmp-jdbc.xml, the <page-size> tag was not
generated in <read-ahead>
<query>
<query-method>
<method-name>findAllPACSStates</method-name>
<method-params>
</method-params>
</query-method>
<jboss-ql><![CDATA[SELECT OBJECT(P) FROM PACSStates AS
P]]></jboss-ql>
<read-ahead>
<strategy>on-load</strategy>
</read-ahead>
</query>
The <read-ahead> should contain <page-size> in it as follows:
<read-ahead>
<strategy>on-load</strategy>
<page-size>100</page-size>
</read-ahead>
Does anyone know how to fix this problem?
Thanks for reply,
Lillian
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user