r10325: * sql/oodml.lisp: Use explicit database in fault-join-target-slot
[clsql.git] / sql / oodml.lisp
index a5b080f01f15f1007c5be49b0513df84b113dbf9..d76712c2d6e7726c65b91675fb5ab65fc29a71c9 100644 (file)
                                :attribute (gethash :home-key tdbi) 
                                :table jc-view-table))
                          :where jq
-                         :result-types :auto)))
+                         :result-types :auto
+                         :database (view-database object))))
           (mapcar #'(lambda (i)
                       (let* ((instance (car i))
                              (jcc (make-instance jc :view-database (view-database instance))))