I'm having a problem trying to release database connections.
Here's what i understand of how it works

I assume the PB opens data connections when it's first used. A 
connectionfactoryfactory is created, and connections are opened by the 
connectionfactory.

Now, to shut down the database, i release all PBs from the PB pool:
PersistenceBrokerFactory.releaseAllInstances();

Now, to get at the connection factory i use: 

ConnectionFactoryFactory.getInstance().createConnectionFactory()

Although the method is called create - it doesnt create one if one has already been 
created.

>From what i can make out of ConnectionFactoryPooledImpl, releaseAllResources() should 
>release all connections.

So why does the following not release database connections?

ConnectionFactoryFactory.getInstance().createConnectionFactory().releaseAllResources();

Thanks,

Daniel.

Reply via email to