freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: bernhard.trummer AT divis.at
- To: freetds AT franklin.oit.unc.edu
- Subject: RE: Using freetds in a applet
- Date: Mon, 3 Sep 2001 06:17:19 -0400
I made the connection with the code below:
--------------------------------
//static String db_url_= "jdbc:AvenirDriver://ip:1433/DBName";
static String db_url_="jdbc:twtds:sqlserver://ip:1433/DBName";
//static String drivername_ = "net.avenir.jdbcdriver7.Driver";
static String drivername_ = "com.thinweb.tds.Driver";
public static void open() throws Exception
{
Class.forName(drivername_);
connection_ = DriverManager.getConnection(db_url_,username_,password_);
statement_ = connection_.createStatement();
}
--------------------------------
(I only replaced drivername_ and db_url_ (the rest of the applet and the
envirenment was the same))
With the AvenirDriver (or with JTurbo) it worked within the appletviewer AND
within the HTML page; with twtds it only worked within the appletviewer ;-(
ciao
Bernhard
-
Using freetds in a applet,
bernhard . trummer, 09/03/2001
- <Possible follow-up(s)>
- RE: Using freetds in a applet, Stéphane De Jonghe, 09/03/2001
- RE: Using freetds in a applet, bernhard . trummer, 09/03/2001
- RE: Using freetds in a applet, Зверев Виталий Борисович, 09/03/2001
- RE: Using freetds in a applet, bernhard . trummer, 09/03/2001
- RE: Using freetds in a applet, Зверев Виталий Борисович, 09/03/2001
- RE: Using freetds in a applet, bernhard . trummer, 09/03/2001
- Re: Using freetds in a applet, Curt Hagenlocher, 09/03/2001
- Re: Using freetds in a applet, Curt Hagenlocher, 09/03/2001
- Re: Using freetds in a applet, bernhard . trummer, 09/03/2001
- Re: Using freetds in a applet, Curt Hagenlocher, 09/03/2001
- RE: Using freetds in a applet, Зверев Виталий Борисович, 09/03/2001
- RE: Using freetds in a applet, bernhard . trummer, 09/04/2001
- RE: Using freetds in a applet, Bob Kline, 09/04/2001
Archive powered by MHonArc 2.6.24.