New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HHH-11089: Invoke the physical strategy for foreign/index keys. #1564

Closed
wants to merge 103 commits into
base: 5.1
from

Conversation

Projects
None yet
@ptahchiev
Contributor

ptahchiev commented Sep 21, 2016

When creating foreign/index keys the physical strategy is not invoked
so the user has no way to change the resulting foreign/index key.
This prevents hibernate to be used with Oracle database where there's
restrictions on the length of foreign/index keys.

HHH-11089: Invoke the physical strategy for foreign/index keys.
When creating foreign/index keys the physical strategy is not invoked
so the user has no way to change the resulting foreign/index key.
This prevents hibernate to be used with Oracle database where there's
restrictions on the length of foreign/index keys.

domtoupin and others added some commits Nov 25, 2015

HHH-11061 - Attempt to resolve foreign key metadata from JDBC metadat…
…a failed to find column mappings for foreign when keywords auto quoting is enabled

(cherry picked from commit dc7a1c9)
HHH-11023 - Startup performance regression : schema update/validate
(cherry picked from commit de3153a)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
	hibernate-core/src/test/java/org/hibernate/test/tool/schema/IndividuallySchemaValidatorImplTest.java
HHH-11329 - fix tests on Oracle
fixes ORA-00972: identifier is too long on Oracle databases

(cherry picked from commit 4bf4e3b)
HHH-11132 - Add a Performance Tuning and Best Practices chapter
Add more details related to associations and fix typos

(cherry picked from commit cd41d71)
HHH-9864 - foreign key violation with order_inserts=true and batches …
…with mixed subclass entities

(cherry picked from commit 0c8261b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
HHH-11087 - Fix missing type contribution in dialect
Also fixes broken integration tests
HHH-11159 - Add test for issue
(cherry picked from commit 1c1fe2a)
HHH-11159 - JPA CriteriaUpdate, NnullLiteral causes IllegalArgumentEx…
…ception: Could not convert java type to Hibernate type

(cherry picked from commit 9e8fd60)
HHH-11066 - Documentation regarding the reason @filter is not support…
…ed with @Cache for collections

(cherry picked from commit 95ac619)
HHH-7010 - Document mapping annotations
List and describe all JPA and Hibernate.annotations

(cherry picked from commit 2ecfd48)

gbadner and others added some commits Dec 9, 2016

HHH-11329 fix tests using too long identifiers
(cherry picked from commit a4cf282)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java
HHH-11331 fix SQLLoaderTest on DB2
(cherry picked from commit c393853)
HHH-11329 fix tests using too long identifiers
(cherry picked from commit b4a9be0)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java
HHH-11330 : Skip IdentifierGeneratorWithNaturalIdCacheTest on dialect…
…s that do not support identity columns

(cherry picked from commit 87fe30b)
HHH-11337 - Incorrect SQL generated when use both left join with unre…
…lated entity and implicit join to another entity in select-clause

(cherry picked from commit b2df137)
Testcase for HHH-11340
(cherry picked from commit 7dc7fbe)
Fix for HHH-11340
(cherry picked from commit a2781e6)
HHH-11328 : Persist of transient entity in derived ID that is already…
… in merge process throws javax.persistence.EntityExistsException

(cherry picked from commit 54f3409)
HHH-11241 : checkstyle fixes
(cherry picked from commit 3805752)
Allow the ImplicitForeignKeyNameSource to have a user-provided identi…
…fier which we then pass through the implicit naming strategy.
@vladmihalcea

This comment has been minimized.

Show comment
Hide comment
@vladmihalcea

vladmihalcea Apr 11, 2017

Member

Closing PR since the issue was fixed already.

Member

vladmihalcea commented Apr 11, 2017

Closing PR since the issue was fixed already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment