We stopped supporting FireBird some time back due to the lack of
qualified volunteers, so I don't remember all the issues that we had
with it. But still this seems weird... Just to doublecheck, what Java
and DB type you entered for the object attribute and the corresponding
column in the Modeler?
Also is this column an FK? Meaningful FK's are generally a bad idea.
I'd recommend you get the value via a related object instead.
Andrus
On Mar 10, 2008, at 9:30 PM, Walter Haas wrote:
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?