Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hibernate/hibernate-orm
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.2.4
Choose a base ref
...
head repository: hibernate/hibernate-orm
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.2.5
Choose a head ref
  • 12 commits
  • 37 files changed
  • 4 contributors

Commits on Feb 8, 2026

  1. Configuration menu
    Copy the full SHA
    bd359a7 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. introduce DetachedObjectException

    and remove obsolete code relating to reassociation from lock() and refresh()
    
    also remove code for reattaching proxies during flush
    gavinking authored and scottmarlow committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    fa5a004 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Configuration menu
    Copy the full SHA
    e0a8251 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c5e335 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2026

  1. HHH-20130 fix bug in imported vs qualified type logic in Processor

    This appears to be a very ancient bug. If another type with the same
    name is imported, we have to qualify the type name, even if it is in
    the same package or in java.lang.
    gavinking authored and mbellade committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    7114315 View commit details
    Browse the repository at this point in the history
  2. HHH-20130 add test

    gavinking authored and mbellade committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    27fc137 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10c9e44 View commit details
    Browse the repository at this point in the history
  4. HHH-20163 Metamodel generator: do not visit nested types twice

    I added the indexQueryInterfaces method before the elements were
    recursively visited to find nested entities. I did not realise we were
    visiting nested types twice: once with the primaryEntity set (by
    indexQueryInterfaces) and the second time without it, causing issues
    with nested repositories losing their primaryEntity in Quarkus Panache.
    
    I'm now removing indexQueryInterfaces in favour of the upstream
    recursion, adapted for keeping track of implicit primaryEntity.
    FroMage authored and mbellade committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    484505a View commit details
    Browse the repository at this point in the history
  5. HHH-20164 Metamodel processor: Fixed bug with missing catch clause for

    …@delete queries
    
    This only happens in Quarkus Panache when we have an implicit JD
    repository with a @delete query method, because jakartaDataRepository is
    not set, but it should not matter, because this method is only defined
    by JD for repositories, so I don't think it makes any sense for it to be
    false.
    
    The result was code like this:
    
    @OverRide
    public long deleteByTitle(String title) {
            var _builder = session.getCriteriaBuilder();
            var _query = _builder.createCriteriaDelete(Panache2Book.class);
            var _entity = _query.from(Panache2Book.class);
            _query.where(
                            title==null
                                    ? _entity.get(Panache2Book_.title).isNull()
                                    : _builder.equal(_entity.get(Panache2Book_.title), title)
            );
            try {
                    return session.createMutationQuery(_query).executeUpdate();
    }
    
    Note the missing catch. This is because the catch is conditional on
    jakartaDataRepository while the try is not conditional.
    FroMage authored and mbellade committed Feb 20, 2026
    Configuration menu
    Copy the full SHA
    e03b94e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b926de View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2026

  1. Configuration menu
    Copy the full SHA
    dc2faf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23f1ea4 View commit details
    Browse the repository at this point in the history
Loading