aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/sql
AgeCommit message (Collapse)Author
2010-01-20Move source files into Maven-style directory structure.Stuart Sierra
2009-12-14Add Factory as a method of obtaining open database connections, fixes #50Steve Gilardi
2009-06-06sql.internal: use enhanced throwf from exceptscgilardi
2009-06-06sql.test: use new with- indentation from Phil Hagelbergscgilardi
2009-05-11sql: support JNDI for specifying a database, with-connection, db-specscgilardi
2009-04-27sql: improve error reporting on SQLException including BatchUpdateExceptionscgilardi
2009-04-09sql.internal: use java-utils/as-propertiesscgilardi
2009-04-09breaking change: rename the-str to as-strStuart Halloway
2009-04-05update ns form for sql.internalscgilardi
2009-04-05java-util: the-str and with-system-propertiesStuart Halloway
2009-03-09sql.test: fix comment for insert-records-fruit (take 2)scgilardi
2009-03-09sql.test: fix comment for insert-records-fruitscgilardi
2009-03-09sql: add insert-records and test for itscgilardi
2009-01-26sql.internal: with-query-results clearer error message when code needs ↵scgilardi
updating from query as sql string to query as vector containing sql string and params
2009-01-21sql: simplify transaction* furtherscgilardi
2009-01-21sql: in transaction*, separate simple nested case from outermost casescgilardi
2009-01-21sql: correct docs for transact(*) regarding rollback-onlyscgilardi
2009-01-21sql.internal: extract get-connection code into its own functionscgilardi
2009-01-21sql: improve conditional for loading driver classscgilardi
2009-01-21sql: add :datasource as a way to specify a database to with-connectionscgilardi
2009-01-19sql: provide find-connection, returns current connection or nilscgilardi
2009-01-19sql: fix updating of :rollback-onlyscgilardi
2009-01-19sql: restore rollback flag to its default after transaction completesscgilardi
2009-01-18sql: add support for rollback-only to transaction, only wrap the outermost ↵scgilardi
transaction's exception with an exception with message 'transaction rolled back'
2009-01-18sql: wrap transaction* in io! to disallow interleaving stm transactions with ↵scgilardi
sql transactions
2009-01-14sql: add update-or-insert-values & test for it, refine doc strings, remove ↵scgilardi
unnecessary uses of apply
2009-01-14sql* updates to doc strings, update-values, parameterized queriesscgilardi
2009-01-08sql.test use -> in db-get-tablesscgilardi
2009-01-04sql: add db-get-tablesscgilardi
2009-01-04sql: make 'connection' public, a function that returns the current database ↵scgilardi
connection or throws if there is none
2009-01-04sql.clj: simplify macros after some discussions on #clojure, move ↵scgilardi
(connection) entirely into internal, change to clojure.lang.RT/loadClassForName for class loading, will move back if there's trouble
2008-12-16update my contribs to Eclipse Public License as requestedscgilardi
2008-11-16delete my contribs at their pre-SVN1088 locationsscgilardi
2008-11-12first cut at changes for Clojure SVN 1094+, my contribs and ones they depend ↵scgilardi
on now load again
2008-10-17sql.clj: change to use Class/forName to register jdbc driversscgilardi
2008-10-06sql.interal: minor fixesscgilardi
2008-10-06sql: minor cleanupsscgilardi
2008-10-06sql: formattingscgilardi
2008-10-06sql: move internal defs to their own proper namespacescgilardi
2008-10-06sql: updates to be more modular, explicit transactions that nest, db-spec as ↵scgilardi
data rather than as a function, with-results changed to bind a seq of results rather than records repeatedly, see clojure.contrib.sql.test for new examples.
2008-10-04sql: make column specs be vectors to allow more than just name and type ↵scgilardi
naturally
2008-10-04sql: remove superfluous the-str callscgilardi
2008-10-04allow keywords for table names, column names, and types, move internal code ↵scgilardi
into its own file
2008-10-03improved support for additional options in sql/connection. Based on a ↵scgilardi
suggestion from Tom Emerson.
2008-09-14sql: add insert-values, insert-rowsscgilardi
2008-09-14sql: revamped interfaces, fixed bugs, improved examplesscgilardi
2008-09-13sql: move test to sql.testscgilardi
2008-09-09clojure/ns -> nsscgilardi
2008-08-29updates to use clojure/nsscgilardi
2008-08-16move namespace-directory-aware libs into src/clojure/contribscgilardi