I have a database view that yields a result set that has no true primary key. I want to use Hibernate/Persistence to map this result set onto Java objects. Of course, becaus
Modify your select used for view creation:
SELECT ROWNUM ID, -- or use nextval of some sequence -- other columns FROM TABLE
and map "ID" as primary key.