You can create a date and time format (display both) to display an ADF Business Components attribute value that is SQLType DATE, but you must first change the attribute type definition on the attribute's entity object to Timestamp.
To change the attribute's type:
Note: By default the attribute should show a type of Date to match its database column type.
To format an attribute with both date and time:
dd-MM-yyyy hh:mm:ss
Note: Although the Calendar picker does not fill in the time portion of the TIMESTAMP attribute, in this case, the formatter will supply a default value of zero hours, minutes, and seconds. The user may type a time into the input field and the format mask will still validate the entered value.
You can bind your ADF-enabled components to the Business Components attribute to display the formatted value.
In the case of an ADF UIX page, the date pattern you specify for a UIX component (such as messageDateField) must match the date formatting specified in the control hint. If you don't use the same pattern, you will get a runtime error.
About Control Hints for Business Components Clients
Copyright © 1997, 2004, Oracle. All rights reserved.