Thanks Ray, Juan, Michael I've got it working.

The trick to use rught core class for pooled connection
which, thanks to you guys, happen to be
com.evermind.sql.ConnectionDataSource

Thanks again
~boris

Ray Harrison wrote:
> 
> Boris -
> Here is an example of a Sybase datasource - we use only the ejb-location but you may
> be able to find others who use the pooled-location by searching through the mailing 
>list.
> 
> Cheers
> Ray
> 
>        <data-source
>                name="MyDataSource"
>                class="com.evermind.sql.ConnectionDataSource"
>                location="jdbc/DefaultDS"
>                pooled-location="jdbc/DefaultPooledDS"
>                xa-location="jdbc/xa/DefaultXADS"
>                ejb-location="jdbc/DefaultEJBDS"
>                url="jdbc:sybase:Tds:hostname:8000/mydbname"
>                connection-driver="com.sybase.jdbc2.jdbc.SybDriver"
>                username="user"
>                password="pwd"
>                schema="database-schemas/sybase.xml"
>                max-connections="4"
>                inactivity-timeout="3600">
>         </data-source>
> 
> --- Boris Erukhimov <[EMAIL PROTECTED]> wrote:
> > I'm trying to ask it second time.
> >
> > Does anyone use Jconnect 5.2 ?
> > If so could you please share your data-source.xml and access code.
> > I'm particularly interested to see how "pooled-location" works, not
> > "ejb-location".
> >
> > Thanks
> > ~boris
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

Reply via email to