Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot create an object of type:oracle.jbo.domain.Date from type:java.sql.Timestamp

Olive87Aug 17 2017 — edited Aug 22 2017

Hi All,

I get the below error in the date field when I enter the date as" 18/07/20177". The field is based on entity based view object and its data type is given as oracle.jbo.domain.Date yet I get the below error.Kindly help me. My jspx coding is as below.

<af:column headerText="#{bindings.Vo.hints.DOB.label}"

                                           id="c10" width="135px">

              \<af:inputDate value="#{row.bindings.DOB.inputValue}"                                                     

                                                  id="dateId">

                                        \<f:validator binding="#{row.bindings.DOB.validator}"/>

                                        \<af:convertDateTime pattern="#{bindings.Vo.hints.DOB.format}"/>                                         

             \</af:inputDate>

</af:column>

Error thrown :

pastedImage_0.png

Thank you.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2017
Added on Aug 17 2017
6 comments
722 views