RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-13 Thread Douglas McCarroll
Hi Jeff, > I could not follow the code.txt > link in your post I wonder why that wouldn't work for you. Let's try again. I've posted the file again with a different name: http://www.brightworks.com/technology/tech_questions/hibernate_lazy_associations/code_2.txt Can you see this one? > I s

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-12 Thread Jeff Vroom
Hi Douglas, (snip) 3. Jeff said that I should set the association properties for my filmActors destination as one-to-one. I'm guessing that this should be many-to-one, but am not sure. I've tried both it doesn't help my current problem, but I'd love a definitive answer on which this s

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-09 Thread Douglas McCarroll
PS. Be careful. I just checked the links in this post and the code page was retrieved from my cache. The new version does *not* have and error message at the top. Hit refresh if it does. :-) Douglas Douglas McCarroll wrote: > Douglas McCarroll wrote: > >> Thanks. I'll let you know how it g

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-09 Thread Douglas McCarroll
Douglas McCarroll wrote: > Thanks. I'll let you know how it goes. Still stuck. :-) Same "Page request made for item with id = '{filmId=null}'" error. I believe that I've implemented Jeff's suggestions. I've refreshed this code listing so that it reflects my current code: http://www.brightwo

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-04 Thread Douglas McCarroll
Thanks. I'll let you know how it goes. Jeff Vroom wrote: > > Ø Do I need a fourth destination for the FilmActorID class? > > Nope, that instance is managed by the FilmActor destination. It does > not have its own “id” so it can’t be in a separate destination. > > Jeff > > -- Flexcoders Mail

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-04 Thread Jeff Vroom
* Do I need a fourth destination for the FilmActorID class? Nope, that instance is managed by the FilmActor destination. It does not have its own "id" so it can't be in a separate destination. Jeff

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-04 Thread Jeff Vroom
nk hibernate requires that all id columns are stored in the same property in Java. I am not sure about that... Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas McCarroll Sent: Monday, December 04, 2006 6:00 PM To: flexcoders@yahoogroups.co

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-04 Thread Douglas McCarroll
do a query for each actor > to retrieve the filmActors properties. It will be a little faster than > today because it won’t need to join in the Film table because of the > intermediate mapping object. > > Jeff > >

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-12-03 Thread Jeff Vroom
Original Message- > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com>] On > Beha

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-30 Thread Douglas McCarroll
messed up because of that? It might be worth > changing that to an int if that is an easy test to run. > > I will try to get a chance to look at this more tomorrow. > > Jeff > > -Original Message- > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> >

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-30 Thread Douglas McCarroll
Jeff > > -Original Message- > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com > <mailto:flexcoders%40yahoogroups.com>] On > Behalf Of Douglas McCarroll > Sent: Wednesday, November 29, 2006 11:26 AM > To

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-29 Thread Jeff Vroom
test to run. I will try to get a chance to look at this more tomorrow. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas McCarroll Sent: Wednesday, November 29, 2006 11:26 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] many-

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-29 Thread Douglas McCarroll
Jeff Vroom wrote: > 4) If you turn on debug logging in the server for > the “Endpoint.*” logging category, you’ll see the > object graph which is sent to the client after > your fill. I am curious if the time is being > spent loading the data from the database or > sending data to the client

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Douglas McCarroll
nce to look into the test case in more detail > later. Regards, > > Jeff > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Douglas McCarroll > *Sent:* Tuesday, Novem

RE: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Jeff Vroom
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas McCarroll Sent: Tuesday, November 28, 2006 3:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] many-to-many managed association in Hibernate destination Hi Richard

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Douglas McCarroll
Hi Richard, > I was under the impression that you have to use DTOs, rather > than mapping your client classes to your domain objects. I Google "flex hibernate lazy" and I find this: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=000

Re: [flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Richard Rodseth
I'm not currently using Flex, but I don't believe it's possible to map ActionScript classes to lazily-loaded Hibernate classes because of all the hibernate proxy stuff. I was under the impression that you have to use DTOs, rather than mapping your client classes to your domain objects. Am I wrong?

[flexcoders] many-to-many managed association in Hibernate destination

2006-11-28 Thread Douglas McCarroll
Hi All, This is essentially a repost of my "How to implement Lazy Hibernate?" question. I'm still completely stuck. Here's the error message I'm getting: [RPC Fault faultString="Page request made for item with id = '{filmId=null}'. The item was not in the cache and the adapter's get method f