I don't want to sound snarky, but did you read the linked issue and discussion there?
In short, tou have a few options:
* Enable the flag, and ship a known security bug, allowing attackers to potentially run untrusted code in your server,
* Leave the flag disabled and split your DTOs from your entities, so that the security issue can't happen, or
* Contribute (through time or funding someone else's time) one of the proposed fixes, so that the feature can be safely reenabled.
This has been discussed a few times, and at this time (just over a year since we first shipped that flag) it doesn't appear that anyone has been interested in actually fixing it, suggesting to me that either most projects are content with allowing users to run arbitrary code on their server (...unlikely), or that the use of JPA annotations on DTOs was actually not necessary for their project and removing the annotations was an easy solution.
Fixing the bug in GWT itself fixes it once for everyone, but that requires development, review, testing time, and so far no one is interested.