Skip to content

Commit e11eab7

Browse files
committed
Update to a more complicated data model with joins
1 parent 8e71448 commit e11eab7

3 files changed

Lines changed: 0 additions & 18 deletions

File tree

quarkus3-spring-compatibility/src/main/java/org/acme/domain/StoreFruitPriceId.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ public record StoreFruitPriceId(
1212
public StoreFruitPriceId(Store store, Fruit fruit) {
1313
this((store != null) ? store.getId() : null, (fruit != null) ? fruit.getId() : null);
1414
}
15-
16-
// JPA needs a no-arg constructor; records don't have it, but most providers support record components.
17-
// If your JPA provider requires, keep a synthetic no-arg constructor:
18-
// public StoreFruitPriceId() {
19-
// this(null, null);
20-
// }
2115
}

quarkus3/src/main/java/org/acme/domain/StoreFruitPriceId.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ public record StoreFruitPriceId(
1212
public StoreFruitPriceId(Store store, Fruit fruit) {
1313
this((store != null) ? store.getId() : null, (fruit != null) ? fruit.getId() : null);
1414
}
15-
16-
// JPA needs a no-arg constructor; records don't have it, but most providers support record components.
17-
// If your JPA provider requires, keep a synthetic no-arg constructor:
18-
// public StoreFruitPriceId() {
19-
// this(null, null);
20-
// }
2115
}

springboot3/src/main/java/org/acme/domain/StoreFruitPriceId.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ public record StoreFruitPriceId(
1212
public StoreFruitPriceId(Store store, Fruit fruit) {
1313
this((store != null) ? store.getId() : null, (fruit != null) ? fruit.getId() : null);
1414
}
15-
16-
// JPA needs a no-arg constructor; records don't have it, but most providers support record components.
17-
// If your JPA provider requires, keep a synthetic no-arg constructor:
18-
// public StoreFruitPriceId() {
19-
// this(null, null);
20-
// }
2115
}

0 commit comments

Comments
 (0)