Skip to content
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

Rebase to tag 5.6 #2

Open
wants to merge 201 commits into
base: main
Choose a base branch
from
Open

Rebase to tag 5.6 #2

wants to merge 201 commits into from

Conversation

eresende-nuodb
Copy link

Bringing latest changes from original repo on branch 5.6.

Hibernate-CI and others added 30 commits January 25, 2022 15:45
…ositeNestedGeneratedValueGenerator.GenerationPlan
…n is thrown by Batch#addToBatch

Such an exception can be thrown if an expectation
(org.hibernate.jdbc.Expectation) is not met, for example if an update
statement for a given entity affects 0 rows (e.g. because of a concurrent
update).
…JDBC batch fails

Not strictly necessary, but it's related to these changes
and I think it's a good idea.
…when de-referenced in HQL/Criteria

- `@NotFound` no longer exports a physical foreign-key
…when de-referenced in HQL/Criteria

- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
…when de-referenced in HQL/Criteria

- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
…when de-referenced in HQL/Criteria

- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
…when de-referenced in HQL/Criteria

- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- consider a to-one nullable if either:
    - explicitly marked nullable
    - `@NotFound` is specified, whether IGNORE or EXCEPTION
- force association to EAGER
…when de-referenced in HQL/Criteria

- code clean-up
jrenaat and others added 30 commits November 9, 2022 18:25
…SQLQuery visible in Eclipse

Explicitly add the JavaDoc to Session.java to provide users the @deprecated JavaDoc hint on how to resolve the deprecation warnings.

Without this patch, e.g., in Eclipse, there are no warning generated when the method createSQLQuery is used which makes upgrading to 6.x harder.

Signed-off-by: Sven Strickroth <[email protected]>
…cement enabled results in unnecessary SQL Update in some (many) cases
Older versions cannot correctly resolve dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.