Wrong data type for source attribute of a relationship?

From: Walter Haas (gerade.wiede..bwesend.de)
Date: Mon Mar 10 2008 - 15:30:09 EDT

  • Next message: Andrus Adamchik: "Re: 3-tier architecture"

    Hello,

    after creating a relationship which uses a column of the mapped type double
    (decimal in db) as source field, the type cast of the readProperty method
    throws an exception. It seems that the value is stored as BigDecimal if the
    field is used in a relationship!?

    This happens in Cayenne 3.02M and 3.03M (used with JayBird/FireBird).
    Is this intendet behaviour? Any way to prevent this from happening?

    -- 
    View this message in context: http://www.nabble.com/Wrong-data-type-for-source-attribute-of-a-relationship--tp15951944p15951944.html
    Sent from the Cayenne - User mailing list archive at Nabble.com.
    



    This archive was generated by hypermail 2.0.0 : Mon Mar 10 2008 - 15:30:46 EDT