Re: NUMERIC default scale behaves differently on Derby & SQL Server

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Aug 11 2008 - 18:26:43 EDT

  • Next message: Kevin Menard: "Re: Call a service, but still with one DataContext"

    On Aug 9, 2008, at 12:18 PM, Øyvind Harboe wrote:

    > I guess the problem I see is that I test only against one or two
    > databases
    > so I'd rather see the *same* behaviour across databases regardless
    > of what
    > JDBC is defined to do...

    I understand.

    > We flipped scale="2" for all our NUMERIC types
    > since that is what our application assumes.

    I think this is the "correct solution" as it explicitly tells the
    driver what to do leaving no room for ambiguity. I am still unsure
    about what the Cayenne default behavior should be (when there's no
    scale set).

    Andrus



    This archive was generated by hypermail 2.0.0 : Mon Aug 11 2008 - 18:27:17 EDT