Commits

Shantanu Kumar committed eef98c3

bump version to 0.4

Comments (0)

Files changed (3)

 - [TODO] Test-cases for untested databases:
   Oracle, IBM DB2, SQL Server, Sybase
 - [TODO] Support Excel files using JDBC driver
+- [TODO] Support XADataSource - maybe use JOTM: http://jotm.objectweb.org/
 
 
 ## 0.4 / 2011-Jan-??
 
 - Clojure 1.3 compatibility
-- Support for JDBC-ODBC bridge - both regular and vanilla/lite
+- Support for JDBC-ODBC bridge (both regular and experimental 'lite')
 - Support for Firebird database using Type 4 JDBC driver
 - Test with OSS-JDBC 0.4
 
 -*- markdown -*-
 
-# Clj-DBCP v0.3
+# Clj-DBCP v0.4
 
 Clj-DBCP is a simple Java-6/Clojure wrapper around the Apache DBCP library for
 creating database connection pools and for embedding databases in applications.
 * Support for validation query, setting connection pool parameters
 * Auto-select driver classname and validation query for supported database
 * API for memory/filesystem/network based data sources for embedded databases
-* Supported+tested: Apache Derby, HSQLDB, H2, CUBRID, MySQL, PostgreSQL
+* Supported and tested:
+  * Regular ODBC DSNs
+  * Apache Derby, HSQLDB, H2, SQLite
+  * CUBRID, Firebird, MySQL, PostgreSQL
 * Supported but not tested: Oracle, IBM DB2, jTDS (SQL Server, Sybase)
 
 
 Example usage: see Derby example
 
 
+## Create data source for Firebird database
+
+    (db-spec
+      (firebird-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
+
+Example usage: see Derby example
+
+
 ## Create data source for MySQL database
 
     (db-spec
 Example usage: see Derby example
 
 
+## Create data source for ODBC DSN
+
+    (db-spec
+      (odbc-datasource "dsn" "dbuser" "dbpassword"))
+
+Example usage: see Derby example
+
+
 ## Get data source from JNDI (only looked up; must be already connection pooled)
 
     (db-spec
   <groupId>org.bituf</groupId>
   <artifactId>clj-dbcp</artifactId>
   <packaging>jar</packaging>
-  <version>0.4-SNAPSHOT</version>
+  <version>0.4</version>
   <name>Clj-DBCP</name>
   <description>
     Clj-DBCP is a simple Java-6/Clojure wrapper around the Apache DBCP library
       <version>1.2.0</version>
       <optional>true</optional>
     </dependency>
+    <!--
+    <dependency>
+      <groupId>org.clojure</groupId>
+      <artifactId>clojure</artifactId>
+      <version>1.3.0-master-20101220.130227-7</version>
+      <optional>true</optional>
+    </dependency>
+    -->
     <dependency>
       <groupId>org.clojure</groupId>
       <artifactId>clojure-contrib</artifactId>
       <scope>test</scope>
       <optional>true</optional>
     </dependency>
+    <!--
+    <dependency>
+      <groupId>org.clojure.contrib</groupId>
+      <artifactId>sql</artifactId>
+      <version>1.3.0-SNAPSHOT</version>
+      <scope>test</scope>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.clojure.contrib</groupId>
+      <artifactId>java-utils</artifactId>
+      <version>1.3.0-SNAPSHOT</version>
+      <scope>test</scope>
+      <optional>true</optional>
+    </dependency>
+    -->
     <!-- Apache DBCP -->
     <dependency>
       <groupId>commons-dbcp</groupId>
     <dependency><!-- All Open Source JDBC Drivers available via Maven -->
       <groupId>org.bituf</groupId>
       <artifactId>oss-jdbc</artifactId>
-      <version>0.4-SNAPSHOT</version>
+      <version>0.4</version>
       <scope>test</scope>
     </dependency>
     <dependency><!-- Simple-JNDI: Emulate JNDI container -->