Rod Macpherson
2003-01-21 16:35:07 UTC
The entity-cmp-20.vm velocity script in middlegen sets the following for
read-only beans:
*
* @weblogic-cache concurrency-strategy="ReadyOnly"
*
*
I pressume this is because the default concurrency-strategy is fine the
rest of the time, however, where to I set the other weblogic-cache
attributes? I am editing entity-cmp-20.vm and adding this
* @weblogic.cache
* max-beans-in-cache="50"
* concurrency-strategy=#if( $table.readOnly
)"ReadOnly"#else"Database"#end
* read-timeout-seconds="600"
* idle-timeout-seconds="5"
Is it recommended to edit this and rebuild middlegen for such a change?
Should these attributes not be exposed in the ant task?
Rod
read-only beans:
*
* @weblogic-cache concurrency-strategy="ReadyOnly"
*
*
I pressume this is because the default concurrency-strategy is fine the
rest of the time, however, where to I set the other weblogic-cache
attributes? I am editing entity-cmp-20.vm and adding this
* @weblogic.cache
* max-beans-in-cache="50"
* concurrency-strategy=#if( $table.readOnly
)"ReadOnly"#else"Database"#end
* read-timeout-seconds="600"
* idle-timeout-seconds="5"
Is it recommended to edit this and rebuild middlegen for such a change?
Should these attributes not be exposed in the ant task?
Rod