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

Fixkamo-shared-library
Shipped
May 1, 2026 at 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?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing