Skip to content

Commit aa13565

Browse files
committed
Prep 7.3 release
1 parent e99ba3a commit aa13565

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
import org.hibernate.id.BulkInsertionCapableIdentifierGenerator;
7171
import org.hibernate.id.IdentifierGenerator;
7272
import org.hibernate.id.OptimizableGenerator;
73+
import org.hibernate.internal.util.collections.ArrayHelper;
7374
import org.hibernate.persister.filter.internal.FilterHelper;
7475
import org.hibernate.internal.util.ImmutableBitSet;
7576
import org.hibernate.internal.util.IndexedConsumer;
@@ -147,7 +148,6 @@
147148
import org.hibernate.metamodel.spi.EntityRepresentationStrategy;
148149
import org.hibernate.metamodel.spi.MappingMetamodelImplementor;
149150
import org.hibernate.metamodel.spi.RuntimeModelCreationContext;
150-
import org.hibernate.models.internal.util.CollectionHelper;
151151
import org.hibernate.persister.collection.CollectionPersister;
152152
import org.hibernate.persister.entity.mutation.DeleteCoordinator;
153153
import org.hibernate.persister.entity.mutation.DeleteCoordinatorSoft;
@@ -2696,7 +2696,7 @@ protected EntityTableMapping getTableMapping(int i) {
26962696

26972697
@Override
26982698
public void forEachTableDetails(Consumer<TableDetails> consumer) {
2699-
CollectionHelper.forEach( getTableMappings(), consumer );
2699+
ArrayHelper.forEach( getTableMappings(), consumer );
27002700
}
27012701

27022702
/**

migration-guide.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ See the link:{releaseSeriesBase}#whats-new[website] for the list of new features
4343

4444
This section describes changes to contracts (classes, interfaces, methods, etc.) which are considered https://hibernate.org/community/compatibility-policy/#api[API].
4545

46+
[[columns-annotation]]
47+
=== Removed @Columns
48+
4649
The obsolete `@Columns` annotation was removed, since this is no longer used.
4750

4851

@@ -134,6 +137,11 @@ Such changes typically do not impact programs using a relational schema managed
134137

135138
Columns mapped by `@Version` fields are now declared `not null` by default.
136139

140+
[NOTE]
141+
====
142+
"By default" in the sense that users no longer need to specify `nullable=false` for these columns. Hibernate has never supported NULL values in version columns.
143+
====
144+
137145
[[dependency-changes]]
138146
== Changes in Dependencies
139147

0 commit comments

Comments
 (0)