<div>&nbsp;</div>
<div>Hi, </div>
<div>&nbsp;Greetings for the day!</div>
<div>&nbsp; I am very new to Mondrian.&nbsp; I am&nbsp;having &nbsp;following problem</div>
<div>&nbsp; Can mondrian underlying DB swtich from one schema to another, given a single instance of DB.</div>
<div>&nbsp;</div>
<div>Details:</div>
<div>&nbsp;&nbsp;&nbsp; DB URL= localhost:3306</div>
<div>&nbsp;&nbsp;&nbsp; Suppose i want to use tables from two&nbsp;different schema? How can i do it?</div>
<div>&nbsp;&nbsp;&nbsp; A and B are two schemas. A contains TableA &amp; B Contains TableB.</div>
<div>&nbsp;&nbsp;&nbsp; MDX query will need informations of TableA as well as TableB.</div>
<div>&nbsp;</div>
<div>&nbsp; In order to get Result we use following two lines of code:</div>
<div>&nbsp;</div>
<div>mondrian.olap.Query query = connection.parseQuery(queryString);<br>&nbsp;&nbsp;<br>&nbsp;&nbsp;Result result = connection.execute(query);</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>connection is Connection to OLAP server , suppose it is related to&nbsp;&nbsp;localhost:3306/A</div>
<div>&nbsp;</div>
<div>How will i parse a query which is related to schema B with this connection?</div>
<div>&nbsp;</div>
<div>It may be becoz, i am confused with OLAP connection &amp; connecting two schema of a DB.</div>
<div>Kindly help me.</div>
<div>&nbsp;</div>
<div>Thanks &amp; Regards</div>
<div>Prakash</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>