This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
 
It's not a secret anymore!