/** This method used to release the conection back to the Connection Pool */
 public void release() throws ConnectException, RemoteException {
   try {
     if (conn != null) {
       conn.close();
       conn = null;
     }
   } catch (Exception ex) {
     throw new ConnectException("Database connection not released in workorderdetailBean");
   }
 }