Package org.olat.core.logging

Examples of org.olat.core.logging.DBRuntimeException


  public DBQuery setParameterList(String name, Object[] vals, Type type) {
    try {
      query.setParameterList(name, vals, type);
    }
    catch (HibernateException e) {
      throw new DBRuntimeException("DBQuery error. ", e);
    }
    return this;
  }
View Full Code Here


  public DBQuery setParameterList(String name, Object[] vals) {
    try {
      query.setParameterList(name, vals);
    }
    catch (HibernateException e) {
      throw new DBRuntimeException("DBQuery error. ", e);
    }
    return this;
  }
View Full Code Here

  public DBQuery setProperties(Object bean) {
    try {
      query.setProperties(bean);
    }
    catch (HibernateException e) {
      throw new DBRuntimeException("DBQuery error. ", e);
    }
    return this;
  }
View Full Code Here

  public Object uniqueResult() {
    try {
      return query.uniqueResult();
    }
    catch (HibernateException e) {
      throw new DBRuntimeException("DBQuery error. ", e);
    }
  }
View Full Code Here

TOP

Related Classes of org.olat.core.logging.DBRuntimeException

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.