aboutsummaryrefslogtreecommitdiffstats
path: root/src/site/index.mkd
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-11-10 11:59:09 -0500
committerJames Moger <james.moger@gitblit.com>2014-11-10 21:46:37 -0500
commita6df2de41953e10db1527e54acd734c0f0a1fa28 (patch)
treead3a86dc2a54cf3ac9418e0e5e86f396f4e1dfb0 /src/site/index.mkd
parentc1d81bcdfc948b417964c6b69be2ee5801e5e1c9 (diff)
downloadiciql-a6df2de41953e10db1527e54acd734c0f0a1fa28.tar.gz
iciql-a6df2de41953e10db1527e54acd734c0f0a1fa28.zip
Implement DAO externalized statement loading based on runtime Mode
Diffstat (limited to 'src/site/index.mkd')
-rw-r--r--src/site/index.mkd8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/site/index.mkd b/src/site/index.mkd
index b9fc549..1c742f6 100644
--- a/src/site/index.mkd
+++ b/src/site/index.mkd
@@ -5,7 +5,7 @@ iciql **is**...
- a model-based, database access wrapper for JDBC
- for modest database schemas and basic statement generation
- for those who want to write code, instead of SQL, using IDE completion and compile-time type-safety
-- small (225KB) with debug symbols and no runtime dependencies
+- small (<250KB) with debug symbols and no runtime dependencies
- pronounced *icicle* (although it could be French: *ici ql* - here query language)
- a friendly fork of the H2 [JaQu][jaqu] subproject
@@ -66,7 +66,7 @@ public interface MyDao extends Dao {
@TypeAdapter(InvoiceAdapterImpl.class)
public @interface InvoiceAdapter { }
-// Crate a DAO instance with your Db and work more clearly
+// Create a DAO instance with your Db and work more clearly
try (Db db = Db.open("jdbc:h2:mem:iciql")) {
MyDao dao = db.open(MyDao.class);
@@ -91,6 +91,10 @@ This is very useful for mapping your field domain models to SQL without having t
You might use this to take advantage of the underlying database's type system. For example, PostgreSQL ships with the compelling JSON/JSONB/XML data types. Iciql provides String and Object adapters to facilitate use of those data types.
+### runtime mode support
+
+Mode support allows you to tweak the behavior of your `@TypeAdapter` and `DAO` implementations to adapt to runtime conditions such as developing on a different database than you deploy on.
+
### Supported Databases (Unit-Tested)
- [H2](http://h2database.com) ${h2.version}
- [HSQLDB](http://hsqldb.org) ${hsqldb.version}