You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Giulio Cesare Solaroli <gi...@gmail.com> on 2006/10/26 15:17:46 UTC

Cayenne 3.0 roadmap

Hi all,

today I was looking through the cayenne mailing list archives to look
for the best way to implement "select max(<column>) from <table>"
style queries and I have stumbled upon on old thread of mine with
Andrus:
- http://www.objectstyle.org/cayenne/lists/cayenne-devel/2003/09/0095.html

To my great pleasure, I have later found that some of the ideas
discussed so long ago are still relevant and also included in the road
map for the 3.0 release
- http://issues.apache.org/cayenne/browse/CAY-514

Now this messagge just to let you know that even if the mean while I
have changed email address, company I work for (calling the current
project - http://www.clipperz.com - a "company" is a bit of an
overstatement, but let me enjoy it while it last), alway got a full
schedule (now even fuller due to a second boy running at home), I am
still very interested on the evolution of the Cayenne expression
module.

I don't know how much code I could really contribute to the project,
but I really would be very pleased to stay inside the loop of the
discussion about this particular feature.

I would also like to congratulate all the Cayenne commiters, and
specially Andrus, for the huge achievents this project has achieved.

Ciao,

Giulio Cesare

Re: Cayenne junit testing, Was: Cayenne 3.0 roadmap

Posted by Andrus Adamchik <an...@objectstyle.org>.
Current default Cayenne unit tests are probably a bad model, as most  
bootstrap code was written before Cayenne was even operational.  
However the new Maven-based integration test package that targets  
testing of POJO's is the state of the art as far as I am concerned  
(can be used from Ant as well of course):

https://svn.apache.org/repos/asf/incubator/cayenne/main/trunk/ 
integration-test/

You can mirror this approach:

* generated entity classes are placed in the "main" source folder
* test cases a placed in the "test" source folder
* a common superclass of all test cases performs shared stack  
initialization and creates the schema from Cayenne mapping (or from a  
manual SQL script - whichever applies)
* ItestDBUtils is used to perform raw DB operations bypassing Cayenne  
(this is still work in progress - more utility methods can be added):

https://svn.apache.org/repos/asf/incubator/cayenne/main/trunk/ 
integration-test/itest-common/src/main/java/org/apache/cayenne/itest/ 
ItestDBUtils.java

Andrus


On Oct 30, 2006, at 4:09 AM, Aristedes Maniatis wrote:
> On 30/10/2006, at 7:20 PM, Giulio Cesare Solaroli wrote:
>
>> Now, for the project I am working at, I need to find out how to do DB
>> based test the Cayenne way. Once I have struggled to set up a sound
>> test environment, playing with the new expression package should be
>> much easier.
>
> Yes, we at ish have many times marveled at the junit tests in  
> Cayenne. And not really understood them. We've long wanted to do  
> something similar in our application and might return to it in the  
> future when we have time. It would be great to document this  
> process and possibly create a framework to make this easier. I  
> wonder if a suitable framework might be build inside Cayenne itself.
>
> Ari Maniatis
>
>
>
> -------------------------->
> ish
> http://www.ish.com.au
> Level 1, 30 Wilson Street Newtown 2042 Australia
> phone +61 2 9550 5001   fax +61 2 9550 4001
> GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A
>
>


Cayenne junit testing, Was: Cayenne 3.0 roadmap

Posted by Aristedes Maniatis <ar...@ish.com.au>.
On 30/10/2006, at 7:20 PM, Giulio Cesare Solaroli wrote:

> Now, for the project I am working at, I need to find out how to do DB
> based test the Cayenne way. Once I have struggled to set up a sound
> test environment, playing with the new expression package should be
> much easier.

Yes, we at ish have many times marveled at the junit tests in  
Cayenne. And not really understood them. We've long wanted to do  
something similar in our application and might return to it in the  
future when we have time. It would be great to document this process  
and possibly create a framework to make this easier. I wonder if a  
suitable framework might be build inside Cayenne itself.

Ari Maniatis



-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A



Re: Re: Cayenne 3.0 roadmap

Posted by Giulio Cesare Solaroli <gi...@gmail.com>.
Hi Andrus,

I don't know JPA API, but you can definitely count on me for
discussions on design issues. I can not grant any time to coding now,
but I will try to do my best.

Now, for the project I am working at, I need to find out how to do DB
based test the Cayenne way. Once I have struggled to set up a sound
test environment, playing with the new expression package should be
much easier.

I will keep the list monitored, trying to spot relevant threads. Feel
free to write directly to my address should I miss the discussion.

Best regards,

Giulio Cesare





On 10/30/06, Andrus Adamchik <an...@objectstyle.org> wrote:
> Yeah, we embraced your expression ideas, just never got around to
> implementing them :-)  You may have seen other recent discussions
> between Mike K. and myself on how to better do the splits and how to
> combine this with similar JPA API (EJBQL).
>
> http://objectstyle.org/cayenne/lists/cayenne-devel/2006/08/0171.html
>
> (IIRC there was a follow up thread that I can't find now)
>
> Would be cool to work with you on this stuff, if and when your
> situation permits.
>
> Andrus
>
>
> On Oct 26, 2006, at 9:17 AM, Giulio Cesare Solaroli wrote:
> > Hi all,
> >
> > today I was looking through the cayenne mailing list archives to look
> > for the best way to implement "select max(<column>) from <table>"
> > style queries and I have stumbled upon on old thread of mine with
> > Andrus:
> > - http://www.objectstyle.org/cayenne/lists/cayenne-devel/
> > 2003/09/0095.html
> >
> > To my great pleasure, I have later found that some of the ideas
> > discussed so long ago are still relevant and also included in the road
> > map for the 3.0 release
> > - http://issues.apache.org/cayenne/browse/CAY-514
> >
> > Now this messagge just to let you know that even if the mean while I
> > have changed email address, company I work for (calling the current
> > project - http://www.clipperz.com - a "company" is a bit of an
> > overstatement, but let me enjoy it while it last), alway got a full
> > schedule (now even fuller due to a second boy running at home), I am
> > still very interested on the evolution of the Cayenne expression
> > module.
> >
> > I don't know how much code I could really contribute to the project,
> > but I really would be very pleased to stay inside the loop of the
> > discussion about this particular feature.
> >
> > I would also like to congratulate all the Cayenne commiters, and
> > specially Andrus, for the huge achievents this project has achieved.
> >
> > Ciao,
> >
> > Giulio Cesare
> >
>
>

Re: Cayenne 3.0 roadmap

Posted by Andrus Adamchik <an...@objectstyle.org>.
Yeah, we embraced your expression ideas, just never got around to  
implementing them :-)  You may have seen other recent discussions  
between Mike K. and myself on how to better do the splits and how to  
combine this with similar JPA API (EJBQL).

http://objectstyle.org/cayenne/lists/cayenne-devel/2006/08/0171.html

(IIRC there was a follow up thread that I can't find now)

Would be cool to work with you on this stuff, if and when your  
situation permits.

Andrus


On Oct 26, 2006, at 9:17 AM, Giulio Cesare Solaroli wrote:
> Hi all,
>
> today I was looking through the cayenne mailing list archives to look
> for the best way to implement "select max(<column>) from <table>"
> style queries and I have stumbled upon on old thread of mine with
> Andrus:
> - http://www.objectstyle.org/cayenne/lists/cayenne-devel/ 
> 2003/09/0095.html
>
> To my great pleasure, I have later found that some of the ideas
> discussed so long ago are still relevant and also included in the road
> map for the 3.0 release
> - http://issues.apache.org/cayenne/browse/CAY-514
>
> Now this messagge just to let you know that even if the mean while I
> have changed email address, company I work for (calling the current
> project - http://www.clipperz.com - a "company" is a bit of an
> overstatement, but let me enjoy it while it last), alway got a full
> schedule (now even fuller due to a second boy running at home), I am
> still very interested on the evolution of the Cayenne expression
> module.
>
> I don't know how much code I could really contribute to the project,
> but I really would be very pleased to stay inside the loop of the
> discussion about this particular feature.
>
> I would also like to congratulate all the Cayenne commiters, and
> specially Andrus, for the huge achievents this project has achieved.
>
> Ciao,
>
> Giulio Cesare
>