On 12/10/07 12:31 PM, "Andrus Adamchik" <[EMAIL PROTECTED]> wrote:
> You should use a static Ordering method that takes a list of orderings:
>
> Ordering.orderList(List objects, List>
> orderings)
>
> Andrus
Ahh, yes. I forgot about that one. I was actually just playing with it
last week
I know next to nothing about osgi environment, but Cayenne does not
create any runtime classes. What you have at compile time, you get at
runtime. Nothing more. (unless you are playing with JPA, which you
didn't mention).
Andrus
On Dec 10, 2007, at 6:46 PM, james yong wrote:
Hi,
I have
You should use a static Ordering method that takes a list of orderings:
Ordering.orderList(List objects, List>
orderings)
Andrus
On Dec 10, 2007, at 7:21 PM, Kevin Menard wrote:
I'm not sure how you'd go about it this way, but you can add any
number of
Orderings to a SelectQuery.
> So is it the same error as before or something else?
>
> Andrus
Yes, it is the same one!
>>> ---
>>> T E S T S
>>> ---
>>> Running com.gilbertoca.gfi.service.PessoaServiceTest
>>> Dec 10, 2
I'm not sure how you'd go about it this way, but you can add any number of
Orderings to a SelectQuery. If the objects are already cached, you
shouldn't really see a performance hit. I've not tried it myself, however.
--
Kevin
On 12/10/07 11:53 AM, "Alexander Lamb (dev)" <[EMAIL PROTECTED]> wro
Hello List,
I am sorting a to-many list in memory:
List re = getEnrollments();
Ordering ordering = new Ordering("year", true);
ordering.orderList(re);
return re;
But I would like to add a second sort criteria (month after year)
I found there were expressions, but no example for
Hi,
I have a subclass of an CayenneDataObject class.
However, when it is instantiated in an osgi environment, an
java.lang.NoClassDefFoundError exception is thrown.
Does Cayenne creates any new class at runtime that is used by the
CayenneDataObject instance? The reason I need to know this, is b
So is it the same error as before or something else?
Andrus
On Dec 10, 2007, at 4:33 PM, Gilberto C Andrade wrote:
Andrus Adamchik wrote:
maven-specific advice - configuration we are using from our own
integration tests:
org.apache.maven.plugins
maven-surefire-plugin
Andrus Adamchik wrote:
> maven-specific advice - configuration we are using from our own
> integration tests:
>
>
> org.apache.maven.plugins
> maven-surefire-plugin
>
>
> once
>
>
> -javaagent:${settings.localRepository}/org/apache/cayenne/cayenne-ag