Class.forName() is a convenience for you compile the code without a JDBC driver. It loads the class definition into the JVM.

jabber (jabber)
2001-3-13 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: JDBC. Can we think the Class.forName() as import java.*;? Does the Class.forName() mean create a class dynamicly? tks.

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论