Re: Using Cayenne-alpha-3

From: Andrus (andru..bjectstyle.org)
Date: Sun Sep 15 2002 - 20:16:01 EDT

  • Next message: Andrus: "Re: Serialization of DataContext"

    Umm... time for Alpha 3-2 :-( I will file a bug report on that. Here how
    to fix it though. It is simple, see inline for each error:

    At 08:01 PM 9/15/2002 -0400, Joseph Rajkumar wrote:
    >action/SavePaintingAction.java:56: cannot resolve symbol
    >symbol : variable SEVERE
    >location: class org.apache.log4j.Level
    > ctxt.commitChanges(Level.SEVERE);

    ctxt.commitChanges(Level.WARN);

    >action/SubmitPaintingToGalleryAction.java:42:
    >setLogLevel(java.util.logging.Level) in
    >org.objectstyle.cayenne.query.AbstractQuery cannot be applied to
    >(org.apache.log4j.Level)
    > query.setLogLevel(Level.ERROR);

    query.setLoggingLevel(Level.WARN);

    >action/SubmitPaintingToGalleryAction.java:57:
    >setLogLevel(java.util.logging.Level) in
    >org.objectstyle.cayenne.query.AbstractQuery cannot be applied to
    >(org.apache.log4j.Level)
    > query.setLogLevel(Level.WARN);
    > ^

    query.setLoggingLevel(Level.WARN);

    Andrus



    This archive was generated by hypermail 2.0.0 : Sun Sep 15 2002 - 21:30:15 EDT