Re: er.extensions.ERXGenericRecord.InverseRelationshipUpdater error?

From: Mike Schrag (mschra..dimension.com)
Date: Sat Mar 15 2008 - 20:32:31 EDT

  • Next message: Mike Schrag: "Re: updated wonder source, build path issues"

    You're using the built-in Wonder velocity templates, which are using
    the latest version of Project Wonder. Your Project Wonder is out-of-
    date.

    ms

    On Mar 15, 2008, at 7:47 PM, James Cicenia wrote:

    > My Eclipse is telling me this is bad without any explanation.
    >
    > er.extensions.ERXGenericRecord.InverseRelationshipUpdater
    >
    > It was created via the velogenerator.
    >
    > as in this generated method(it is in all my base classes which have
    > relationships):
    >
    > public void setUserRelationship(com.aweli.cpn.eo.User value) {
    > if (_Client.LOG.isDebugEnabled()) {
    > _Client.LOG.debug("updating user from " + user() + " to " +
    > value);
    > }
    > if
    > (er
    > .extensions
    > .ERXGenericRecord
    > .InverseRelationshipUpdater.updateInverseRelationships()) {
    > setUser(value);
    > }
    > else if (value == null) {
    > com.aweli.cpn.eo.User oldValue = user();
    > if (oldValue != null) {
    > removeObjectFromBothSidesOfRelationshipWithKey(oldValue,
    > "user");
    > }
    > } else {
    > addObjectToBothSidesOfRelationshipWithKey(value, "user");
    > }
    > }
    >
    >
    > Am I missing something? Or a switch, or ?
    >
    > Thanks
    > James Cicenia



    This archive was generated by hypermail 2.0.0 : Sat Mar 15 2008 - 20:33:30 EDT