Re: [JIRA] Commented: (CAY-811) Meaningful identity columns: user provided PK values are ignored

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Thu Aug 02 2007 - 08:59:24 EDT

  • Next message: Andrus Adamchik: "Re: newbie maven junit question"

    On Aug 2, 2007, at 3:52 PM, Tore Halset wrote:

    > On Aug 2, 2007, at 14:43 , Tore Halset wrote:
    >
    >> Handling null as 0 can probably lead to other problems as well.
    >> Perhaps 'NullNumber extends Number' could be used? Or creating a
    >> (empty) Null-interface and then subclass Integer, Long and so on?
    >
    > The last one would not work as Integer is final.
    >
    > - Tore.

    I didn't quite understand the proposed solution (aside from the
    "final" thing). What are we going to use NullNunber for? Could maybe
    post some code examples?

    Andrus



    This archive was generated by hypermail 2.0.0 : Thu Aug 02 2007 - 08:59:48 EDT