Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12 лет назад
12 лет назад
12 лет назад
12 лет назад
12 лет назад
12 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. ## Overview
  2. iciql **is**...
  3. - a model-based, database access wrapper for JDBC
  4. - for modest database schemas and basic statement generation
  5. - for those who want to write code, instead of SQL, using IDE completion and compile-time type-safety
  6. - small (200KB) with debug symbols and no runtime dependencies
  7. - pronounced *icicle* (although it could be French: *ici ql* - here query language)
  8. - a friendly fork of the H2 [JaQu][jaqu] project
  9. iciql **is not**...
  10. - a complete alternative to JDBC
  11. - designed to compete with more powerful database query tools like [jOOQ][jooq] or [Querydsl][querydsl]
  12. - designed to compete with enterprise [ORM][orm] tools like [Hibernate][hibernate] or [mybatis][mybatis]
  13. ### Example Usage
  14. <table class="table">
  15. <tr>
  16. <th>iciql</th><th>sql</th>
  17. </tr>
  18. <tr>
  19. <td>
  20. %BEGINCODE%
  21. Product p = new Product();
  22. List<Product> restock = db.from(p).where(p.unitsInStock).is(0).select();
  23. List<Product> all = db.executeQuery(Product.class, "select * from products");
  24. %ENDCODE%
  25. </td><td>
  26. <br/>
  27. select * from products p where p.unitsInStock = 0<br/>
  28. select * from products
  29. </td>
  30. </tr>
  31. </table>
  32. ### Supported Databases (Unit-Tested)
  33. - [H2](http://h2database.com) ${h2.version}
  34. - [HSQLDB](http://hsqldb.org) ${hsqldb.version}
  35. - [Derby](http://db.apache.org/derby) ${derby.version}
  36. - [MySQL](http://mysql.com) ${mysql.version}
  37. - [PostgreSQL](http://postgresql.org) ${postgresql.version}
  38. Support for others is possible and may only require creating a simple "dialect" class.
  39. ### Java Runtime Requirement
  40. iciql requires a Java 6 Runtime Environment (JRE) or a Java 6 Development Kit (JDK).
  41. ### License
  42. iciql is distributed under the terms of the [Apache Software Foundation license, version 2.0][apachelicense]
  43. [jaqu]: http://h2database.com/html/jaqu.html "H2 JaQu project"
  44. [orm]: http://en.wikipedia.org/wiki/Object-relational_mapping "Object Relational Mapping"
  45. [jooq]: http://jooq.sourceforge.net "jOOQ"
  46. [querydsl]: http://source.mysema.com/display/querydsl/Querydsl "Querydsl"
  47. [hibernate]: http://www.hibernate.org "Hibernate"
  48. [mybatis]: http://www.mybatis.org "mybatis"
  49. [github]: http://github.com/gitblit/iciql "iciql git repository"
  50. [googlecode]: http://code.google.com/p/iciql "iciql project management"
  51. [apachelicense]: http://www.apache.org/licenses/LICENSE-2.0 "Apache License, Version 2.0"