title: Mapping a SQL View with no Primary Key to JPA Entity
body: <p>In my Java App I want to get information that is stored in my Oracle Database, using JPA.
  In my Database I have a View, with a set of columns that I got from some other tables. I want to map that View. However, my <strong>View doesn't have a Primary Key</strong>, so I can't create a JPA Entity. I thought about <strong>use 2 columns as Foreign Keys</strong>.</p>
  
  <p>What's the best way of implementing that? I've seen so many different approaches, that I can't decide which is the best for this case.</p>