Re: Trouble with modeling vertical inheritance

2016-07-27 Thread Andrus Adamchik
Just applied a pull request that fixes the issue to master per these links: https://lists.apache.org/thread.html/6561a3d616680468e36e173ad016c1b683024b12a35dfd5cae13c790@%3Cuser.cayenne.apache.org%3E https://issues.apache.org/jira/browse/CAY-2070 https://github.com/apache/cayenne/pull/92 Andrus

Re: Trouble with modeling vertical inheritance

2016-03-30 Thread Simon Farner
I will try this today. Reading it just in an mail I am still a bit confused about what relationships are ultimate needed and which need to be deleted, but I figure this will sort itself out when I get to play around with it this evening Thank you for helping me out to everybody. If you eventually

Re: Trouble with modeling vertical inheritance

2016-03-29 Thread Andrus Adamchik
> On Mar 28, 2016, at 10:22 PM, Simon Farner wrote: > >> >> Ok, that's cayenne.xml. Do you also have a *.map.xml? That's the main >> ORM file. >> > Offcourse I can provide you with this file. I should now be able to get > it from https://www.dropbox.com/s/bdc3xg8qjifhlpf/datamap.map.xml?dl=0

Re: Modeling vertical inheritance

2016-03-29 Thread Michael Gentry
Hi Simon, It is probably OK (Cayenne Milestones/Betas tends to be relatively stable, but there is a greater chance for issues). I was more concerned with a 3.1->4.0M3 issue being present, but since you started out with 4.0M3, best to stick with it. We'll help you figure out the problem you are h

Re: Modeling vertical inheritance

2016-03-29 Thread Andrus Adamchik
It is totally ok to use 4.0.M3. I am still going to look at the DataMap. Andrus > On Mar 29, 2016, at 4:07 PM, Simon Farner wrote: > > Hello Michael > > I don't know if it worked in 3.1 I would have to try it out. I am > fairly new to Cayenne, not new to programming Java, nor working with > da

Re: Modeling vertical inheritance

2016-03-29 Thread Simon Farner
Hello Michael I don't know if it worked in 3.1 I would have to try it out. I am fairly new to Cayenne, not new to programming Java, nor working with databases, but new to Cayenne. I went through the mailing list and people were reporting that they work in production with the 4.1.M3 modeler, so I f

Re: Modeling vertical inheritance

2016-03-29 Thread Michael Gentry
Hi Simon, Is this something that worked correctly in 3.1 but not in 4.0M3? I'm mainly asking to find out if a validation bug was introduced in 4.0M3. While we love people to try out our milestone releases, they are still under active development. 3.1 is the stable release. Thanks, mrg On Sun

Re: Trouble with modeling vertical inheritance

2016-03-28 Thread Simon Farner
Hello again > We fixed a few similar issues in M3: > > https://issues.apache.org/jira/browse/CAY-2047 > https://issues.apache.org/jira/browse/CAY-2049 > > wonder if there are more to deal with. If I can helpe I'll provide all the info you need. Just ask for what you need. >  > Ok, that's cayenn

Re: Trouble with modeling vertical inheritance

2016-03-28 Thread Andrus Adamchik
Hi again, > What I am trying to achive is this: > https://cayenne.apache.org/docs/3.0/modeling-vertical-inheritance.html The > section in the 4.0 Version of the Guid is empty so I assumed this is still > valid. Yes, it is. > I strugle with the relationships between superclass table and subcl

Re: Modeling vertical inheritance

2016-03-28 Thread Andrus Adamchik
FWIW, this message also came through moderation. (Probably because of the the different From: address compared to your original subscription). A. > On Mar 28, 2016, at 4:19 PM, Farner Simon (farnesim) > wrote: > > Hello Ari > > Thank you for replying. I worked through the tutorial bevor we

Re: Modeling vertical inheritance

2016-03-28 Thread Farner Simon (farnesim)
Hello Ari Thank you for replying. I worked through the tutorial bevor we picked Cayenne as ORM. I allready have a working mapping that has allready been deployed to our dev environment and MySQL server. Thus fare everything went smooth. What I am trying to achive is this:  https://cayenne.apach

Re: Trouble with modeling vertical inheritance

2016-03-28 Thread Andrus Adamchik
Simon, you are not subscribed to the list I guess. So you are missing the replies to your original message. Please check the archives. There were some: http://www.mail-archive.com/user@cayenne.apache.org/msg09239.html Andrus > On Mar 28, 2016, at 3:12 PM, Simon Farner wrote: > > Hello everybo

Trouble with modeling vertical inheritance

2016-03-28 Thread Simon Farner
Hello everybody I am trying to get the book/ebook/paper_book example to work with Cayenne Modler 4.0.M3, but it wont validate. This is the third time I try this and I really need to get this working now, I am not very keen on a road block meeting and switching to another ORM. I strugle with the r

Re: Modeling vertical inheritance

2016-03-27 Thread Aristedes Maniatis
On 28/03/2016 6:51am, Simon Farner wrote: > I am trying to get the book/ebook/paper_book example to work with > Cayenne Modler 4.0.M3, but it wont validate. This is the third time I > try this and I really need to get this working now, I am not very keen > on a road block meeting and switching to a

Modeling vertical inheritance

2016-03-27 Thread Simon Farner
Hello everybody I am trying to get the book/ebook/paper_book example to work with Cayenne Modler 4.0.M3, but it wont validate. This is the third time I try this and I really need to get this working now, I am not very keen on a road block meeting and switching to another ORM. I strugle with the r