Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Alexey Loubyansky
What about using filters to begin/commit transactions? Neal Sanche wrote: Hi Alexey, Oh, I am definitely using the servlet container in the same VM, and although it's probably a really bad idea, I've been using Local objects in my web view layer instead of constantly making value objects all

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread julien viet
yes it works well. What about using filters to begin/commit transactions? Neal Sanche wrote: Hi Alexey, Oh, I am definitely using the servlet container in the same VM, and although it's probably a really bad idea, I've been using Local objects in my web view layer instead of

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Alexey Loubyansky
I know ;) julien viet wrote: yes it works well. What about using filters to begin/commit transactions? --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache,

Re: [JBoss-user] Read only CMR Collections?

2003-11-11 Thread Neal Sanche
On November 11, 2003 08:17 am, Alexey Loubyansky wrote: I know ;) julien viet wrote: yes it works well. What about using filters to begin/commit transactions? Brilliant idea. I keep forgetting about filters. That'll really simplify things, won't it? I'll give it a shot right away. -Neal

[JBoss-user] Read only CMR Collections?

2003-11-10 Thread Neal Sanche
Hi All, I've found recently that it's becoming increasingly painful to avoid the 'CMR Collection cannot be modified outside of a transaction' when navigating down CMR many relations. Navigating down a 1 to 1 relation works fine. The thing is, all I'm trying to do is easily display information

Re: [JBoss-user] Read only CMR Collections?

2003-11-10 Thread Alexey Loubyansky
First, it is the spec requirement. Second, do you run Servlet container in the same VM as JBoss? If so, you could begin/commit transaction in the web layer and no need for value objects. Neal Sanche wrote: Hi All, I've found recently that it's becoming increasingly painful to avoid the 'CMR

Re: [JBoss-user] Read only CMR Collections?

2003-11-10 Thread Neal Sanche
Hi Alexey, Oh, I am definitely using the servlet container in the same VM, and although it's probably a really bad idea, I've been using Local objects in my web view layer instead of constantly making value objects all the time. This works fine until CMR collections are involved. Beginning a