This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes Working with JTDS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Working with JTDS " Watch "Working with JTDS " New topic
Author

Working with JTDS

shashi booshan
Greenhorn

Joined: Jun 13, 2008
Posts: 14
Hi guys i am working with JTDS Driver for SQL 2005 for the first time with NetBeans IDE 6.
Netbeans has recognized the driver but i need port number,host name and connection string to establish a connection and working further.
Please let me know.



regards
Shashi


Thanks & Regards
- Shashi
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Well, assuming you haven't changed anything the port will be 1433. The host will be the name or IP address that your SQL Server instance is running on.

If you have these details, the JDBC url is easy enough to build. See the jTDS documentation for the syntax.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Working with JTDS
 
Similar Threads
Working with JTDS
Creating a dataSource for a Web-Application
HELP Error :JBoss connecting to MS SQL server
JDBC connection with SQL Server 2008 R2
Hibernate in Netbeans 6.9.1