Menu

#267 CMP mapping NULL columns to primitives

v3.0 Rabbit Hole
open-accepted
nobody
JBossCMP (86)
5
2003-08-17
2002-08-23
No

If a column in the database is mapped to a CMP field
that cannot be set to this value, the error didn't give
much help for pinpointing the error. I got this problem
with NULL columns that were mapped to ints and
booleans.

This patch prints a more helpful message on the error
log: "Failed to set CMP field public int foo to null" etc.

This is related to bug #504246.

Discussion

  • Martin Vilcans

    Martin Vilcans - 2002-08-23

    patch file (diff -u)

     
  • Dain Sundstrom

    Dain Sundstrom - 2002-08-24
    • milestone: --> v3.0 Rabbit Hole
    • assigned_to: nobody --> dsundstrom
    • status: open --> open-accepted
     
  • Dain Sundstrom

    Dain Sundstrom - 2003-08-17
    • assigned_to: dsundstrom --> nobody
     
  • Dain Sundstrom

    Dain Sundstrom - 2003-08-17

    Logged In: YES
    user_id=251431

    I am no no longer a JBoss committer, so I am unable to apply
    any patches.

     

Log in to post a comment.