>
> Hi, everyone,
>
> I need to connect a servlet to a Sybase database. So far I've been
working
> with access and have had no problems, but I don't know the class.ForName()
> and getConnection() arguments for Sybase. If someone could help out, I'd
be
> very grateful.
>
> Thanks,
> Paul
>
Hi Paul
you want this then
Class.forName("com.sybase.jdbc.SybDriver");
connect with something like this for a connection string....
String conn = "jdbc:sybase:Tds:serverAddress:OpenClientPort/DatabaseName";
This will help you I am sure
Andy Bailey
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html