<br>As of olap4j revision 307 ( <a href="http://olap4j.svn.sourceforge.net/viewvc/olap4j?view=rev&revision=307">http://olap4j.svn.sourceforge.net/viewvc/olap4j?view=rev&revision=307</a> ) the default MDX parser does not depend on OlapConnection. It should not have been dependent on it in the first place. <br>
<br>Mondrian developers: please modify the olap4j connection implementation and remove the now deprecated call to DefaultMdxParserImpl(OlapConnection). Modifications to the generic XML/A driver have already been performed.<br>
<br>This does not mean that DefaultMdxParserImpl is part of the public API yet. There should be a default parser factory exposed to developers. In the meanwhile, developers can directly instantiate it, but be advised that we do not provide any guarantees on this object's signature and we reserve the right to modify it in the future. To create a parser, developers can call the empty constructor.<br>
<br>A compiled binary which includes those changes can be picked from the CI server as of now :<br><br><a href="http://ci.pentaho.com/view/Analysis/job/olap4j/258/">http://ci.pentaho.com/view/Analysis/job/olap4j/258/</a><br>
<br clear="all">_____________________________<br>Luc Boudreau<br>
<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 5:38 PM, Luc Boudreau <span dir="ltr"><<a href="mailto:lucboudreau@gmail.com">lucboudreau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>This topic was discussed in olap4j forums.<br><br><a href="http://sourceforge.net/projects/olap4j/forums/forum/577988/topic/3545015" target="_blank">http://sourceforge.net/projects/olap4j/forums/forum/577988/topic/3545015</a><br>
<br>Although Julian's last comment mentioned that the parser is not officially part of the public API, I for one would like to make it part of the public API. There are many use cases for it and your request confirms it.<br>
<br>I'll see what I can do to detach the parser from the connection classes.<br><br clear="all">_____________________________<br>Luc Boudreau<br>
<br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Apr 6, 2010 at 5:32 PM, Josh Chappelle <span dir="ltr"><<a href="mailto:jchappelle@4redi.com" target="_blank">jchappelle@4redi.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi,</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">We have a need to use the MdxParser component from the
Olap4j project. However up until this point we have not been using olap4j at
all. To instantiate a DefaultMdxParserImpl you have to provide an org.olap4j.OlapConnection
object in the constructor. Our software is using a mondrian.olap.Connection. Is
there a way to convert between these two connection objects? If not does it
mean that we will have to use the org.olap4j.OlapConnection in order to use the
MdxParser?</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks,</span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p><font color="#888888">
<p class="MsoNormal"><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Josh </span></font></p>
</font></div>
</div>
<br></div></div>_______________________________________________<br>
Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div><br>
</blockquote></div><br>