Author: arminw Date: Sat Mar 24 15:09:18 2007 New Revision: 522117 URL: http://svn.apache.org/viewvc?view=rev&rev=522117 Log: add link
Modified: db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/tutorials/pb-tutorial.xml Modified: db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/tutorials/pb-tutorial.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/tutorials/pb-tutorial.xml?view=diff&rev=522117&r1=522116&r2=522117 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/tutorials/pb-tutorial.xml (original) +++ db/ojb/branches/OJB_1_0_RELEASE/src/doc/forrest/src/documentation/content/xdocs/docu/tutorials/pb-tutorial.xml Sat Mar 24 15:09:18 2007 @@ -22,6 +22,7 @@ <title>Persistence Broker Tutorial</title> <authors> <person name="Brian McCallister" email="[EMAIL PROTECTED]"/> + <person name="Armin Waibel" email=""/> </authors> </header> @@ -507,14 +508,12 @@ <code>finally</code> blocks in order to guarantee that it is run, even if an exception occurs. If the <code>PersistenceBroker.close()</code> is not - called then the application will leak broker instances. The best way to ensure that - it is always called is to always retrieve and use - <code>PersistenceBroker</code> - instances within a + called then the application will leak broker instances + (how to detect broker leakage, please see <a href="site:pb-guide/detect-leak">PB-guide</a>). + The best way to ensure that it is always called is to always retrieve and use + <code>PersistenceBroker</code> instances within a <code>try {...}</code> block, and always close the broker - in a - <code>finally {...}</code> block attached to the - <code>try {...}</code> block. + in a <code>finally {...}</code> block attached to the <code>try {...}</code> block. </p> <p> A better designed --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]