Info About java.sql.DriverManager.........
All java.sql.DriverManager calls are synchronized including the println method which is used by the SQLWarning and SQLException constructors.So any thread can block all other JDBC in the whole JVM.
So we should never call DriverManager.getConnection().
Instead..........
Driver driver =(Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
Connection connection = driver.connect("jdbc:weblogic:pool:POOLNAME",null);
Tuesday, October 10, 2006
Previous Posts
- Questions on JDBC.................. What is JDB...
- Difference Betweeen Appraisal and Resignation........
- You can listen to any PDF instead of reading with ...
- Java Messaging Service - An Overview Required com...
- J2EE Connector Architecture - JCA Why JCA Enterpr...
- Basic Questions on Database: what is SQL? Structu...
- Capturing your desktop using Java: import java.aw...
- Usage of Find command in Unix Example:1 find . ...
- Unix : Complete List of Vi Commands ......... w ...
- Removing Duplicate rows in oracle....................

0 Comments:
Post a Comment
<< Home