cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: help with database setup in + esql
Date Fri, 15 Dec 2000 16:42:14 GMT


Thanks for the reply.  But, I didn't quite get it.  Is the stuff I put in
my for my 'testDB' database correct?  If so,  how would I
access my 'testDB' in my XML file?  I mean what is the tag?


                    Donald Ball                                                          
                    <balld@websli        To:     <>  
          >           cc:     <>,
                                         Subject:     Re: help with database setup in
+ esql                  
                    07:03 PM                                                             
                    respond to                                                           

On Thu, 14 Dec 2000 wrote:

> Hello,
> I am trying to define my database connection info in my
> so I can use it in various XML files via <esql:use-connection> instead of
> repeating it in every single file.   But, I am getting a NullPointer
> exception when I do that.  If I do the connection stuff directly in my
> files via <esql:connection>, then it works fine.  I have attached the
> working version at the end as well.

you're using esql incorrectly in your first example. all you need to do to
use connectoin pooling is replace the driver, dburl, username, and
password elements with a pool element. use-connection has been deprecated
for a long while now.

- donald

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message