Skip to content

Commit

Permalink
MONDRIAN: [MONDRIAN-995] Fixes an issue with the MondrianOlap4jDriver…
Browse files Browse the repository at this point in the history
… and the DriverManager from Java. Every java.sql.Driver implementation needs a public empty constructor so it can be instantiated correctly by JDBC. It is not explicitely specified by the JDBC specs, but Sun's JVM attempts to call that constructor none the less. We have also received some bug reports from the community about olap4j's driver implementation showing the same problems with WebSphere and some other JDBC pools. The same change will be made in XmlaOlap4jDriver.

[git-p4: depot-paths = "//open/mondrian/": change = 14636]
  • Loading branch information
lucboudreau committed Sep 29, 2011
1 parent 15bccf5 commit da504d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/mondrian/olap4j/MondrianOlap4jDriver.java
Expand Up @@ -74,7 +74,7 @@ public class MondrianOlap4jDriver implements Driver {
/**
* Creates a MondrianOlap4jDriver.
*/
MondrianOlap4jDriver() {
public MondrianOlap4jDriver() {
this.factory = createFactory();
}

Expand Down

0 comments on commit da504d1

Please sign in to comment.