mmohamm2 / struts2-crud-framework

Automatically exported from code.google.com/p/struts2-crud-framework
0 stars 0 forks source link

Add Entity Name field to Abstract Manager #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add a field named entityName so that queries can be written without hardcoding 
class names. Example:

Query query = em.createQuery("SELECT y FROM " + entityName + " y WHERE y.userId 
= :userId");

Original issue reported on code.google.com by etwilliams1985 on 7 Jan 2013 at 8:27