Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 3ba90c004cd00fc584e7b6a6bb554783ddddc761
https://github.com/hibernate/hibernate-orm/commit/3ba90c004cd00fc584e7b6a...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-26 (Sat, 26 Nov 2022)
Changed paths:
M
documentation/src/test/java/org/hibernate/userguide/schema/UniqueConstraintTest.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CUBRIDDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2iLegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/unique/InformixUniqueDelegate.java
M
hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/relational/SqlStringGenerationContext.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/UniqueConstraintHolder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2400V7R3Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
A
hibernate-core/src/main/java/org/hibernate/dialect/unique/AlterTableUniqueDelegate.java
A
hibernate-core/src/main/java/org/hibernate/dialect/unique/CreateTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/DB2UniqueDelegate.java
M
hibernate-core/src/main/java/org/hibernate/dialect/unique/DefaultUniqueDelegate.java
R hibernate-core/src/main/java/org/hibernate/dialect/unique/MySQLUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/Value.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardIndexExporter.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardSequenceExporter.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableCleaner.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M
hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardUniqueKeyExporter.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetomany/Trainer.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/MySQLDropConstraintThrowsExceptionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hbm/uk/UniqueDelegateTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/inheritance/tableperclass/SchemaCreationTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/uniqueconstraint/UniqueConstraintDropTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/uniqueconstraint/UniqueConstraintGenerationTest.java
Log Message:
-----------
HHH-15762 nicer DDL for unique constraints
- prefer 'unique' in 'create table' except in migrations
- also ignore unique=true for PK column
- introduce AlterTableUniqueDelegate and CreateTableUniqueDelegate
- fix the tests / delete test that makes no sense now
- improve javadoc of UniqueDelegate
Commit: 13f4c8c2853af13c1dfb96ec157295c4f96a3d6e
https://github.com/hibernate/hibernate-orm/commit/13f4c8c2853af13c1dfb96e...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-26 (Sat, 26 Nov 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
Log Message:
-----------
light refactoring
Commit: dd50e1e28ef9b56992b394e53eb570308d5ea06a
https://github.com/hibernate/hibernate-orm/commit/dd50e1e28ef9b56992b394e...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-11-26 (Sat, 26 Nov 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/ForeignKey.java
Log Message:
-----------
add message/@deprecated a member that Hibernate ignores
Compare:
https://github.com/hibernate/hibernate-orm/compare/41fb50f18ec2...dd50e1e...