Q
qazmlp
Is is safe to return a ResultSet from a member function of my class?
Can it cause memory leaks?
Can it cause memory leaks?
qazmlp said:Is is safe to return a ResultSet from a member function of my class?
Can it cause memory leaks?
You could copy the resultset of course into your own custummade
object, and pass that object around, which is a lot safer, but
increases the memory/cpu load of course, because of the copying.
That is how I handled that problem once.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.