Code example for Statement

Methods: closeexecute

0
      try     
      { 
         Statement s = c.createStatement();
         try 
         { 
            s.execute(sql);
            return null; 
         } 
         finally 
         { 
            s.close();
         } 
      } 
      catch (SQLException e)
      { 
         return e;
      } 
   } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE