You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Russell Smyth <rs...@computer-guidance.com> on 2002/12/13 20:25:31 UTC
RE: Question about jdbc-connection-descriptor's for class-descrip
tor
I hate to differ, but repository.html does not document
that you can only have one jdbc-connection-descriptor per repository,
in fact quite the opposite.
<from repository.html>
jdbc-connection-descriptor
The jdbc-connection-descriptor element specifies the default jdbc connection
for
the repository. All class-descriptor elements that do not specify their
own jdbc-connection-descriptor will use the default jdbc connection.
</>
inferring that there is a jdbc-connection-descriptor that can be specified
on
class-descriptor elements.
This is of course incorrect, and I would suggest this is what leads people
(including me in the past) to ask this very question.
Thanks
Russell
> -----Original Message-----
> From: Thomas Mahler [mailto:thma@apache.org]
> Sent: Thursday, December 12, 2002 11:04 AM
> To: jon.b.wooldridge@mail.sprint.com
> Cc: OJB Users List
> Subject: Re: Question about jdbc-connection-descriptor's for
> class-descriptor
>
>
> Hi Jon,
>
> as documented in repository.html you can only have one
> jdbc-connection-descriptor per repository.
>
> please direct future postings to the user list.
>
> cheers,
> Thomas
>
>
> jon.b.wooldridge@mail.sprint.com wrote:
> > I've been dorkin' around with this all day and am still
> about cluess.
> > Does the framework allow for defining a local connection
> descriptor per
> > class? If so, I haven't figured out how to include that
> block of code
> > in my class-descriptor element.
> >
> > Thanks in advance!
> >
> > Jon.
> >
> >
> >
> >
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
Re: Question about jdbc-connection-descriptor's for class-descrip
tor
Posted by Thomas Mahler <th...@apache.org>.
Hi again,
Russell Smyth wrote:
> I hate to differ, but repository.html does not document
> that you can only have one jdbc-connection-descriptor per repository,
> in fact quite the opposite.
>
> <from repository.html>
> jdbc-connection-descriptor
> The jdbc-connection-descriptor element specifies the default jdbc connection
> for
> the repository. All class-descriptor elements that do not specify their
> own jdbc-connection-descriptor will use the default jdbc connection.
> </>
>
> inferring that there is a jdbc-connection-descriptor that can be specified
> on
> class-descriptor elements.
>
> This is of course incorrect, and I would suggest this is what leads people
> (including me in the past) to ask this very question.
>
Oops, you are right. This is of course a documentation *bug*!
sorry!
Thomas
> Thanks
> Russell
>
>
>
>
>>-----Original Message-----
>>From: Thomas Mahler [mailto:thma@apache.org]
>>Sent: Thursday, December 12, 2002 11:04 AM
>>To: jon.b.wooldridge@mail.sprint.com
>>Cc: OJB Users List
>>Subject: Re: Question about jdbc-connection-descriptor's for
>>class-descriptor
>>
>>
>>Hi Jon,
>>
>>as documented in repository.html you can only have one
>>jdbc-connection-descriptor per repository.
>>
>>please direct future postings to the user list.
>>
>>cheers,
>>Thomas
>>
>>
>>jon.b.wooldridge@mail.sprint.com wrote:
>>
>>>I've been dorkin' around with this all day and am still
>>
>>about cluess.
>>
>>>Does the framework allow for defining a local connection
>>
>>descriptor per
>>
>>>class? If so, I haven't figured out how to include that
>>
>>block of code
>>
>>>in my class-descriptor element.
>>>
>>>Thanks in advance!
>>>
>>>Jon.
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>