javax.persistence..
>
> I really recommend 3.1. It doesn't have all the JPA baggage of 3.0.
>
> Andrus
>
> On Sep 7, 2012, at 4:20 PM, Francesco Romano wrote:
>
>> I've already seen those pages..
>> So there is nothing "ready"
>>
c as of yet:
>
> http://markmail.org/message/n7licqa27qdecfzy
> http://markmail.org/message/admkhniktnvnfid5
>
> Andrus
>
>
>
> On Sep 7, 2012, at 10:45 AM, Francesco Romano wrote:
>> Ok.. I found the problem.. It is not related to Cayenne, but to our
&
Ok.. I found the problem.. It is not related to Cayenne, but to our environment.
So.. the question becomes: how can I integrate Cayenne in an OSGi Environmnet?
Francesco
On Sep 6, 2012, at 5:00 PM, Francesco Romano wrote:
> Hi everybody.
>
> I have a problem with cayenne.
> I migr
of
if (generatesKeys) {
processGeneratedKeys(statement, delegate);
}
and it is never fired!
I add that I use Cayenne 3.0
Thanks
Francesco Romano
>
> On Aug 22, 2012, at 4:12 PM, Francesco Romano wrote:
>
>> On Aug 22, 2012, at 3:04 PM, Andrus Adamchik wrote:
>>
>>>> Local cache is local to a data context (right?). But currently the
>>>> application creates a new datacontext for every "tran
ontext instanceof DataContext) {
DataContext dataContext = (DataContext)context;
QueryCache cache =
dataContext.getParentDataDomain().getQueryCache();
cache.removeGroup(object.getClass().getName());
}
}
Is this accepta
private void clearCache(Object entity) {
Persistent object = (Persistent)entity;
QueryCache cache =
((BaseContext)object.getObjectContext()).getQueryCache();
cache.removeGroup(object.getClass().getName());
}
Any help?
Thanks
Regards
Francesco Romano