Are you working with queries or objects? I believe it goes to the database for every query.
But for objects, it gets them once and caches them. So interaction then occurs with the cached object instead of making a trip to the DB (unless needed of course). - Gabriel On Fri, Mar 5, 2010 at 4:05 PM, sandeep saini <[email protected]> wrote: > > Guys! > > Here is my sample table in DB:- > > Emp ID Emp Name State > 111 Sandeep IN > 112 Kumar IN > 113 Jack MI > 114 Bob IL > > How does the transfer object of Transfer ORM behaves:- > 1. In general. > 2. When I ask transfer object to get me 'Emp ID' from IN state. Does it go to > database to get data? > 3. When I ask transfer object to get me 'Emp ID' from IN state and When Emp > Name='Kumar'. Does it again go back to database to get data? > 4. When I ask transfer object to get me 'Emp ID' from IN and MI states. Does > it again go back to database to get data(just MI or IN too?)? > 5. How does the transfer object decide that now is the time to go back to DB? > > Thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331390 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

