S
Scott Harper
I have a static member variable, in this particular case a Hibernate
SessionFactory. It is initialized in a static block. The
SessionFactory class has a close() method, which can free up resources
related to the factory...
How/where is the best place to call SessionFactory.close() on this
static object?
Or should I just not worry about calling close()?
scott
SessionFactory. It is initialized in a static block. The
SessionFactory class has a close() method, which can free up resources
related to the factory...
How/where is the best place to call SessionFactory.close() on this
static object?
Or should I just not worry about calling close()?
scott