Yes. Finalizers run and close the resources. Its not a great performance
thing to let happen to your application, but the cleanup will take care of
itself.
Richard D. Dettinger
iSeries Java Data Access Team
Democracy's enemies have always underestimated the courage of the American
people.
It was true at Concord Bridge. It was true at Pearl Harbor. And it was
true today.
Rochester Post-Bulletin
Tuesday September 11, 2001
|---------+---------------------------->
| | "Bruce Jin" |
| | <JIN007M@hotmail.|
| | com> |
| | Sent by: |
| | java400-l-admin@m|
| | idrange.com |
| | |
| | |
| | 04/02/2002 01:08 |
| | PM |
| | Please respond to|
| | java400-l |
| | |
|---------+---------------------------->
>----------------------------------------------------------------------------------------------------------------------------|
|
|
| To: <java400-l@midrange.com>
|
| cc:
|
| Subject: AS/400 JDBC connection object and job QSQSRVR.
|
|
|
|
|
>----------------------------------------------------------------------------------------------------------------------------|
It seems every connection (native) has a corresponding QSQSRVR job. What
happens when the connection object is trashed before the connection is
closed? For example, I store connection objects in the session object and
the session times out and all connection objects are unbounded. Will all
connections close and QSQSRVR jobs disappear?
Thanks.
Bruce
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.