Package org.exoplatform.services.jcr.impl.storage.jdbc.backup

Examples of org.exoplatform.services.jcr.impl.storage.jdbc.backup.CleanException


            dbCleanHelper.clean();
         }
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
      finally
      {
         if (st != null)
         {
View Full Code Here


      {
         connection.commit();
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
   }
View Full Code Here

      {
         connection.rollback();
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
   }
View Full Code Here

      {
         connection.close();
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public void clean() throws CleanException
   {
      CleanException cleanExc = null;

      try
      {
         prepare();
         commit();
View Full Code Here

         }
         catch (SQLException rollbackException)
         {
            LOG.error("Can not rollback changes after exception " + e.getMessage(), rollbackException);
         }
         throw new CleanException(e.getMessage(), e);
      }
   }
View Full Code Here

         return dbCleaner;
      }
      catch (NamingException e)
      {
         throw new CleanException(e);
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
   }
View Full Code Here

         return new DBCleaner(jdbcConn, cleanScripts);
      }
      catch (SQLException e)
      {
         throw new CleanException(e);
      }
      catch (NamingException e)
      {
         throw new CleanException(e);
      }
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.storage.jdbc.backup.CleanException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.