I have a mature project which is using Hibernate as JPA provider. All queries are HQL queries.
Now the requirement is changed for using a composite key on a table that I use frequently. For this, I think I need to use an embedded primary key class thus change all my queries. Can you give me some ideas for coping with this issue with as few modifications as possible?