summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2009-01-07 23:02:28 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2009-01-07 23:02:28 +0100
commit6d7a7e2314987dc113b7f3888bcc4d07e7b2781a (patch)
tree3edd9cc7ec06be2e40929ae9a484f72022dbbcd6
parent3363a2ebe095a91980472a751503c3dda6f74688 (diff)
Fix object-relational mapping for comments.
Previously, a SELECT would take an instance of each comment for each journal entry, which would make the number of comments explode to a ridiculous degree. darcs-hash:8e686d87e18f5d09cc613792da9dd5b284296b14
-rw-r--r--journal-content.lisp3
1 files changed, 1 insertions, 2 deletions
diff --git a/journal-content.lisp b/journal-content.lisp
index f74a45f..b0dd458 100644
--- a/journal-content.lisp
+++ b/journal-content.lisp
@@ -88,8 +88,7 @@
:db-info (:join-class journal-entry
:home-key entry-id
:foreign-key id
- :set nil
- :retrieval :immediate))
+ :set nil))
(uuid :type (string 36)
:db-constraints :not-null
:accessor uuid-of