[jboss-user] [JCA/JBoss] - Re: idle time out question

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 23 07:03:06 EST 2007


Incidently, if the code were:

  | Connection c; // no initalizer
  | try
  | {
  |    c = allocateConnection();
  | }
  | catch (SQLException e)
  | {
  | }
  | finally
  | {
  |    c.close();
  | }
  | 

Most good compilers will fail to compile it, because it will tell you that 
c could be uninitalized in the finally block usage.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021064#4021064

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021064



More information about the jboss-user mailing list