Hello List,
I recently updated to Eclipse Oxygen and somewhere in the process my
EOGenerator behavior has been changed. Specifically, where it used to generate
“set” functions like this:
public void setMiscState1(Boolean value) {
if (_Entry.LOG.isDebugEnabled()) {
_Entry.LOG.debug( "updating miscState1 from " + miscState1() + " to " +
value);
}
takeStoredValueForKey(value, _Entry.MISC_STATE1_KEY);
}
It’s now generating them like below, which causes a null pointer exception when
miscState1() happens to return null.
public void setMiscState1(Boolean value) {
log.debug( "updating miscState1 from {} to {}", miscState1(), value);
takeStoredValueForKey(value, _Entry.MISC_STATE1_KEY);
}
Any idea how I can get back my old EOGenerator functionality? I have tried
following the instructions here:
https://wiki.wocommunity.org/display/WOL/EOGenerator
<https://wiki.wocommunity.org/display/WOL/EOGenerator> and I specified the
wondierEntity files in my EOGenerator preferences as suggested.
Thanks!
Jeff _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]