Re: Entity/attribute/relationship terrible toString?
Re: Entity/attribute/relationship terrible toString?
- Subject: Re: Entity/attribute/relationship terrible toString?
- From: Jérémy DE ROYER via Webobjects-dev <email@hidden>
- Date: Tue, 2 Jun 2020 12:13:31 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ingencys.net; dmarc=pass action=none header.from=ingencys.net; dkim=pass header.d=ingencys.net; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aJBT0NQgHTf3u8p9rv00vihNFhL1F23dUdDo6hDByBI=; b=kMVZ5F4yPq3a6wLliBWtqy5vaiE/zxxlgzWNLKrb3k6eAs9M/XpIQBTZzk4bIgSBqT8wiCJnTMNkL3Rur8mBauBnl3oYSngP71wCV+bDkDdQ3nM0TnrBIMycKcdWfai0UhHG0pN9XOGbzfuw9x8ITPFNlonBpFTrEU49mHWn+EinQZkrv0H46m+UMQycY3IvckS7Yt2pDepLjcO0DcTTNT0tgIo3/p6YgdxMykrInWTMKZadmCqmErAmkxgPULuwO4o/gibzi1WZ2l/6Xxu/hE03kFGQXqSJJikXod0EbD39e3g+cBIAlFJTDaCGJhVIZ0gIfDbdFUhgXVYr/qFBNQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=No2I8brtSgdwv43GdA3Wc1hWZjGkxBvwy+wA9gnDvd6umM2zwyK2GfK1ABZxAdXvc4fqe6ceSh0Ld9e7s6Bmxe3gd/KMXZlSgG5wNBOR5ViSpCHHMlG1CDzwNYu1D2lv+XO3cSgQtXaoRa6sJXR/R0eBPljp0S7+fytFVxBA4Rr2amFeEtYvpW6LjeT6pWUqjE4LMP8eab0oBsy8XYeRbrHtOjTJSGdYV2SWw3H1ltYxMurEnr/cS9sLwuELf8sK1FThReCShUdB895uekiQoDibB2fr3yfqoAy8w/glzpn6FCESZWxDbyDUsa5XU2k2nn/yCH0oGqq9Qcx+LGY9Kg==
- Thread-topic: Entity/attribute/relationship terrible toString?
Have a look in Eclipse > Preferences > WOLips > EOGenerator to find your files
path.
Jérémy
Le 2 juin 2020 à 14:05, Paul Yu via Webobjects-dev
<email@hidden<mailto:email@hidden>> a écrit
:
There are two templates _EO and EO.java that are used by eogenerate to create
your EO classes. If you open your Eogenerate File you can see where your
templates are.
Paul
Sent from my iPhone
Please excuse iOS autocomplete
On Jun 2, 2020, at 7:04 AM, OCsite via Webobjects-dev
<email@hidden<mailto:email@hidden>> wrote:
Markus,
On 2 Jun 2020, at 12:09, Markus Ruggiero
<email@hidden<mailto:email@hidden>> wrote:
Why not simply override toString() in EOGenerate templates once and for all?
What are “EOGenerate templates” and how they affect the
entities/attributes/relationships toStrings? I can't find anything like that in
my WO documentation. Seems it might be the right solution... if I knew what it
is :)
Thanks!
OC
On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev
<email@hidden<mailto:email@hidden>> wrote:
Hi there,
occasionally, I need to put entities/attributes/relationships into complex
nested property lists. Occasionally for debug, I need to print out these
property lists.
Alas, entities/attributes/relationships normally print out their complete
contents in their toStrings, which makes the logs completely unuseable (and
when there's more of them in a property list, actually bogs down the
application so much it must be killed).
Isn't there some trick to make those darned model classes toString something
reasonable, e.g., just their class, name and hash?
Thanks,
OC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden