Avatar of btocakci
btocakci
Flag for Türkiye

asked on 

hibernate composite key

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?
Java EEJava

Avatar of undefined
Last Comment
josephtsang

8/22/2022 - Mon