| Package | Description |
|---|---|
| org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
| org.apache.empire.db.expr.column |
This package contains SQL-generator classes for column expressions.
|
| Modifier and Type | Method and Description |
|---|---|
DBValueExpr |
DBDatabase.getNullExpr()
Creates and returns a value expression for NULL
|
DBValueExpr |
DBDatabase.getParamExpr(DBCmdParam param)
Creates and returns a value expression for a command parameter
|
DBValueExpr |
DBDatabase.getSystemDateExpr()
Creates and returns a value object for the database systems
current date and time.
|
DBValueExpr |
DBDatabase.getValueExpr(BigDecimal value)
Creates and returns a value object for the given string value.
|
DBValueExpr |
DBDatabase.getValueExpr(boolean value)
Creates and returns a value object for the given boolean value.
|
DBValueExpr |
DBCmdParam.getValueExpr(DBDatabase db)
Returns a value expression for this param
|
DBValueExpr |
DBDatabase.getValueExpr(int value)
Creates and returns a value object for the given integer value.
|
DBValueExpr |
DBDatabase.getValueExpr(long value)
Creates and returns a value object for the given long value.
|
DBValueExpr |
DBDatabase.getValueExpr(Object value,
DataType dataType)
Creates and returns a value object for the given scalar value.
|
DBValueExpr |
DBDatabase.getValueExpr(String value)
Creates and returns a value object for the given string value.
|
| Modifier and Type | Method and Description |
|---|---|
DBValueExpr |
DBValueExpr.autoParam()
Sets literal mode off, i.e. the value may passed as a parameter
and referenced by a ?
|
DBValueExpr |
DBValueExpr.literal()
Set literal mode, i.e. the value will be placed in the sql statement
Otherwise it may be automatically replaced by a parameter ?
|
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.