1
0
miroir de https://github.com/gitblit/iciql.git synchronisé 2024-09-02 05:58:33 +02:00
iciql/docs/00_index.mkd
2011-08-03 22:01:42 -04:00

2.4 KiB

Overview

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 (100KB) with no runtime dependencies
  • pronounced icicle (although it could be French: ici ql - here query language)
  • a friendly fork of the H2 JaQu project

iciql is not...

  • a complete alternative to JDBC
  • designed to compete with more powerful database query tools like jOOQ or Querydsl
  • designed to compete with enterprise ORM tools like Hibernate or mybatis

Example Usage

iciqlsql
%BEGINCODE% Product p = new Product(); List<Product> restock = db.from(p).where(p.unitsInStock).is(0).select(); List<Product> all = db.executeQuery(Product.class, "select * from products"); %ENDCODE%
select * from products p where p.unitsInStock = 0
select * from products

Supported Databases

H2

Support for others is planned and should only require creating a simple "dialect" class.

Java Runtime Requirement

iciql requires a Java 6 Runtime Environment (JRE) or a Java 6 Development Kit (JDK).

Current Release

%VERSION% (zip|jar)   released %BUILDDATE%

issues, binaries, & source @ Google Code
sources @ Github

License

iciql is distributed under the terms of the Apache Software Foundation license, version 2.0