This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Given existing entity classes, one can create either an EJB facade for these classes, or a JPA controller. However, the generated code is quite inconsistent between the two: - names of the finder methods that return all entities: findCustomerEntities() (controller) vs. findAll() (facade) - names and parameter type of the finder methods that return a single entity: findCustomer(Integer id) vs. find(Object id) - finder parameters when finding a subset of results: (int maxresults, int firstresult) vs. (int[] range) - there seems to be a difference in the TRANSACTIONAL vs. EXTENDED persistence context type and the closing of EntityManager (but I guess that's understandable)
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.