Examples of DBRuntimeException


Examples of org.olat.core.logging.DBRuntimeException

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

Examples of org.olat.core.logging.DBRuntimeException

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

Examples of org.olat.core.logging.DBRuntimeException

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

Examples of org.olat.core.logging.DBRuntimeException

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

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

Examples of org.olat.core.logging.DBRuntimeException

  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

Examples of org.olat.core.logging.DBRuntimeException

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

Examples of org.olat.core.logging.DBRuntimeException

  public Object uniqueResult() {
    try {
      return query.uniqueResult();
    }
    catch (HibernateException e) {
      throw new DBRuntimeException("DBQuery error. ", e);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.