Hi list,

I am using cayenne and wicket, and I found no example to integrate
both framework....

well, just a question of design for using the datacontext...

Is it ok to use the datacontext in a singleton like this for a webapp

 private MyFacade() {
        ctxt = DataContext.createDataContext("DOMAIN1");
    }
=> I ask this question since I saw on the documentation for webapp to
use a getThreadDataContext ??

2/ About cache strategy...

I have a big request on oracle, so I decided to use the
QueryCacheStrategy.LOCAL_CACHE, but each time I refresh the webpage
the request it always done...

Is it because I didn't use correctly my datacontext ? do I have to
create a new one each time using createDataContext ?


thanks for help


arnaud

Reply via email to