I have just used org.apache.openjpa.persistence.meta.AnnotationProcessor6
to generate the MetaModel for my JPA2 entities.
@javax.annotation.Generated
(value="org.apache.openjpa.persistence.meta.AnnotationProcessor6",
date="Tue Nov 22 09:49:03 CET 2011")
public class Entity_ {
public static volatile SingularAttribute<Entity,Entity> id;
public static volatile SingularAttribute<Entity,String> value;
public static volatile SingularAttribute<Entity,String> order;
}
Can someone please explain why the attributes are marked volatile in this case?
Thanks.