A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC and Relational Databases
Joined: Jan 09, 2003
Sep 01, 2004 00:20:00
What is the significance of the code Class.forName() while doing a connection?
Joined: Sep 01, 2004
Sep 01, 2004 03:42:00
The Class.forName() will try to load the class that you specified as
argument. If the class that you specified cannot be found in the classpath, Class.forName() will throw a
[ ロドニー。カバフグ ]
Joined: Dec 10, 2001
Sep 01, 2004 06:51:00
I'm thinking that you're curious about the significance of this code in the context of
. So, I'm moving this to the JDBC forum...
How To Ask Good Questions
JavaRanch FAQ Wiki
Joined: Aug 02, 2004
Sep 01, 2004 07:06:00
It registers the JDBC driver. Check the API docs for java.sql.Driver and/or
for more info.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
An JDBC problem
Dynamically loading a class
what this method do in JDBC?
How to connect MySQL DB from JSP?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015