From 0627ad7ffb2694b0074c7baca9b73a0b5eef6465 Mon Sep 17 00:00:00 2001 From: Luc Boudreau Date: Thu, 29 Sep 2011 15:37:47 +0000 Subject: [PATCH] Fixes an issue with the XmlaOlap4jDriver 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 explicitly 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. git-svn-id: https://olap4j.svn.sourceforge.net/svnroot/olap4j/trunk@475 c6a108a4-781c-0410-a6c6-c2d559e19af0 --- src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java b/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java index 0b09255..d24b8f3 100644 --- a/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java +++ b/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java @@ -130,7 +130,7 @@ public Thread newThread(Runnable r) { /** * Creates an XmlaOlap4jDriver. */ - protected XmlaOlap4jDriver() { + public XmlaOlap4jDriver() { String factoryClassName; try { Class.forName("java.sql.Wrapper");