-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Grzegorz Kossakowski wrote:
> Giacomo Pati pisze:
>> On Wed, 4 Jul 2007, Grzegorz Kossakowski wrote:
>>
>>> Date: Wed, 04 Jul 2007 00:01:53 +0200
>>> From: Grzegorz Kossakowski <[EMAIL PROTECTED]>
>>> Reply-To: dev@cocoon.apache.org
>>> To: Cocoon's dev mailing list <dev@cocoon.apache.org>
>>> Subject: How to define database connection in C2.2?
>>>
>>> Hello,
>>>
>>> It's me again. Fortunately enough, it's five minutes to midnight so
>>> this is going to be my last e-mail this day. ;)
>>>
>>> I'm wondering now how to define database connection in C2.2 so it is
>>> available easily in all Cocoon components and my own Spring beans. Do
>>> we have an replacement for patching cocoon.xconf that is already gone?
>>
>> Just go the Spring way of defining a DataSource and we probably can
>> forget about the way it was with 2.1 Excalibur DataSources.
> 
> The crucial question is if components working with Excalibur DataSources
> will be able to use Spring-defined DataSources? Do we have similar
> bridge to the one that allows us to obtain Spring bean through Avalon's
> Service Manager?

Of course not. Avalon Components usually depend on DataSourceComponent,
which is an Excalibur class and in no way compatible with standard 
javax.sql.DataSource class.

> 
> (If no one knows I'll try to figure it out myself)

- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)

iD8DBQFGi209LNdJvZjjVZARAgWmAJ929JYFR0p4S6SDZ4fvT7EaEf3MBQCgkAzw
PSqLuWNf9MbnXlahni5Cgas=
=sJxa
-----END PGP SIGNATURE-----

Reply via email to