Skip to content
Advertisement

Tag: star-schema

Mapping a Star Schema with Spring Boot JPA

I’m struggling to identify the right annotations to use to map a star schema with Spring Boot JPA. Let’s consider 3 tables: DIM_One (1)——–(1..n) FACT (1..n) ———— (1) DIM_Two DIM_One and DIM_Two both have an id that is their primary key. FACT’s primary key is the combination of (DIM_One_pk, DIM_Two_pk) For now, the annotations in my DIM tables are similar

Advertisement