-
Sub-task
-
Resolution: Done
-
Major
-
2.12.2.Final
-
None
It would be useful to have a command to add a new JPA NamedQuery to an existing entity. A command such as :
jpa-new-named-query --named findAll --query select b from Book b
Would add to an existing entity the following code :
@Entity
@NamedQueries({
@NamedQuery(name = Book.FIND_ALL, query = "SELECT b FROM Book b")
})
public class Book implements Serializable
{
public static final String FIND_ALL = "Book.findAll";
...
}
- is blocked by
-
FORGE-2155 Upgrade to Roaster 2.10.0.Final
-
- Closed
-