Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • In general we try to set proxy=true on reference and collection descriptors for performance reasons. 
    • In some cases this may require special code, though. And, in other cases it may just not be possible. 
  • When auto-update=true, there is often a problem with proxy=true
  • Another problem case is when there is a chance the reference can be null, and you are displaying a field of the reference (code is ok since you can use ObjectUtils.isNull); in this case set proxy="false"
  • If setting proxy=true doesn't work, explicitly set proxy=false rather than remove the setting altogether; this makes it clear that you didn't just forget teh proxy the proxy but instead you are purposefully turning it off.

...