File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
establishing jdbc connection
Joined: Dec 20, 2000
Jan 09, 2001 01:11:00
can any body help me with jconnect.how do we establish a connection.jconnect coz we are using sybase as the database.send me some sample code if possible.
thankx in advance
Joined: May 05, 2000
Jan 09, 2001 13:13:00
You do it the same way that you do for any other
compliant database. Here is the getConnection:
con = DriverManager.getConnection ("jdbc:sybase:Tds:" + machine + ":" + port + "/" + dbname, props);
Associate Instructor - Hofstra University
Amazon Top 750 reviewer
Blog - Unresolved References
Book Review Blog
I agree. Here's the link:
subject: establishing jdbc connection
Michael Ernest's 1000 posts
Somebody here should stop acting as a policeman
Moderators Talk A Lot
THE WAR AGAINST TERRORISM IS A FRAUD
Jane " The SuperHuman " Griscti is eclipsed the mountain of 2000 posts.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014