Data Types

The data types for the internal value objects for database operations include a long data type as well as all of the data types that are available for business function calls. You use the long data type in a database operation to show how many rows were updated, inserted, or deleted.

This table shows the data types for published value objects that expose database operations:

Published Value Object Data Type

Usage

java.lang.String

Use for string and char fields.

java.util.Calendar

Use for all JDEDate and UTIME fields in JD Edwards EnterpriseOne.

java.lang.Integer

Use for MathNumeric fields defined with 0 decimals, for example, mnAddressNumber and mnShortItemNumber.

java.lang.BigDecimal

Use for MathNumeric fields defined with >0 decimals, for example, mnPurchaseUnitPrice.

java.lang.Boolean

Use for char fields specified only as true/false or 0/1 Boolean fields.

long

Use only in response value object for number of rows returned, number of rows inserted, number of rows updated, number of rows deleted, as returned from the database.

This table shows the data types for internal value objects that expose database operations:

Internal Value Object Data Type

Usage

oracle.e1.bssvfoundation.util.MathNumeric

Use for all fields declared as numeric in JD Edwards EnterpriseOne.

java.lang.Integer

Use for JD Edwards EnterpriseOne ID fields.

java.util.Date

Use for all JDEDate fields.

java.util.GregorianCalendar

Use for UTIME fields in JD Edwards EnterpriseOne.

long

Use only in response value object for number of rows inserted, number of rows updated, number of rows deleted, as returned from the database.