Uses of Class
org.adempiere.exceptions.DBException
Package
Description
This is the package that contains the majority of iDempiere's generated model class and interface.
Provide majority of iDempiere's extended model class (M*).
Provide majority of iDempiere's extended model class (M*).
Provide implementation for conversion of amount to word.
Provide global cache, server log, JDBC interface, Transaction and Email implementation.
Provide global cache, server log, JDBC interface, Transaction and Email implementation.
-
Uses of DBException in org.compiere.model
Modifier and TypeMethodDescriptionAggregate given expression on this criteria<T> T
Aggregate given expression on this criteriaint
Query.count()
Count items that match query criteriastatic int
Delete Fact_Acct records via table and record id<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.Query.getSQL()
red1 - returns full SQL string - for caller needsboolean
POResultSet.hasNext()
Query.iterate()
Return an Iterator implementation to fetch one PO at a time.Query.list()
Return a list of all po that match the query criteria.boolean
Query.match()
Check if there items for query criteriaPOResultSet.next()
<T extends PO>
POResultSet<T>Query.scroll()
Return a simple wrapper over a jdbc resultset.Query.stream()
Return an Stream implementation to fetch one PO at a time. -
Uses of DBException in org.compiere.util
Modifier and TypeMethodDescriptionstatic int
DB.executeUpdateEx
(String sql, Object[] params, String trxName) Execute update and throw DBException if there are errors.static int
DB.executeUpdateEx
(String sql, Object[] params, String trxName, int timeOut) Execute update and throw DBException if there are errors.static int
DB.executeUpdateEx
(String sql, String trxName) Execute update and throw DBException if there are errors.static int
DB.executeUpdateEx
(String sql, String trxName, int timeOut) Execute update and throw DBException if there are errors.static int[]
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 Timestamp Value from sql
DBException
and will be removed in future.