Community
Participate
Working Groups
IMHO it would be a good addition to Dali if it could provide DAO generation for entities. The DAO would have simple methods for creating, deleting and saving entities and perform a lookup based on the primary key (#findByPrimaryKey). The DAO should also provide simple transaction management and hide the EntityManager/EntityManagerFactory handling by applying IoC technologies. Later on, Dali could use the information available in NamedQuery annotations to generate even more find... methods. For example, if a NamedQuery "fraudOrders" exists it could generate a method "findFraudOrders".
Moving JPA specific bugs to new JPA component in bugzilla.