Menu

#3 Timestamp issues

open-fixed
Runtime (1)
5
2005-07-16
2005-06-30
Anonymous
No

When I have an entity object with an attribute of type
oracle.jbo.domain.Date the AdfValueTranslator errors
out during runtime when it tries to convert the date.
Here is the applicable section from my stack trace:

Caused by: java.lang.NoSuchMethodError:
java.sql.Timestamp
oracle.jbo.domain.Date.timestampValue() at
org.valueobjects.runtime.adf.AdfValueTranslator.getDate
(AdfValueTranslator.java:52) at
fastenal.wms.vo.WmsLocationInventory.setLastCcDt
(WmsLocationInventory.java:306)

Discussion

  • Zak Mandhro

    Zak Mandhro - 2005-07-02
    • status: open --> open-accepted
     
  • Zak Mandhro

    Zak Mandhro - 2005-07-16

    Logged In: YES
    user_id=166673

    Seems like a JBO multiple classes issue. VO Runtime Ant
    compiles AdfValueTranslator just fine but JDeveloper code
    insight highlights timestampValue as a non-existing method.
    Needs more research.

     
  • Zak Mandhro

    Zak Mandhro - 2005-07-16

    Logged In: YES
    user_id=166673

    Using new value.getValue() method to return java.util.Date

     
  • Zak Mandhro

    Zak Mandhro - 2005-07-16

    Logged In: YES
    user_id=166673

    Fixed in RC2.

     
  • Zak Mandhro

    Zak Mandhro - 2005-07-16
    • status: open-accepted --> open-fixed
     

Log in to post a comment.