Shantanu Kumar avatar Shantanu Kumar committed 0c2708b

update docs and pom.xml for v0.6 release

Comments (0)

Files changed (2)

 -*- markdown -*-
 
-# Clj-DBCP v0.5
+# Clj-DBCP v0.6
 
 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.
 * Auto-select driver classname and validation query for supported database
 * API for memory/filesystem/network based data sources for embedded databases
 * Supported and tested:
-  (a) Regular ODBC DSNs
-  (b) Apache Derby, HSQLDB, H2, SQLite
-  (c) CUBRID, Firebird, MySQL, PostgreSQL
+  1. Regular ODBC DSN, Lite ODBC DSN (eg. MS-Excel workbooks)
+  2. Apache Derby, HSQLDB, H2, SQLite, Axion
+  3. CUBRID, Firebird, MySQL, PostgreSQL, MonetDB
 * Supported but not tested: Oracle, IBM DB2, jTDS (SQL Server, Sybase)
 * Create datasource as per configuration in Properties file
 
 
 ## Building/Installation
 
+_Note:_ Due to dependency on ODBC and Excel support, builds may work only on
+Windows with respective databases (mentioned in configuration files) configured
+and started up.
+
 You will need Maven 2 or better to build from sources. Execute the following:
 
     $ mvn clean package  # packages up a JAR in "target" dir
 Example usage: see Derby example
 
 
+## Create data source for Axion database
+
+    ;; in-memory instance
+    (db-spec
+      (axion-memory-datasource))
+
+    ;; filesystem instance
+    (db-spec
+      (axion-filesystem-datasource))
+
+
+Example usage: see Derby example
+
+
 ## Create data source for CUBRID database
 
     (db-spec
 Example usage: see Derby example
 
 
+## Create data source for MonetDB database
+
+    (db-spec
+      (monetdb-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
+
+Example usage: see Derby example
+
+
 ## Create data source for Firebird database
 
     (db-spec
         (set-max-active! ds 15)
         ;; set minimum and maximum number of idle connections on the datasource
         (set-min-max-idle! ds 3 8)
+        ;; set connection properties
+        (add-connection-property! ds "connectTimeout=1000, socketTimeout=500")
+        ;(add-connection-property! ds {:connectTimeout 1000 :socketTimeout 500})
         ds))
 
 
     weird.max-active=10
     weird.min-max-idle=2,4
     weird.validation-query=SELECT 1
+    weird.conn-properties=
+    weird.conn-properties=connectTimeout=1000, socketTimeout=500
   <groupId>org.bituf</groupId>
   <artifactId>clj-dbcp</artifactId>
   <packaging>jar</packaging>
-  <version>0.6-SNAPSHOT</version>
+  <version>0.6</version>
   <name>Clj-DBCP</name>
   <description>
     Clj-DBCP is a simple Java-6/Clojure wrapper around the Apache DBCP library
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.