Topic: JDBC一直没明白的问题(Class.forName)

  Print this page

1.JDBC一直没明白的问题(Class.forName) Copy to clipboard
Posted by: gaoxt1983
Posted on: 2006-06-27 16:46

Class.forName("xxxx")怎么就把驱动加载进去了,这样生成的东西会不会被gc收集掉...

2.Re:JDBC一直没明白的问题(Class.forName) [Re: gaoxt1983] Copy to clipboard
Posted by: why
Posted on: 2006-06-27 19:24

What does Class.forName(); do?
http://www.javaworld.com/javaworld/javaqa/2001-04/02-qa-0413-four.html

Understanding Class.forName() - Java
By Ted Neward
http://www.theserverside.com/tt/articles/content/dm_classForname/DynLoad.pdf


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923