diff --git a/CHANGES.txt b/CHANGES.txt index ca9c13b..9d1d569 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,10 @@ Among other notable changes, this version introduces support for JDBC 4.1. - Fixes an issue with SAP BW where the XMLA driver would scan through all the available databases/catalogs/schemas, causing access control exceptions. + - Added the ability to pass server specific properties as part + of the XMLA's PropertyList payload. + - The XmlaDriver now exposes a public constructor to prevent + errors in Sun's JDBC implementation. # Olap4j 1.0.0 diff --git a/RELEASE_CHECKLIST.txt b/RELEASE_CHECKLIST.txt index d4e1833..c099e5b 100644 --- a/RELEASE_CHECKLIST.txt +++ b/RELEASE_CHECKLIST.txt @@ -28,7 +28,7 @@ Pay close attention to the Ant targets named compileJdk1* and ensure that each JVM compilation phase has compiled the files it needed to. The JDK 1.5 should compile - about 800+ files. The JDK 1.6 must compile the JDBC 4.0 classes (2 files) + about 700+ files. The JDK 1.6 must compile the JDBC 4.0 classes (2 files) and Java 7 should compile the JDBC 4.1 driver (1 file). Check the Javadoc warnings, and make sure that the only warnings are related to diff --git a/build.properties b/build.properties index 4d2e780..8ba4a4f 100644 --- a/build.properties +++ b/build.properties @@ -25,11 +25,11 @@ # so that projects such as mondrian can run on the very latest; we switch for a # specific revision number near to a release. Change 'xxx' the latest subversion # change number; and put the same number in 'project.revision.minor'.) -project.revision=1.0.1-SNAPSHOT +project.revision=1.0.1.500 #project.revision=1.0.0.xxx project.revision.major=1 -project.revision.minor=0001494 +project.revision.minor=00010500 ivy.artifact.id=olap4j ivy.artifact.group=org.olap4j diff --git a/src/org/olap4j/driver/xmla/XmlaOlap4jCatalog.java b/src/org/olap4j/driver/xmla/XmlaOlap4jCatalog.java index 4a71efc..5f9d02d 100644 --- a/src/org/olap4j/driver/xmla/XmlaOlap4jCatalog.java +++ b/src/org/olap4j/driver/xmla/XmlaOlap4jCatalog.java @@ -41,7 +41,7 @@ class XmlaOlap4jCatalog implements Catalog, Named { private final String name; final DeferredNamedListImpl schemas; private final XmlaOlap4jDatabase database; - private List roles; + private List roles; XmlaOlap4jCatalog( XmlaOlap4jDatabaseMetaData olap4jDatabaseMetaData, @@ -153,9 +153,9 @@ public NamedList getSchemas() throws OlapException { public String getName() { return name; } - + protected List getAvailableRoles() { - return roles; + return roles; } public OlapDatabaseMetaData getMetaData() { diff --git a/src/org/olap4j/driver/xmla/XmlaOlap4jConnection.java b/src/org/olap4j/driver/xmla/XmlaOlap4jConnection.java index ae8a138..1383110 100644 --- a/src/org/olap4j/driver/xmla/XmlaOlap4jConnection.java +++ b/src/org/olap4j/driver/xmla/XmlaOlap4jConnection.java @@ -317,7 +317,7 @@ String makeConnectionPropertyList() { StringBuilder buf = new StringBuilder(); for (String prop : databaseProperties.keySet()) { if (prop.startsWith( - XmlaOlap4jDriver.Property.CACHE.name())) + XmlaOlap4jDriver.Property.CACHE.name())) { // Skip over the pass-through properties for the cache. continue; diff --git a/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java b/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java index 421eede..1b19332 100644 --- a/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java +++ b/src/org/olap4j/driver/xmla/XmlaOlap4jDriver.java @@ -112,16 +112,16 @@ * {@link org.olap4j.driver.xmla.XmlaOlap4jConnection#getAvailableRoleNames} * * User User name to use when establishing a - * connection to the server. The credentials are passed - * using the HTTP Basic authentication protocol, - * but are also sent as part of the SOAP Security - * headers. + * connection to the server. The credentials are + * passed using the HTTP Basic authentication + * protocol, but are also sent as part of the SOAP + * Security headers. * * Password Password to use when establishing a - * connection to the server. The credentials are passed - * using the HTTP Basic authentication protocol, - * but are also sent as part of the SOAP Security - * headers. + * connection to the server. The credentials are + * passed using the HTTP Basic authentication + * protocol, but are also sent as part of the SOAP + * Security headers. * * * diff --git a/testsrc/org/olap4j/XmlaConnectionTest.java b/testsrc/org/olap4j/XmlaConnectionTest.java index df554e7..1219129 100644 --- a/testsrc/org/olap4j/XmlaConnectionTest.java +++ b/testsrc/org/olap4j/XmlaConnectionTest.java @@ -359,7 +359,7 @@ public void testPropertyList() throws Exception { final String oldValue = XmlaTester.getProxyClassName(); try { XmlaTester.setProxyClassName( - PropertyListTestProxy.class.getName()); + PropertyListTestProxy.class.getName()); OlapConnection connection = tester.getWrapper().unwrap(