Hello,
Today, while building EntityGraph annotations, we cannot use attributes provided by the generated metamodels.
If metamodels contained also each attribute name as a String constant, we could use them while building EntityGraphs. Something like: {code:java} public abstract class UserWithPassword_ {
public static volatile SingularAttribute<UserWithPassword, String> password; public static final String PASSWORD = "password"; } {code} If hope you will accept it as I am going to create a pull request for this feature.
|