Commit Graph

10 Commits

Author SHA1 Message Date
mdb 3a283a16e1 Trimmed trailing whitespace.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2355 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-04 12:37:23 +00:00
zell 2da510c744 Don't try to build an UPDATE statement at all if no key were set on the record sent into store(). Also throw a sensible (if scaredy-cat) exception rather than an NPE if no WHERE clause were given to an UPDATE. We probably do want to allow rampant nutty 20,000-row UPDATEs at some point, but not because of an accidental null key.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2277 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-03-10 22:28:11 +00:00
mdb c5d9fbe949 None of these constructors actually throw a PersistenceException, so we'll go
ahead and not declare that they do.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2272 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-02-07 19:59:54 +00:00
mdb 8a4c7ba54f El Giganto Depot database dialects support from Zell. PostgresSQL here we
come. Automatic schema migration is currently disabled and remains to be
dialectified.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2136 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-07-25 20:53:40 +00:00
mdb 4747fa8f68 Header updates.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2132 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-07-13 00:20:09 +00:00
mdb 0e7f8d0e43 Another Zell Depot patch:
- refactoring query construction;
- modified collection lookup to first look up the matching primary keys, then
check the cache for hits then look up the remainder from the database;
- other small renamery and cleanup.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2129 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-07-12 20:02:54 +00:00
mdb 8490e3129f git-svn-id: https://samskivert.googlecode.com/svn/trunk@2116 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2007-06-18 23:14:26 +00:00
mdb a63eef36a6 Modifications to clone() on insertion and extraction from cache, from Zell. A
whole bunch of type safety jockeying and concretification of QueryClause by
yours truly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2035 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-16 05:30:02 +00:00
mdb 1d86a5e5cf Caching support from Zell. Hard drives the world round rejoice!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2030 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-11 00:43:08 +00:00
mdb 162deee43d A whole heap of new Depot stuff from Zell. Clauses, operators, expressions, oh
my!


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1966 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-11-08 02:34:42 +00:00