Package org.jboss.arquillian.persistence.core.exception

Examples of org.jboss.arquillian.persistence.core.exception.ScriptExecutionException


         statement = connection.createStatement();
         statement.execute(sqlStatement);
      }
      catch (Exception e)
      {
         throw new ScriptExecutionException("Unable to execute statement: " + sqlStatement, e);
      }
      finally
      {
         if (statement != null)
         {
            try
            {
               statement.close();
            }
            catch (SQLException e)
            {
               throw new ScriptExecutionException("Unable to close statement after script execution.", e);
            }
         }
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.persistence.core.exception.ScriptExecutionException

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.