You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Johnson <jo...@soho.club.tw> on 2004/12/05 11:58:32 UTC
what's the diffenent between 2.1.5 to 2.1.6 (about jdbc)
Hi!
I use repository to declare my db, and change some property in OJB.properties,I do not declare jdbc in cocoon.xconf,it's ok in 2.1.5.
But in 2.1.6,I must declare an jdbc datasource in cocoon.xconf, and cocoon seem not to read the OJB.properties.
What's diffenent between them, What to do If I want to set some properties in OJB.properties.
Best Regards
Johnson
Re: what's the diffenent between 2.1.5 to 2.1.6 (about jdbc)
Posted by Johnson <jo...@soho.club.tw>.
tks
will try to find out
best regards
johnson
----- Original Message -----
From: "Reinhard Poetz" <re...@apache.org>
To: <us...@cocoon.apache.org>
Sent: Sunday, December 05, 2004 7:13 PM
Subject: Re: what's the diffenent between 2.1.5 to 2.1.6 (about jdbc)
> Johnson wrote:
>> Hi!
>>
>> I use repository to declare my db, and change some property in
>> OJB.properties,I do not declare jdbc in cocoon.xconf,it's ok in 2.1.5.
>> But in 2.1.6,I must declare an jdbc datasource in cocoon.xconf, and
>> cocoon seem not to read the OJB.properties.
>> What's diffenent between them, What to do If I want to set some
>> properties in OJB.properties.
>>
>> Best Regards
>>
>> Johnson
>
>
> Maybe this?
> ConnectionFactoryClass=org.apache.cocoon.ojb.components.ConnectionFactoryAvalonDataSource
>
> --
> Reinhard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: what's the diffenent between 2.1.5 to 2.1.6 (about jdbc)
Posted by Reinhard Poetz <re...@apache.org>.
Johnson wrote:
> Hi!
>
> I use repository to declare my db, and change some property in
> OJB.properties,I do not declare jdbc in cocoon.xconf,it's ok in 2.1.5.
> But in 2.1.6,I must declare an jdbc datasource in cocoon.xconf, and
> cocoon seem not to read the OJB.properties.
> What's diffenent between them, What to do If I want to set some
> properties in OJB.properties.
>
> Best Regards
>
> Johnson
Maybe this?
ConnectionFactoryClass=org.apache.cocoon.ojb.components.ConnectionFactoryAvalonDataSource
--
Reinhard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org