Re: Vertical inheritance with relationships

2012-09-19 Thread Andrus Adamchik
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

Vertical inheritance with relationships

2012-09-19 Thread Ramiro Aparicio
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

Re: 3.1B1 Validation Exception

2012-09-19 Thread John Huss
That doesn't sound like the right behavior. Can you create small example that reproduces the problem? On Wednesday, September 19, 2012, wrote: > Is this a bug or am I doing something wrong ? > > I'm using 3.1B1 and getting a validation exception BEFORE my onPrePersist > lifecycle method is calle

3.1B1 Validation Exception

2012-09-19 Thread dollj
Is this a bug or am I doing something wrong ? I'm using 3.1B1 and getting a validation exception BEFORE my onPrePersist lifecycle method is called ? Caused by: org.apache.cayenne.validation.ValidationException: [v.3.1B1 May 28 2012 20:59:56]org.apache.cayenne.access.ObjectStoreGraphDiff.validateA