ODB2 allows JPA attributes to be public (which is great), but JPA does not.
So, in Netbeans, with attributes like this:
@Entity class A { public String name; }
I get compile time errors "Instance variable for persistent attribute must not be public"
How does one switch that off in Netbeans?