Re: JDBC Driver for SQL 2000 - Pls help

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Alin Sinpalean (alin_at_earthling.net)
Date: 02/01/05


Date: 1 Feb 2005 02:17:24 -0800


Sanjay wrote:
> One of the applications "Epistemic" which my client is using needs a
JDBC 3.0
> Compliant driver to connection to out SQL Server 2000 instance
>
> Questions
> 1. Is this driver available in installation of client software for
SQL
> Server 2000, if not where can i get it

The Microsoft driver is only a JDBC 2.0 implementation and it has a
number of problems, ranging from stability to performance, in which you
seem to be interested. E.g. if you need transaction support (which you
probably do) the MS driver will use server side cursors and will make a
request for each row you retrieve on a SELECT.

> 2. Like for ODBC we set up a profile in ODBC administrator, what do
we do
> for JDBC

Nothing, just drop the jar in the classpath and configure the URL in
your application.

> 3. Will accessing SQL 2000 through JDBC drive be any slower than
using OLEDB
> which is the default connectivity software for SQL Server 2000

With the MS driver, probably so. Try jTDS (
http://jtds.sourceforge.net/ ) instead. It's a JDBC 3.0 implementation,
it's way more stable than the MS driver and as fast as OLEDB.

Alin,
The jTDS Project.

Disclaimer: I am a jTDS developer so my views might not be totally
objective.



Relevant Pages

  • Driver corrupts prepared statements in pool.
    ... This test case demonstrates a bug in the Microsoft SQL Server 2005 JDBC ... cause an exception the next time it is used. ... Microsoft SQL Server 2005 JDBC driver 1.0.809.102 ... // A connection will NOT work properly until it has been ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Connection getMetaData() does not throw SQL Exception
    ... The reason the getMetaDatacall doesn't fail is because all the ... the driver object. ... We support MySQL, Oracle, and SQL Server. ... The java code does not use connection pooling. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • RE: Padding using Type 4 Drivers
    ... | Does anybody know what configuration a SQL Server DB has which effects ... Whenever you make a connection to SQL Server, ... your connection will receive a default set of ANSI settings based on the ... Are you using the Microsoft JDBC driver or a third-party driver?. ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: JDBC Connection Help
    ... database in VBS. ... I have the correct driver 0jdbc.jar which from what I can tell contains ... trying to establish a JDBC connection. ...
    (microsoft.public.scripting.vbscript)
  • Re: JDBC for SQL 2000 Service Pack 4?
    ... The Microsof SQL Server 2000 Driver for JDBC does not support SSL ...
    (microsoft.public.sqlserver.jdbcdriver)