File tree Expand file tree Collapse file tree
quarkus3-spring-compatibility/src/main/java/org/acme/domain
quarkus3/src/main/java/org/acme/domain
springboot3/src/main/java/org/acme/domain Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments