Bugs item #615320, was opened at 2002-09-26 20:42 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=615320&group_id=22866
Category: JBossCMP Group: v3.1 Status: Open Resolution: None Priority: 5 Submitted By: Peter Luttrell (objec) Assigned to: Nobody/Anonymous (nobody) Summary: Read-Ahead settings ignored Initial Comment: JBoss does not honor the read-ahead or fetch-size settings in the defaultjbosscmp-jdbc.xml file, nor the jbosscmp-jdbc.xml file under either the default or entity nodes. When you put it under the default node in either, it just appears to be ignored. I base this on the fact that I set it to fetch-size=1, readonly.strategy=none and the sql that the cmp engine generates based on a call to get<anything> on a bean results in a query such as this: 2002-09-26 20:35:30,834 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityComma nd.PersonalTrades] Executing SQL: select id, ....<all fields> from MYTABLE where (id=?) OR (id=?) OR (id=?)...there are 255 ORs, which i beleive is the default read only size. Now when you put the readonly element under the entity element in the jbosscmp-jdbc.xml file in the order required, deployment fails with a SAXParseException claiming that the read-only element is not allowed under entity. However i verified with ie's built in xml validator, that the xml is valid based on the dtd included with the 3.0.2 release ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=615320&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
