---------- Forwarded message ----------
Date: Wed, 1 May 2002 17:39:37 -0700 (PDT)
From: rudy rouhana <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] does anyone know how to make a database
connection through a DataSource?
I am not subscribed to the castor-dev list. I purchased the webtaggers.com
domain name and have inhereted all the castor-dev subscribed email addresses.
I do not have a mail server setup to unsubscribe from the list through the
conventional method, and I cannot seem to find an administrators email address
to contact a real human being.
I previously subscribed to the list, posted a message to unsubscribe, and had
that request honored. However, for some reason today it seems like the email
address have been re-subscribed.
Could you please post this to the castor-dev mailing list for me?
thanks in advance
--- Bruce Snyder <[EMAIL PROTECTED]> wrote:
> This one time, at band camp, Mark Seveska said:
>
> MS>hello,
> MS>I am trying to connect to mysql through the DataSource interface. The
> reason
> MS>for this is because I am
> MS>writing my own connection pooling mechanism and will be using the
> DataSource
> MS>interface in my connection pool code. I was wondering if anyone had
> MS>experience with this. When I try to connect to MySql's MysqlDataSource
> class
> MS>and My config file looks like this:
> MS>
> MS><!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version
> MS>1.0//EN"
> MS> "http://castor.exolab.org/jdo-conf.dtd">
> MS><database name="test" engine="mysql" >
> MS> <data-source class-name="org.gjt.mm.mysql.MysqlDataSource">
> MS> <param server-name="localhost" port-number=""
>database-name="test"
> MS> user="root" password="" />
> MS> </data-source>
> MS> <mapping href="mapping.xml" />
> MS></database>
>
> Mark,
>
> I'm just doing this off the top of my head, so bear with me. I
> believe the following will work:
>
> <database name="test" engine="mysql">
> <data-source class-name="org.gjt.mm.mysql.MysqlDataSource">
> <param name="user" value="root" />
> <param name="password" value="" />
> </data-source>
>
> <mapping href="mapping.xml" />
> </database>
>
> Let me know if you have additional trouble.
>
> Bruce
> --
>
> perl -e 'print
> unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev