KamoCRM

Add @IdClass for MediaObjTransit so Spring Data JPA can expose its derived ID

Fixkamo-shared-library
Shipped
1 மே, 2026 அன்று 7:31 AM UTC
Author
Kamo
Commit
094e80d

Spring Data's metamodel requires @IdClass for entities whose primary key is a @Id @OneToOne derived identifier. Without it, JpaRepository<MediaObjTransit, UUID> fails to initialize at startup with "does not define an IdClass".

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing