1. unable to use combination of bean managed entity manager and named query in pojo stackoverflow.comI've a repository (POJO) where I have to collect the collection of an entity which is immutable. In this repository, I'm creating an entitymanager via entityManagerFactory and using it to execute a ... |
2. How to map returned cursor to a POJO / Bean in Hibernate? coderanch.comHi I have a requirement where I need to create an object based on soem big calculation. The result is from 2-3 tables and I am using an Oracle Stored procedure for the same. The stored procedure will return a cursor. Now how can I map the cursor directly to some Java class / POJO using EJB3 / hibernate? As I ... |