Hi Lillian, Just shooting in the dark here but shouldn't the 100 be enclosed in quotes...
i.e. page-size="100" Regards, Renier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lillian Sent: 05 May 2004 10:05 To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Page-size not generated in jbosscmp-jdbc.xml for @jboss.query 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 ------------------------------------------------------- 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
