[Mondrian] RolapSchema Rev 92 Changelist 9138

Richard Emberson remberson at edgedynamics.com
Tue Aug 7 14:35:38 EDT 2007


With Rev 92 of RolapSchema.java changelist 9138

went from:
             boolean useSchemaPool =
                 Boolean.parseBoolean(
                     connectInfo.get(
                         RolapConnectionProperties.UseSchemaPool.name(),
                         "true"));

to:
             final boolean useSchemaPool =
                 Boolean.parseBoolean(
                     connectInfo.get(
                         RolapConnectionProperties.UseSchemaPool.name(),
                         "true")) &&
                 Util.isEmpty(dynProcName);

Which means that if one uses a dynamic processor as part of
xmla, then each xmla request generates a new RolapSchema object.
Is this the intended behavior?
Can we have some mechanism of reusing RolapSchema objects
when dynamic processors are used?
Basically,
             final boolean useSchemaPool =
                 Boolean.parseBoolean(
                     connectInfo.get(
                         RolapConnectionProperties.UseSchemaPool.name(),
                         "true"));

works for me.



Richard

-- 
Quis custodiet ipsos custodes:
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.



More information about the Mondrian mailing list