Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Mar 14, 2000

Loading the JDBC driver



When a Java applet or application loads a JDBC driver, the code is dynamically retrieved from the network. Loading the Sybase JDBC driver requires a simple line of code:
 
Class.forName("com.sybase.jdbc.SybDriver"); 
JConnect requires this hierarchy of classes (com\sybase\jdbc\) to be placed in the same subdirectory as the applet. For Java applications, this set of classes must be in the CLASSPATH environment variable.
Manoj K.
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap