Commits

Shantanu Kumar committed 8056dbf

update for 0.3 release

Comments (0)

Files changed (3)

   Oracle, IBM DB2, SQL Server, Sybase
 
 
-## 0.3 / 2010-Nov-??
+## 0.3 / 2010-Dec-29
 
 - Support for CUBRID database
 - Support for SQLite database
-- [TODO] Release Clj-MiscUtil 0.2 (Dependency)
 
 
 ## 0.2 / 2010-Oct-23
 -*- markdown -*-
 
-# Clj-DBCP v0.2
+# Clj-DBCP v0.3
 
 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, MySQL, PostgreSQL
+* Supported+tested: Apache Derby, HSQLDB, H2, CUBRID, MySQL, PostgreSQL
 * Supported but not tested: Oracle, IBM DB2, jTDS (SQL Server, Sybase)
 
 
 
 ## Building/Installation
 
-You will need Maven 2 to build from sources. Execute the following:
+You will need Maven 2 or better to build from sources. Execute the following:
 
     $ mvn clean package  # packages up a JAR in "target" dir
     $ mvn install        # to install to your local Maven repo
       (hsql-filesystem-datasource))
 
 
+## Create data source for SQLite database
+
+    ;; in-memory instance
+    (db-spec
+      (sqlite-memory-datasource))
+
+    ;; filesystem instance
+    (db-spec
+      (sqlite-filesystem-datasource))
+
+
+Example usage: see Derby example
+
+
+## Create data source for CUBRID database
+
+    (db-spec
+      (cubrid-datasource "localhost:33000" "exampledb" "dbuser" "dbpassword"))
+
 Example usage: see Derby example
 
 
 ## Create data source for MySQL database
 
     (db-spec
-      (mysql-datasource "localhost" "exampledb" "dbuser" "secret"))
+      (mysql-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
 ## Create data source for PostgreSQL database
 
     (db-spec
-      (pgsql-datasource "localhost" "exampledb" "dbuser" "secret"))
+      (pgsql-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
 ## Create data source for Oracle database
 
     (db-spec
-      (oracle-datasource "localhost" "examplesid" "dbuser" "secret"))
+      (oracle-datasource "localhost" "examplesid" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
 ## Create data source for IBM DB2 database
 
     (db-spec
-      (db2-datasource "localhost" "exampledb" "dbuser" "secret"))
+      (db2-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
 ## Create data source for Microsoft SQL Server database
 
     (db-spec
-      (sqlserver-datasource "localhost" "exampledb" "dbuser" "secret"))
+      (sqlserver-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
 ## Create data source for Sybase database
 
     (db-spec
-      (sybase-datasource "localhost" "exampledb" "dbuser" "secret"))
+      (sybase-datasource "localhost" "exampledb" "dbuser" "dbpassword"))
 
 Example usage: see Derby example
 
   <groupId>org.bituf</groupId>
   <artifactId>clj-dbcp</artifactId>
   <packaging>jar</packaging>
-  <version>0.3-SNAPSHOT</version>
+  <version>0.3</version>
   <name>Clj-DBCP</name>
   <description>
     Clj-DBCP is a simple Java-6/Clojure wrapper around the Apache DBCP library
       <version>1.4</version>
     </dependency>
     <!-- Test Dependencies -->
-    <dependency>
-      <groupId>org.bituf</groupId>
-      <artifactId>clj-miscutil</artifactId>
-      <version>0.2-SNAPSHOT</version>
-      <scope>test</scope>
-    </dependency>
     <dependency><!-- All Open Source JDBC Drivers available via Maven -->
       <groupId>org.bituf</groupId>
       <artifactId>oss-jdbc</artifactId>