Wrox Programmer Forums
|
BOOK: Expert One-on-One J2EE Development without EJB
This is the forum to discuss the Wrox book Expert One-on-One J2EE Development without EJB by Rod Johnson, Juergen Hoeller; ISBN: 9780764558313
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Development without EJB section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2004, 11:26 PM
Registered User
 
Join Date: Aug 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Disconnection from a persistence store

In chapter 3 of the book on page 35, Rod writes:

"With some persistence technologies, we may need to explicitly disconnect objects from the persistence store."

In what situations would you want to disconnect objects from a persistence store? Can someone provide some scenarios/examples of what Rod meant?

 
Old August 30th, 2004, 10:15 AM
Registered User
 
Join Date: Aug 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a discussion with a colleague of mine and he explained when persistent objects are retrieved from a database, that the typical strategy is to copy properties to a value holder and release the persistent object back to the pool. Disconnecting the object from the persistent object pool is an alternative approach that current ORM vendors have provided to eliminate the requirement of value holders.

Forgive my ignorance on this issue. My background has been primarily with pure JDBC persistence; I have limited experience with OJB, Apache's ORM offering.






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to store images cancertropica SQL Server 2000 2 November 30th, 2007 03:18 PM
e-store mechanics randallkeels Intro Programming 0 June 1st, 2006 11:47 PM
Persistence of control states between posts pankaj_daga ASP.NET 1.0 and 1.1 Basics 1 November 20th, 2003 08:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.