Primary key « Stored Procedure « JPA Q&A





1. Stored Procedures and Primary Keys    forum.hibernate.org

Hi, I have a situation where I need to call stored procedures to access some legacy data. In this situation I don't update just read. Hibernate requires me to define a primary key. With the data I have there really isn't a primary key. I tried to just define the entire record as the PK. I'm having a problem in that ...