Hi:
I've received this Internal Server Error from Hunchentoot:
---8<---8<---8<---8<---
Internal Server Error
While accessing database #<POSTGRESQL-SOCKET-DATABASE clio/dedalo_gam/
dedalo_gam OPEN {1004890221}>
with expression "SELECT
ACTUACION.OPERARIO_ID,ACTUACION.ID,ACTUACION.FECHA_INICIO,ACTUACION.FECHA_FIN,ACTUACION.CLIENTE_ID,ACTUACION.CLIENTE
FROM ACTUACION ORDER BY ACTUACION.CLIENTE ASC LIMIT 0 OFFSET 0":
Error POSTGRESQL-ERROR / ERROR: no existe la columna
actuacion.cliente en carácter 107
has occurred.
Hunchentoot 1.0.0 (SBCL 1.0.27.debian) at localhost:8080
---8<---8<---8<---8<---
The definition of the view class is this:
---8<---8<---8<---8<---
(clsql:def-view-class actuacion ()
((cliente :accessor actuacion-cliente
:db-kind :join
:db-info (:join-class cliente
:home-key cliente-id
:foreign-key id
:set nil))
(cliente-id
:type integer
:initarg :cliente-id)
(fecha-fin :accessor fecha-fin
:type universal-time
:initarg :fecha-fin)
(fecha-inicio :accessor fecha-inicio
:type universal-time
:initarg :fecha-inicio)
(id :accessor id
:db-kind :key
:db-constraints (:not-null :unique)
:type integer
:initarg :id)
(operario :accessor actuacion-operario
:db-kind :join
:db-info (:join-class operario
:home-key operario-id
:foreign-key id
:set nil))
(operario-id
:type integer
:initarg :operario-id))
(:base-table actuacion))
---8<---8<---8<---8<---
So it seems that weblocks is not aware of the join-class (I'm using
clsql 4.0.4). Am I forgetting something?
Thanks in advance,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---