> this will not work, because this creates a new ConnectionFactory instance.
>From what i can make out, ConnectionFactoryFactory will always return the same ConnectionFactory instance as it only creates a new 'singleton' ConnectionFactoryFactory if static singleton is null, and then only creates a new conFactory if singleton.conFactory is null. > I'm not sure what's the problem in your case, but I think it's OJB. The > connection/pooling stuff needs some refactoring before 1.1 ;-) I think so too. I've removed all persistent objects from the session (bad practice i guess to do it anyway). The problem is persisting. I tried the alternative code you suggested. The same problem happens. One thing that i am a little confused by is that there are two parts to the system. The closing of database works fine from the back end, but fails from the front end! Both use the same base classes for calling OJB. Ah well, i shall continue my debugging tomorrow. Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
