0 Replies Latest reply on Feb 11, 2011 12:51 PM by Gerry Matte

    Logging documentation for Entity Beans

    Gerry Matte Newbie

      Section 4.6 Logging of the SEAM reference manual states It doesn't matter if you declare the log variable static or not - it will work either way, except for entity bean components which require the log variable to be static. 


      The sentence needs to be extended to say that the @Name annotation must also be used for logging with Entity beans.  If you omit the @Name, a NullPointerException is thrown when the first log statement executes.  Note that @Name is NOT generated by SEAM-GEN or the Eclipse wizard to Generate Entities.