Skip to content

Commit 97899e6

Browse files
authored
Merge pull request #31440 from njr-11/29459-entity-with-multiple-of-same-embeddable
entity with multiple of same embedded type
2 parents 10c8956 + 578d9c9 commit 97899e6

File tree

1 file changed

+3
-3
lines changed
  • dev/io.openliberty.data.internal_fat_jpa/test-applications/DataJPATestApp/src/test/jakarta/data/jpa/web

1 file changed

+3
-3
lines changed

dev/io.openliberty.data.internal_fat_jpa/test-applications/DataJPATestApp/src/test/jakarta/data/jpa/web/Segment.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2024 IBM Corporation and others.
2+
* Copyright (c) 2024,2025 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License 2.0
55
* which accompanies this distribution, and is available at
@@ -30,15 +30,15 @@ public class Segment {
3030

3131
@Embedded
3232
@Column(nullable = false)
33-
@AttributeOverrides( // TODO remove once #29459 is fixed (if it is valid)
33+
@AttributeOverrides( // required by EclipseLink to have 2 of same embedded type
3434
{ @AttributeOverride(name = "x", column = @Column(name = "POINTAX")),
3535
@AttributeOverride(name = "y", column = @Column(name = "POINTAY"))
3636
})
3737
public Point pointA;
3838

3939
@Embedded
4040
@Column(nullable = false)
41-
@AttributeOverrides( // TODO remove once #29459 is fixed (if it is valid)
41+
@AttributeOverrides( // required by EclipseLink to have 2 of same embedded type
4242
{ @AttributeOverride(name = "x", column = @Column(name = "POINTBX")),
4343
@AttributeOverride(name = "y", column = @Column(name = "POINTBY"))
4444
})

0 commit comments

Comments
 (0)