I think this was fixed in 3.0.1.  If your are using 3.0.1, please post a 
bug report along with a reproducible test case.

-dain

Vittorio Ballestra wrote:
> What am I doing wrong ? I've tried to tune my jboss app setting read-ahead 
> options but this is what happening :
>       1) configuration is read and is syntactical correct as if I deliberately 
> break it (for example inserting wrong values for read-ahead strategy), 
> deployment will not work and an error is signaled.
>       2) when a find method is invoked I see from the trace that the default 
> read-ahed policy is used instead of the one I've configured
> 
> Is there something I miss ?
> 
> an excerpt from my jbossjdbc-cmp.xml :
> 
>               <entity>
>                       <ejb-name>Message</ejb-name>
>                       <cmp-field>
>                               <field-name>message</field-name>
>                               <column-name>msg</column-name>
>                               <jdbc-type>LONGVARCHAR</jdbc-type>
>                               <sql-type>LONG</sql-type>
>                       </cmp-field>
>                       <eager-load-group>msgDescr</eager-load-group>
>                       <load-groups>
>                               <load-group>
>                                       <description>Descrizione del 
>messaggio</description>
>                                       <load-group-name>msgDescr</load-group-name>
>                                       <field-name>submitDate</field-name>
>                                       <field-name>type</field-name>
>                                       <field-name>needServerProcessing</field-name>
>                               </load-group>                           
>                       </load-groups>
>                       <read-ahead>
>                               <strategy>on-load</strategy>
>                               <page-size>1</page-size>
>                               <eager-load-group>msgDescr</eager-load-group>
>                       </read-ahead>
>               </entity>
> 
> The trace :
> 
> 2002-07-09 19:33:20,812 TRACE 
> [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Message] Eager-load for 
> entity: readahead
> =[JDBCReadAheadMetaData : strategy=on-load, pageSize=255, eagerLoadGroup=*]
> 
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Two, two, TWO treats in one.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to