When specifying a @Min(?L) and @Max(?L) annotation on an entity field the DataOnDemand aspect that gets generated for that entity contains a compilation error. Code that gets generated for
Note the greater than condition is invalid.
This only seems to happen when both a @Min and @Max annotations are present together. Having either on it's own works fine.