> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Subject: [Xdoclet-user] RE: read-ahead for ejb-relationship-role > > > -----Original Message----- > > From: Alex Loubyansky [mailto:[EMAIL PROTECTED]] > > Subject: read-ahead for ejb-relationship-role > > > > Is there a way to setup read-ahead for ejb-relationship-role in > > jbosscmp-jdbc.xml? > > It will probably just be additional attributes on @jboss.relation > and @jboss.target-relation: > > @jboss.relation ... strategy="on-load" page-size="300" > eager-load-group="*"
I could not just add these tags to @jboss.relation because that would have the side effect of making the code think that we are specifying the foreign keys. Therefore, I created two new tags: @jboss.relation-read-ahead and @jboss.target-relation-read-ahead Both tags have three attributes, strategy, [page-size], and [eager-load-group]. @jboss.relation-read-ahead is used to set the read-ahead for the visible side of the relationship. @jboss.target-relation-read-ahead is used to set the read-ahead for the blind-side of the relationship. These changes are in CVS. Let me know if there are any problems. Michael ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
