Uppss sorry I was refering to single table, I read the docs some time
ago and I think horizontal and single table got merged on my mind :D
El 10/10/2012 13:33, Andrus Adamchik escribió:
Hmm… I am confused about you mentioning horizontal inheritance. AFAIK we never
claimed that Cayenne would su
Hmm… I am confused about you mentioning horizontal inheritance. AFAIK we never
claimed that Cayenne would support that:
http://cayenne.apache.org/doc/modeling-inheritance.html
> I think that you are proposing using a non abstract session_log
It can be abstract if you want.
> and just use rel
Hi Andrus,
Nice you were able to track the error, I finally yesterday changed the
model to be horizontal inheritance and it seems it is working. I am not
sure of your proposed changes to the model, I think that you are
proposing using a non abstract session_log and just use relationships to
s
Hi Ramiro,
based on the model that you sent me earlier, I was able to reproduce another
error and identify its cause:
https://issues.apache.org/jira/browse/CAY-1746
So slowly getting there...
> Maybe I am just doing everything the wrong way, butI am starting to think
> that vertical inheritan
I found another error in this case, if Session has a couple of
attributes and a relationship on his own, you can not recover Session
from the related entities.
In my case Session it is related to ActivityLog so what I am doing here
is just calling activityLog.getToSession() and this raises an
i
>
> In our model the session table is a MYSQL autoincrement field so it is marked
> as database generated on Session table, but as sessionWeb and sessionClient
> rely on Session id they have PK strategy as default, but on commit I get an
> error creating the sessionWeb row as id is null.
The f
Hi Andrus,
First of all thank you for all the effort and the fast reply time, I
really appreciate your help with this issue.
Then the bad news after some decompiling to understand how to load
modules on web containers I was able to configure everything but it
seemed that still did not want to
Oh, and actually I think we can fix it in the interim per
https://issues.apache.org/jira/browse/CAY-1744 … The "hack" in the example
makes me blush :)
Andrus
On Oct 6, 2012, at 12:04 AM, Andrus Adamchik wrote:
> Hi Ramiro,
>
> Finally I have something specific for you:
> https://issues.apa
Hi Ramiro,
Finally I have something specific for you:
https://issues.apache.org/jira/browse/CAY-1743
In the source code attached to this Jira, I am simply blocking "readOnly"
status of all model relationships. The example is a completely self-conatined
project. It is built against 3.2M1-SNAPSH
El 19/09/2012 22:12, Andrus Adamchik escribió:
On Sep 19, 2012, at 11:24 AM, Ramiro Aparicio
wrote:
BTW I tried to do everything with 3.0.2 modeller and finally updated to 3.1.B1
modeller, Will the model created with 3.1.B1 modeller work with 3.0.2 runtime?
(I want to update the runtime but
On Sep 19, 2012, at 11:24 AM, Ramiro Aparicio
wrote:
> BTW I tried to do everything with 3.0.2 modeller and finally updated to
> 3.1.B1 modeller, Will the model created with 3.1.B1 modeller work with 3.0.2
> runtime? (I want to update the runtime but just in case I can not do it).
No, once y
Hello,
I am struggling with some problems mapping vertical inheritance clases:
I have 5 classes in my business model:
Session
ClientSession inherits from Session
WebSession inherits from Session
User
Device
Using vertical inheritance I have all 5 tables and I have no problem
mapping ClientSes
12 matches
Mail list logo