Home
Analytics
JDBC for SQL Server
birt_three
Hi
Can anyone please help me to provide the JDBC driver for SQL Server which can be used in BIRT?
Thanks
Shréè
Find more posts tagged with
Comments
mwilliams
Hi Shréè,<br />
<br />
Actuate BIRT has the SQL Server JDBC Driver already installed. You can download it at:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/downloads/birt-report-designers/'>http://www.birt-exchange.com/downloads/birt-report-designers/</a><br
/>
<br />
It also looks like you can download the driver for SQL Server at Microsoft.com as well. Here's a link for the SQL Server 2005 JDBC Driver 1.2:<br />
<br />
<a class='bbc_url' href='
http://www.microsoft.com/downloads/details.aspx?FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba&DisplayLang=en'>http://www.microsoft.com/downloads/details.aspx?FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba&DisplayLang=en</a><br
/>
<br />
Hope this helps.
vikasg18
add sqljdbc.jar into eclipseplugins and give the
Driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver (v2.0)
Driver URL: jdbc:sqlserver://localhost:1433
and provide ur DB username and password.
-Vikas
kdw
<blockquote class='ipsBlockquote' data-author="vikasg18"><p>add sqljdbc.jar into eclipseplugins and give the <br />
Driver class: com.microsoft.sqlserver.jdbc.SQLServerDriver (v2.0)<br />
Driver URL: jdbc:sqlserver://localhost:1433<br />
and provide ur DB username and password.<br />
<br />
-Vikas</p></blockquote>
<br />
I'm also new to BIRT, and thought I've set up Microsoft jdbc driver correctly. Well, I guess not.<br />
<br />
At one point as I tried to get this to work using sqljdbc.jar, I was told via popup that apparently sqljdbc4.jar is needed for jdk 1.6. So I added sqljdbc4.jar via the Manage Drivers wizard.<br />
<br />
I used:<br />
<br />
jdbc:sqlserver://localhost:1433;databaseName=<my database><br />
<br />
and giving it what should be a good uid/pw.<br />
<br />
The Test Connection generates an 'unhandled event loop exception' which shows the call trace seen below. <br />
<br />
Is there any other magical lore that would get this connection made??<br />
<br />
<br />
java.lang.NoClassDefFoundError: com/microsoft/sqlserver/jdbc/SQLServerConnection<br />
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:840)<br />
at org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager$WrappedDriver.connect(JDBCDriverManager.java:1112)<br />
at java.sql.DriverManager.getConnection(Unknown Source)<br />
at java.sql.DriverManager.getConnection(Unknown Source)<br />
etc<br />
etc
mmah
You can also try the JTDS driver found in SourceForge. This is the universal SQL driver that works better than the Microsoft provided driver.