Results 1 to 8 of 8
- 03-06-2009, 01:31 PM #1
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
- 03-06-2009, 01:34 PM #2
Senior Member
- Join Date
- Dec 2008
- Location
- Kolkata
- Posts
- 280
- Rep Power
- 5
It will depend upon the type of jdbc driver you are using. If you are using jdbc-odbc bridge driver you dont need any specific settings from netbeans, however if you are using type-IV driver you need to include the jar file into the classpath of your project.
- 03-09-2009, 01:17 PM #3
Member
- Join Date
- Mar 2009
- Posts
- 42
- Rep Power
- 0
ok thanks..
wl check it out
- 03-09-2009, 01:21 PM #4
- 04-05-2009, 06:57 AM #5
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
Acceso a SQL Server en NetBeans utilizando JDBC, Parte I: Crear una conexión
- 04-30-2010, 05:23 AM #6
Member
- Join Date
- Apr 2010
- Posts
- 1
- Rep Power
- 0
How to include the jar file into the classpath in my project when connecting to sq?
I believe I've added the jar file to the classpath, but I can't seem to connect to my data base.
Im connected to the database with NetBeans 6.8, and can get to the database and see all the tables but keep getting:
SQL Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "databaseName" requested by the login. the login failed.
In my services window I have a conection:
jdbc:sqlserver://myLocalServer\myLab;databaseName= myDataBase [myLab on dbo]
below that I have my list of databases including the one I want to access:
myLab
and in this I have more databases, and the one I want to access:
dbo
and the table I'd like to access.
Someone please helpLast edited by JpennPSM; 04-30-2010 at 05:45 AM. Reason: worked out my initial problem
- 03-17-2012, 10:40 AM #7
Member
- Join Date
- Mar 2012
- Posts
- 1
- Rep Power
- 0
- 03-17-2012, 10:46 AM #8
Re: connection of microsoft sql server 2005 with netbeans ide 6.1
Similar Threads
-
Netbeans 6.5 unable to connect MS SQL Server 2005 Express
By dpk_vash in forum NetBeansReplies: 4Last Post: 09-07-2010, 06:51 AM -
Connecting JTable With Microsoft SQL Server 2005 or Oracle
By WNIGAGLIONI in forum JDBCReplies: 0Last Post: 12-16-2008, 08:32 AM -
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]System Exception: Connection
By Ram_TPS in forum JDBCReplies: 1Last Post: 10-16-2008, 02:09 PM -
Java connecting to sql server 2005
By pelegk2 in forum JDBCReplies: 0Last Post: 04-05-2008, 09:17 PM -
SQL Server 2005 Jdbc connection
By mgt83 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 07-27-2007, 04:52 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks