Skip to content

Commit

Permalink
Fixes an issue with cache pass-through properties. The properties tha…
Browse files Browse the repository at this point in the history
…t are used to configure the XMLA cache shouldn't be added to the PropertyList of the XMLA payload.

git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@499 c6a108a4-781c-0410-a6c6-c2d559e19af0
  • Loading branch information
lucboudreau committed Feb 6, 2012
1 parent d914472 commit af107f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/org/olap4j/driver/xmla/XmlaOlap4jConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,12 @@ static boolean acceptsURL(String url) {
String makeConnectionPropertyList() {
StringBuilder buf = new StringBuilder();
for (String prop : databaseProperties.keySet()) {
if (prop.startsWith(
XmlaOlap4jDriver.Property.CACHE.name()))
{
// Skip over the pass-through properties for the cache.
continue;
}
try {
XmlaOlap4jDriver.Property.valueOf(prop);
continue;
Expand Down

0 comments on commit af107f8

Please sign in to comment.