persistence
persistence copied to clipboard
entity names
AFAICS, the spec does define any restrictions on entity names except to specify their case-sensitivity.
But they are supposed to be used in JPQL, and in that context they can't be just arbitrary strings.
So I think we should explicitly specify that they should be legal Java identifiers.