Re: getThreadObjectContext with domain parameter - code -

2009-09-11 Thread Andrey Razumovsky
Well, looking at your code, I think you should not create new ThreadLocal each time request is received (in bindThreadObjectContext). You old bindings just get erased 2009/9/11 Arnaud Garcia > Hello, > > I created a filter to use multi domains in a webapp, but I still have > a problem, I don

Re: Strange behavior with Cayenne

2009-09-11 Thread Lucas Holt
Thanks. I found the problem was in the code calling this. On Sep 10, 2009, at 11:42 AM, Michael Gentry wrote: That looks pretty good to me (I do the same types of things just fine). Are company/office in the same DataContext? mrg Lucas Holt l...@foolishgames.com

Re: Using Join Table

2009-09-11 Thread Michael Gentry
3.0 is indeed still in development, but the core features (what you are most likely to use) are stable. Also, the Modeler has been improved and there are bug fixes and performance improvements. mrg On Fri, Sep 11, 2009 at 4:56 AM, Nishant Neeraj wrote: > I will try. Was a bit afraid because th

getThreadObjectContext with domain parameter - code -

2009-09-11 Thread Arnaud Garcia
Hello, I created a filter to use multi domains in a webapp, but I still have a problem, I don't find the bug... if someone can help me to fix it ! (I think that some people will also need this kind of filter, so this is why I post the complete code) So, the last bug is that sometimes the Obj

Re: Using Join Table

2009-09-11 Thread Nishant Neeraj
I will try. Was a bit afraid because the Index page of Cayenne says "3.0 (in development)" I wanted to do something likeĀ  this select m.*, s.subscription_type from magazines m, subscriptions s where m.mag_id = s.mag_id and s.reader_id = ; The returned result set would be stored in List Is som