Commits

Shantanu Kumar committed c0b6797

bump version to 0.2

Comments (0)

Files changed (3)

 
 # Changes and TODO
 
+* [TODO] More introspection fns
 
-## 0.2 / 2011-Mar-??
+
+## 0.2 / 2011-Apr-01
 
 * Default spec as a static var `default-dbspec`
 * Convenience macros/functions for context-free resources
   * :show-sql-fn  fn (that prints out the SQL)
 * Introduce WriteNotAllowedException for situations when write-operations cannot
   be executed
-* [TODO] More introspection fns
 
 
 ## 0.1 / 2011-Mar-06
 -*- markdown -*-
 
-# Clj-DBSpec v0.2-SNAPSHOT
+# Clj-DBSpec v0.2
 
 Clj-DBSpec is a common configuration spec for dealing with relational databases
 e.g. data source, connection, conversion of schema/tables/columns/indices names
                   1. Catalog name - SHOULD be converted using db-iden
     :schema      (Clojure form - String, Keyword etc.; default nil)
                   1. Schema name - SHOULD be converted using db-iden
+    :read-only   (boolean, default: false)
+                  1. When true, declares that write operations to be disallowed
     :show-sql    (Booleanl default true)
                   1. If true, SQL statements should be printed.
+    :show-sql-fn (function, default: fn that prints SQL using `println`)
+                  You may like to rebind this to fn that prints via a logger
     :clj-to-db   (function, default: to string, replace '-' => '_')
                   1. Dictates how are identifiers converted from Clojure to
                      the Database.
   <groupId>org.bituf</groupId>
   <artifactId>clj-dbspec</artifactId>
   <packaging>jar</packaging>
-  <version>0.2-SNAPSHOT</version>
+  <version>0.2</version>
   <name>Clj-DBSpec</name>
   <description>
 Clj-DBSpec is a common configuration spec for dealing with relational databases
     <dependency>
       <groupId>org.bituf</groupId>
       <artifactId>clj-dbcp</artifactId>
-      <version>0.4</version>
+      <version>0.5</version>
       <scope>test</scope>
     </dependency>
   </dependencies>