Changes between Version 10 and Version 11 of DatabaseConnectionsForThreadsAndNewPool


Ignore:
Timestamp:
Feb 1, 2011, 1:03:06 AM (13 years ago)
Author:
simonp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseConnectionsForThreadsAndNewPool

    v10 v11  
    1616Dbms dbms = (Dbms) context.getResourceManager().open(Geonet.Res.MAIN_DB);
    1717
    18 This can be done any number of times by methods called by the service. As each Dbms object is opened the !ResourceManager keeps a reference to it in an internal hashtable.
     18This can often be done more than once by the service and/or methods called by the service. As each Dbms object is opened the !ResourceManager keeps a reference to it in an internal hashtable.
    1919
    2020If the service completes without exception, all database connections are closed by Jeeves using context.getResourceManager().close() or if there is an exception raised context.getResourceManager().abort()