Re: jdbc connection - Mailing list pgsql-jdbc

From Paul Stead
Subject Re: jdbc connection
Date
Msg-id BNENLMOEFCOIEGKDJMLLMEABCFAA.pstead@elementallogic.com
Whole thread Raw
In response to jdbc connection  ("michel verplancke" <michel.verplancke@wanadoo.be>)
List pgsql-jdbc
Just a real quick look, but it seems to me that you're closing your connection before you use it....
 
      if( con != null) 
       {
         try { con.close(); }                          You're closing it here
         catch( Exception e2 ) {}
      }
    try
     {
  result = stmt.executeQuery(Valquery);          
IT's HERE THAT I GET THE PROBLEM !!!!!!!
     }

pgsql-jdbc by date:

Previous
From: "michel verplancke"
Date:
Subject: jdbc connection
Next
From: Abel Muiño
Date:
Subject: Re: jdbc connection