RE: General design question-nanning/prevayler
Jon Tirsén <[email protected]> Thu, 13 Mar 2003 08:25:36 +0100
| Newsgroups | gmane.comp.java.nanning.devel |
|---|---|
| Message-ID | <000201c2e931$be810130$6c4a59d5@jon> |
Hmm... Please explain in more detail how to reproduce this. Is this correct: You have interface A and B where A extends B, there's a method in B, say B.create() that is tagged "@transaction", you create an aspect-object with one mixin that has A as interface and AImpl as target. When calling A.create() the call does not result in a prevayler-command? > -----Original Message----- > From: [email protected] [mailto:nanning- > [email protected]] On Behalf Of saimon > Sent: Thursday, March 13, 2003 12:35 AM > To: [email protected] > Subject: Re: [Nanning-developer] General design question-nanning/prevayler > > > > Jon Tirsén wrote: > > >>What I was actually refering to is that I tried to create a > >>SystemRepository/SystemRepositoryImpl proxy > >> where SystemRepository extended OrderRepository which extended > >>ProfileRepository which extended IdentifyingSystem (Similarly for the > >>impl.). But this did not provoke the persistance most probably because > >>the persistant methods I was trying to call existed on either > >>Order/ProfileRepository but not in the actual 'main' interface > >>(SystemRepository) used to create the 'proxy'. > >> > >> > > > >That's strange, it could be a bug. Did you mark the methods with a > >@transaction-attribute? In the sub interfaces too? Did they get properly > >compiled with the attribute-compiler? > > > > Yes I made sure I did....And I checked that they were compiled properly > as well...(I tried it a number of times) > > > > > > > > >>I'll let you know how it goes... ;) > >> > >> > > > >Please do! > > > > > > > > > Will do... ;) > > Saimon > > >------------------------------------------------------- > >This SF.net email is sponsored by:Crypto Challenge is now open! > >Get cracking and register here for some mind boggling fun and > >the chance of winning an Apple iPod: > >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > >_______________________________________________ > >Nanning-developer mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/nanning-developer > > > > > > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nanning-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nanning-developer ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en