Uses of Class
org.adempiere.exceptions.DBException
-
Packages that use DBException Package Description org.compiere.model Provides for....org.compiere.util -
-
Uses of DBException in org.compiere.model
Methods in org.compiere.model that throw DBException Modifier and Type Method Description BigDecimalQuery. aggregate(String sqlExpression, String sqlFunction)Aggregate given expression on this criteria<T> TQuery. aggregate(String sqlExpression, String sqlFunction, Class<T> returnType)Aggregate given expression on this criteriaintQuery. count()Count items that match query criteriastatic intMFactAcct. deleteEx(int AD_Table_ID, int Record_ID, String trxName)Delete Accounting<T extends PO>
TQuery. first()Return first PO that match query criteriaintQuery. firstId()Return first IDintQuery. firstIdOnly()Return first ID.<T extends PO>
TQuery. firstOnly()Return first PO that match query criteria.StringQuery. getSQL()red1 - returns full SQL string - for caller needsbooleanPOResultSet. hasNext()<T extends PO>
Iterator<T>Query. iterate()Return an Iterator implementation to fetch one PO at a time.<T extends PO>
List<T>Query. list()Return a list of all po that match the query criteria.booleanQuery. match()Check if there items for query criteriaTPOResultSet. next()<T extends PO>
POResultSet<T>Query. scroll()Return a simple wrapper over a jdbc resultset. -
Uses of DBException in org.compiere.util
Subclasses of DBException in org.compiere.util Modifier and Type Class Description classDBExceptionDeprecated.This class was moved toDBExceptionand will be removed in future.Methods in org.compiere.util that throw DBException Modifier and Type Method Description static intDB. executeUpdateEx(String sql, Object[] params, String trxName)Execute Update and throw exception.static intDB. executeUpdateEx(String sql, Object[] params, String trxName, int timeOut)Execute Update and throw exception.static intDB. executeUpdateEx(String sql, String trxName)Execute Update and throw exception.static intDB. executeUpdateEx(String sql, String trxName, int timeOut)Execute Update and throw exception.static int[]DB. getIDsEx(String trxName, String sql, Object... params)Get Array of IDsstatic BigDecimalDB. getSQLValueBDEx(String trxName, String sql, Object... params)Get BigDecimal Value from sqlstatic BigDecimalDB. getSQLValueBDEx(String trxName, String sql, List<Object> params)Get BigDecimal Value from sqlstatic intDB. getSQLValueEx(String trxName, String sql, Object... params)Get int Value from sqlstatic TimestampDB. getSQLValueTSEx(String trxName, String sql, List<Object> params)Get BigDecimal Value from sql
-