Re: [Zope-DB] [ANN] Modified version of DCOracle2 is available

2006-11-22 Thread Maciej Wisniowski

 Eek! ZpsycopgDA is GPL'd! Does that mean you've put your version of
 DCOracle under GPL?

 But that aside I am not sure it is the best implementation of
 connection pooling out there.
I don't want to reinvent the whell and create own
pool management so I searched a bit and found
something interesting.
What do you think about SQLAlchemy? It has is nice (I think)
pool implementation, which may be used separately. See:
http://www.sqlalchemy.org/docs/pooling.myt

I'm especially interested in licensing.
SQLAlchemy is on MIT license, so I think if it will be
possible to use SQLAlchemy pool implementation then
then this DCOracle2 version may be ZPL. Am I right?


I did very first attempt to use this with my version of DCOracle2
and so far I am able to connect to Oracle from Zope and do
some queries with SQLAlchemy QueuePool in use.

If somebody wants to take a look then SQLAlchemized
version, with some code from ChrisW branch
(reconnect after connection is broken) is now at:
https://dcoracle2da.googlecode.com/svn/branches/sqlalchemypool

In general all this code is considered 'under developement'. There
is nothing in tags/ yet.

-- 
Maciej Wisniowski

___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


Re: [Zope-DB] [ANN] Modified version of DCOracle2 is available

2006-11-22 Thread Maciej Wisniowski

 I fear that there is a rule that everything in the Zope repositories
 should be ZPL -- to have a uniform license for all components from
 these repositories.

 Of course, if your DCO2 is not in the Zope repositories,
 you should be able to include MIT licensed code in a ZPL licensed
 version of DCO2.
You are right but now I hope it is not necessary to put any
MIT licensed code from SQLAlchemy into DCOracle2. Simple
statement like:

from SQLAlchemy.pool import QueuePool

is enough. That just means that it is necessary to install
SQLAlchemy to use this version of DCOracle2, but there
are no parts of it's code here. Seems this is same as
need to have Oracle Client installed in system in order to
use DCOracle2.

-- 
Maciej Wisniowski

___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db