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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
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
On Tue, Apr 1, 2014 at 5:54 AM, Andrus Adamchik wrote:
> I don't think we've ever used the term "flushing", so Google won't show it.
> But transaction control is definitely there. If I understand this correctly
> (and translating to Cayenne terms), you need a way to have an open
> transaction (
The last time this was brought up back in 2010, the lack of full
> vertical inheritance support was an issue, and there was also the
> question of handling JPA flush calls.
>
> When I looked at the 3.0 docs, it seems like we now support vertical
> inheritance fully, although I
My primary client is once again considering switching from JPA to Cayenne.
The last time this was brought up back in 2010, the lack of full
vertical inheritance support was an issue, and there was also the
question of handling JPA flush calls.
When I looked at the 3.0 docs, it seems like we now
u 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 inheritance is just not supported at all :( at least not
ibió:
>> 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...
>>
>>> May
e I am just doing everything the wrong way, butI am starting to think that
vertical inheritance is just not supported at all :( at least not it if has
relationships, I am willing to help testing but even I will love to contribute,
my boss won't allow me to work full time on this to be a
ove to
> horizontal inheritance even it is not what I would like to do :(
No actually your mapping is correct. And I don't see problems with vertical
inheritance per se, but rather with the flattened relationships and attributes
present in common inheritance mappings. There are certainly rough
sionClient (and their
attributes) as I can not create a relationship to them. In modeller
session table there is such relations, but in classes there aren't and
can not be created.
Maybe I am just doing everything the wrong way, butI am starting to
think that vertical inheritance is jus
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 fancy DI
module code in "cayennehacks"…
Take a look at Main.java and cayennehacks package. The "hacks" is what it takes
now to make vertical inheritance relationships work.
If I try to creat a entity relationship on User I must set the target to
Session entity and
t should work
> with 3.1B1 as well. And for 3.0.x, you can simply "inline" the fancy DI
> module code in "cayennehacks"…
>
> Take a look at Main.java and cayennehacks package. The "hacks" is what it
> takes now to make vertical inheritance relations
inst 3.2M1-SNAPSHOT (SVN trunk), but it should work
with 3.1B1 as well. And for 3.0.x, you can simply "inline" the fancy DI module
code in "cayennehacks"…
Take a look at Main.java and cayennehacks package. The "hacks" is what it takes
now to make vertical inheritance re
, but there's little point in that. After all the only
reason to use the new Modeler is if you are planning to use the new runtime.
I'll try to find time to get to the rest of your message. I rarely if ever use
vertical inheritance, but I may try out your scenario.
Andrus
Hi again,
O
After all the only
reason to use the new Modeler is if you are planning to use the new runtime.
I'll try to find time to get to the rest of your message. I rarely if ever use
vertical inheritance, but I may try out your scenario.
Andrus
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
> The problem is associations, especially to-many associations.
> If I have a to-many association on a child entity, I set up
> its DbRelationship on the child table, and use a flattened
> relationship to access it. But then the modeler claims that
> my relationship is read-only (presumably becaus
Hey guys--
I'm trying to grok the vertical inheritance method and have a
question/concern:
I tried modeling a couple of tables using the vertical method. I have 3
tables now:
ASSET
ASSET_MASTER
ASSET_VERSION
I created everything according to the docs.. Set up properties and
relationshi
Hi all,
I've used Cayenne on few projects, and I'm now attempting to use inheritance
for the first time. Whilst the current scope is fairly limited, I'm expecting
that the inheritance tree will grow considerably in the future and thus am
trying to use some amount of vertical
Yes! I've missed this note[1]:
> root table ("Table/View" for subclasses is still "BOOK"). [2]
>
Regards,
Gilberto
[1] http://cayenne.apache.org/doc/modeling-vertical-inheritance.html
[2]
http://dl.dropbox.com/u/9093640/TableViewOfSubClassesMustBeTheRootT
.
Bombero Ossa #1010, oficina 800,
+56-2-3729770, Movil: +56-9-3199305
Santiago, Chile
- Mensaje original -
De: "Andrus Adamchik"
Para: user@cayenne.apache.org
Enviados: Miércoles, 18 de Mayo 2011 19:55:26
Asunto: Re: Help or sample on vertical inheritance
Ok, here is a modified ve
Ok, here is a modified version of that DataMap that has vertical inheritance
mapped correctly. Per
http://cayenne.apache.org/doc30/modeling-vertical-inheritance.html
v-inheritance in Cayenne is the same as single-table, only with flattened
attributes to child tables. So the main change that I
ou
> Hans
>
> Hans Poo, Welinux S.A.
> Bombero Ossa #1010, oficina 800,
> +56-2-3729770, Movil: +56-9-3199305
> Santiago, Chile
>
>
> - Mensaje original -
> De: "Andrus Adamchik"
> Para: user@cayenne.apache.org
> Enviados: Viernes, 13 de M
uot;
Para: user@cayenne.apache.org
Enviados: Viernes, 13 de Mayo 2011 6:51:55
Asunto: Re: Help or sample on vertical inheritance
Could you please post mapping XML? There were a few snags with vertical
inheritance. Could be one of them.
Andrus
On May 12, 2011, at 8:10 PM, Hans C. Poo wrote:
>
s
Hans Poo, Welinux S.A.
Bombero Ossa #1010, oficina 800,
+56-2-3729770, Movil: +56-9-3199305
Santiago, Chile
- Mensaje original -
De: "Andrus Adamchik"
Para: user@cayenne.apache.org
Enviados: Viernes, 13 de Mayo 2011 6:51:55
Asunto: Re: Help or sample on vertical inheritance
Cou
Could you please post mapping XML? There were a few snags with vertical
inheritance. Could be one of them.
Andrus
On May 12, 2011, at 8:10 PM, Hans C. Poo wrote:
> Hi,
>
> I'm using stable cayenne 3.0.1.
>
> Following the tutorial in vertical inheritance i've been u
Hi,
I'm using stable cayenne 3.0.1.
Following the tutorial in vertical inheritance i've been unable to make
vertical inheritance work.
I've modified the tutorial app adding a Programmar as Child of Artist.
It have the following error:
Exception
this message in context:
http://cayenne.195.n3.nabble.com/vertical-inheritance-tp4207p1644921.html
Sent from the Cayenne - User mailing list archive at Nabble.com.
Vertical inheritance is not natively supported by Cayenne yet
(although it will need to be to be JPA-compliant, so it'll happen
sooner rather than later).
I've made it work by creating custom templates which override
setPersistenceState() and then being careful how I construct quer
Hi
In our project we have tried using inheritance, this is the
simplification of the map we are using:
isMandatory="true"/>
className="ish.oncourse.server.cayenne.AbstractNode"
clientClassName="ish.oncourse.cayenne.Abs
44 matches
Mail list logo