Skip to Content.
Sympa Menu

freetds - RE: Using freetds in a applet

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Зверев Виталий Борисович <VZverev AT genesis.spb.ru>
  • To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Using freetds in a applet
  • Date: Mon, 3 Sep 2001 18:59:54 +0400


Do you really have prerequisite to use twtds?
I can't reproduce reported case with FreetdsJdbc snapshot.
IE5 with signed applet works fine. I can attach the full example code
in private letter if interesting...

Sincerely yours .

------------------------------------------------------------
Vitaly Zverev, Oracle DBA
Genesis Ltd. Saint-Petersburg, Russia
ICQ: 101962449



> -----Original Message-----
> From: bernhard.trummer AT divis.at [mailto:bernhard.trummer AT divis.at]
> Sent: Monday, September 03, 2001 2:17 PM
> To: TDS Development Group
> Subject: [freetds] RE: Using freetds in a applet
>
>
> 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
>
>
> ---
> You are currently subscribed to freetds as: [zvb_travel AT yahoo.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>




Archive powered by MHonArc 2.6.24.

Top of Page