You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

05_releases.mkd 2.2KB

Release History

Current Release

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

  • initial release (API v1)

API changes compared to JaQu from H2 1.3.157 sources

  • deprecated model class interface configuration
  • added Db.open(Connection conn) method, changed constructor to default scope
  • added Db.registerDialect static methods to register custom dialects
  • added Query.where(String fragment, Object… args) method to build a runtime query fragment when compile-time queries are too strict
  • added Db.executeQuery(String query, Object… args) to execute a complete sql query with optional arguments
  • added Db.executeQuery(Class modelClass, String query, Object… args) to execute a complete sql query, with optional arguments, and build objects from the result
  • added Db.buildObjects(Class modelClass, ResultSet rs) method to build objects from the ResultSet of a plain sql query
  • added ThreadLocal<T> com.iciql.Utils.newThreadLocal(final Class<? extends T> clazz) method
  • added optional console statement logger and SLF4J statement logger
  • throw IciqlException (which is a RuntimeException) instead of RuntimeException
  • synchronized Db.classMap for concurrent sharing of a Db instance
  • Database/table versioning uses the _iqversions table, the jq_versions table, if present, is ignored
  • Changed the following class names:
    • org.h2.jaqu.Table => com.iciql.Iciql
    • org.h2.jaqu.JQSchema => com.iciql.IQSchema
    • org.h2.jaqu.JQDatabase => com.iciql.IQDatabase
    • org.h2.jaqu.JQIndex => com.iciql.IQIndex
    • org.h2.jaqu.JQTable => com.iciql.IQTable
    • org.h2.jaqu.JQColumn => com.iciql.IQColumn
  • Changed the following method names:
    • org.h2.jaqu.Table.define() => com.iciql.Iciql.defineIQ()
    • QueryConditon.bigger => QueryCondition.exceeds
    • QueryConditon.biggerEqual => QueryCondition.atLeast
    • QueryConditon.smaller => QueryCondition.lessThan
    • QueryConditon.smallEqual => QueryCondition.atMost

Older Releases

none