There's no issue here. I'll quote the Java naming conventions for Constants (e.g. Enum included):
The names of variables declared class constants and of ANSI constants should be all uppercase with words separated by underscores ("_"). (ANSI constants should be avoided, for ease of debugging.)
Therefore, Chinese characters or any other non-uppercase letters are not valid for Constants. You should stick to English, and uppercase ASCII letters anyway. The test is failing because Hibernate cannot determine the actual type of the sum operation., which is definitely different from this issue. |