|
12 | 12 | import java.util.Iterator; |
13 | 13 | import java.util.List; |
14 | 14 |
|
15 | | -import org.hibernate.mapping.BasicValue; |
16 | 15 | import org.hibernate.mapping.Column; |
17 | 16 | import org.hibernate.mapping.ForeignKey; |
18 | | -import org.hibernate.mapping.KeyValue; |
19 | 17 | import org.hibernate.mapping.PrimaryKey; |
20 | 18 | import org.hibernate.mapping.Table; |
21 | 19 | import org.hibernate.tool.orm.jbt.internal.factory.ColumnWrapperFactory; |
22 | 20 | import org.hibernate.tool.orm.jbt.internal.factory.TableWrapperFactory; |
23 | | -import org.hibernate.tool.orm.jbt.internal.util.DummyMetadataBuildingContext; |
24 | 21 | import org.junit.jupiter.api.BeforeEach; |
25 | 22 | import org.junit.jupiter.api.Test; |
26 | 23 |
|
@@ -164,12 +161,14 @@ public void testIsPhysicalTable() { |
164 | 161 | assertTrue(tableWrapper.isPhysicalTable()); |
165 | 162 | } |
166 | 163 |
|
| 164 | + // Methods 'Table#getIdentifierValue()' and 'Table.setIdentifierValue(KeyValue)' were removed since Hibernate 7.0.0.Alpha3 |
| 165 | + // TODO See JBIDE-29213 |
167 | 166 | @Test |
168 | 167 | public void testGetIdentifierValue() { |
169 | | - KeyValue value = new BasicValue(DummyMetadataBuildingContext.INSTANCE); |
| 168 | +// KeyValue value = new BasicValue(DummyMetadataBuildingContext.INSTANCE); |
170 | 169 | assertNull(tableWrapper.getIdentifierValue()); |
171 | | - wrappedTable.setIdentifierValue(value); |
172 | | - assertSame(value, tableWrapper.getIdentifierValue().getWrappedObject()); |
| 170 | +// wrappedTable.setIdentifierValue(value); |
| 171 | +// assertSame(value, tableWrapper.getIdentifierValue().getWrappedObject()); |
173 | 172 | } |
174 | 173 |
|
175 | 174 | } |
0 commit comments