> If you examine the code you will see that the PrepStmt (prepared statement)
> instance is derived from RS (result set) which holds onto a reference to
> a Conn (connection). So the PrepStmt, RS or Conn will not be finalized as
> long as any of these instances are being referenced by some object in
> any thread.

The fact that PrepStmt references a Conn means than Conn won't be
finalized if PrepStmt is alive, but PrepStmt may be finalized during
execution of another statement, when there's no more references to it,
but there are references to other PrepStmt or Stmt. And this actually
does happen.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLiteJDBC" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlitejdbc?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to