bean « POJO « JPA Q&A





1. unable to use combination of bean managed entity manager and named query in pojo    stackoverflow.com

I'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.com

Hi 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 ...