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
you could just use @EmbeddedId as follows:
@EmbeddedId public Id getId() { return id; } public void setId(Id id) { this.id = id; }