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 BigDecimal
Query. aggregate(String sqlExpression, String sqlFunction)
Aggregate given expression on this criteria<T> T
Query. aggregate(String sqlExpression, String sqlFunction, Class<T> returnType)
Aggregate given expression on this criteriaint
Query. count()
Count items that match query criteriastatic int
MFactAcct. deleteEx(int AD_Table_ID, int Record_ID, String trxName)
Delete Accounting<T extends PO>
TQuery. first()
Return first PO that match query criteriaint
Query. firstId()
Return first IDint
Query. firstIdOnly()
Return first ID.<T extends PO>
TQuery. firstOnly()
Return first PO that match query criteria.String
Query. getSQL()
red1 - returns full SQL string - for caller needsboolean
POResultSet. 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.boolean
Query. match()
Check if there items for query criteriaT
POResultSet. 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 class
DBException
Deprecated.This class was moved toDBException
and will be removed in future.Methods in org.compiere.util that throw DBException Modifier and Type Method Description static int
DB. executeUpdateEx(String sql, Object[] params, String trxName)
Execute Update and throw exception.static int
DB. executeUpdateEx(String sql, Object[] params, String trxName, int timeOut)
Execute Update and throw exception.static int
DB. executeUpdateEx(String sql, String trxName)
Execute Update and throw exception.static int
DB. 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 BigDecimal
DB. getSQLValueBDEx(String trxName, String sql, Object... params)
Get BigDecimal Value from sqlstatic BigDecimal
DB. getSQLValueBDEx(String trxName, String sql, List<Object> params)
Get BigDecimal Value from sqlstatic int
DB. getSQLValueEx(String trxName, String sql, Object... params)
Get int Value from sqlstatic Timestamp
DB. getSQLValueTSEx(String trxName, String sql, List<Object> params)
Get BigDecimal Value from sql
-