El jue, 05-08-2010 a las 21:35 +0200, Mariano Martinez Peck escribió:
I know this is a alraedy known issue: http://code.google.com/p/pharo/issues/detail?id=1628 I am trying to make SqueakDBX work in 1.1 and it doesn't work because of this. Each DBXConnection is registered in the WeakRegistry just to close the database connection in case they don't do it explicitly.
This this, I have a:
addObjectToGarbageCollect: anObject
WeakRegistry default add: anObject.
And in DBXConnetion >> connect, I call that method.
Do you know how to solve the problem? I read the issue but I am uncertain what should I do nor if it is fixed. I think this bug is really important.
Not a solution sorry, but a suggestion (or maybe this is already implemented, I haven't used SqueakDBX). :) Maybe it would be useful to add a pool for the connections so they aren't so many at the same time. Also, the database admin will be grateful. Cheers
Thanks
Mariano _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Miguel Cobá http://miguel.leugim.com.mx