- Stop using deprecated implementation of clojure.java.jdbc (scttnlsn)
- Return number of updated rows
- Add support for read-only transactions and transactions with a specific isolation level (ls4f)
- Add support for joining entities using a specific join type (starks67)
- Fix regression in 0.3.2 causing NPE when fetching relations and default connection hasn't been set
- Fix exception with multiple raws in where clause
- Use db from main query when fetching children with no db specified
- Support EXISTS keyword (pocket7878)
- Add helper for creating FirebirdSQL connection (ls4f)
- Fix concurrency issue on with-db (David Raphael)
- Use bind parameters for boolean values
- Fix error message for missing db connection when lazily fetching subentities
- SQL generation is now deterministic across Clojure versions
- Fix for using wrong delimiters in JOIN query for has-one and belongs-to relations
- Fix join columns used for fetching belongs-to relation when subentity is not using default primary key and has transform fn defined
- Fix for losing db connection or using wrong connection when lazily fetching subentities (David Raphael)
No changes since the previous release candidate.
- Ensure fields are not overriden when using transform fn on subentity of one-to-one relation
- Upgrade java.jdbc to 0.3, use deprecated namespace (MerelyAPseudonym)
- Add support for HP Vertica (Chris Benninger)
- Add transform fn support to one-to-one relations (Immo Heikkinen)
- Options for IdleConnectionTestPeriod and TestConnectionOnCheckin (federkasten)
- defonce config options to prevent issues with MySQL delimiters (cosmi)
- README cleanup (writa)
- Can now run a test query on checkout for connection verification (joekarl)
- Introduced alias-delimiter option to choose word for alias (ktsujister and Ringman)
- Fixed issue with set-fields not applying db delimiters (mjtodd)
- Made korma.sql.engine/bind-params public for incubator (sgrove)
- support nested
korma.db/transaction
calls (josephwilk) - integrated with TravisCI
- MS Access db config helper function (Vadim Geshel)
- bugfix in
do-query
w/ options (David Kettering)
- Add db-spec creator for ODBC connections (David Kettering)
- Add stdev aggregate (David Kettering)
- Parenthesize multiple JOIN expressions (David Kettering)
- Use optional AS keyword in alias clauses (David Kettering)
- Use <> instead of != in relational comparisons (David Kettering)
- Connection pool always returns a connection pool, use :make-pool? option to disable pool creation
- Allow opting out of the connection pool creation
- Allow sending other kinds of sb specs straight through to java.jdbc
- transactional wrapping for multiple databases (Timo Westkämper)
- fixing macro expansion bug introduced in recent beta (Moritz Heidkamp, Joshua Eckroth)
- Can use mysql/count so that (count :*) works correctly on MySQL (Tsutomu YANO)
- Added
union
,union-all
, andintersect
queries
- Support for
many-to-many
relationships (Dennis Roberts) - Fixed table-name delimiting, and at the same time, support Postgres' schema and
queries covering multiple databases.
See: korma#105 (Tsutomu YANO)
- Set Min/Max Connection Pool Size from db spec (Nick Zalabak)
- Merge defaults instead of overwriting them (Jim Crossley)
- DB specs can reference existing datasources or JNDI references (Jim Crossley)
- Added
between
predicate (Charles Duffy) - Corrected default port for MS SQL Server (Alexander Zolotko)
- Added basic
having
support (Mike Aldred) - Added
korma.db/h2
to create a database specification for a h2 database (Juha Syrjälä) - Insert statements with empty values turn into SQL of "DO 0", a NOOP
- Empty where clauses are ignored, instead of creating illegal SQL
started on Dec 27, 2012