Skip to content

Commit 578d9c9

Browse files
committed
Issue #29459 entity with multiple of same embedded type
1 parent 2c8a765 commit 578d9c9

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)