Why should we close database connections in java?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JDBC Interview Questions

MY code is: public class P1{ public static void main(String ar[]) { class.forName("java.lang.String"); } } errors i got are :New.java:5: error: <identifier> expected class.forName("java.lang.String"); ^ New.java:5: error: invalid method declaration; return type required class.forName("java.lang.String"); ^ New.java:5: error: illegal start of type class.forName("java.lang.String"); ^ New.java:7: error: reached end of file while parsing } ^ 4 errors HELP ME>......

3 Answers  


What class.forname will do while loading drivers of jdbc?

0 Answers  


Is jdbc and orm?

0 Answers  


What is encrypted connection?

0 Answers  


Give me some example for getting connection from connection pooling in JBoss Server. Is Connection Pool default in Server or we have to create it? Who can create Connection Pool in a Team. How it will be accessed by the developer code?

1 Answers   TCS,


What are the differences between statement and preparedstatement interface?

0 Answers  


Define preparedstatement.

0 Answers  


Which is better odbc or jdbc?

0 Answers  


How does JDBC differ from ODBC?

7 Answers  


How vendor Naming registry supports JNDI?

0 Answers  


What are the measures to connect to the db using jdbc?

0 Answers  


What is the JDBC?

0 Answers  


Categories