Package es.twentymobile.mule.modules.jpa.exceptions

Examples of es.twentymobile.mule.modules.jpa.exceptions.JpaException


            return callback.process(executeJpaQuery(query, Boolean.FALSE, null, maxRes, startPos));
          }
        });
      } catch (Exception e) {
        log.error("Error processing jpa query " + query + " with transaction", e);
        throw new JpaException("Error processing jpa query", e);
      }
    } else {
      try {
        return callback.process(executeJpaQuery(query, Boolean.FALSE, null, maxRes, startPos));
      } catch (Exception e) {
        log.error("Error processing jpa query " + query + " without transaction", e);
        throw new JpaException("Error processing jpa query", e);
      }
    }

  }
View Full Code Here


    } catch (Exception e) {
      log.error("Error querying with JPA Transport", e);
      if (etx != null && etx.isActive()) {
        etx.rollback();
      }
      throw new JpaException("Error querying with JPA. Query: " + query, e);
    }
  }
View Full Code Here

    } catch (Exception e) {
      log.error("Error executing JPA query", e);
      if (etx != null && etx.isActive()) {
        etx.rollback();
      }
      throw new JpaException("Error querying database with QueryDSL: " + jpaQuery.getQuery(), e);
    }
  }
View Full Code Here

    } catch (Exception e) {
      log.error("Error executing JPA query", e);
      if (etx != null && etx.isActive()) {
        etx.rollback();
      }
      throw new JpaException("Error executing jpa strategy " + emStrategy, e);
    }

  }
View Full Code Here

TOP

Related Classes of es.twentymobile.mule.modules.jpa.exceptions.JpaException

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.