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: ebean-orm/ebean
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ebean-orm/ebean
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feature/improved-readOnly-immutable
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 11 files changed
  • 1 contributor

Commits on Mar 18, 2025

  1. Modify disableLazyLoad to throw LazyInitialisationException instead o…

    …f returning null
    
    Modify such that accessing an unloaded property throws a LazyInitialisationException. This includes ToMany collections that where previously initialised as empty collections (that didn't lazy load).
    
    This change brings the disableLazyLoad behaviour in line with the unmodifiable behaviour.
    
    It does mean that the use case of bulk mapping from entities to DTOs via something like MapStruct will no longer work nicely (mapping nulls and empty lists versus LazyInitialisationException).
    rbygrave committed Mar 18, 2025
    Configuration menu
    Copy the full SHA
    c583879 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2025

  1. Merge pull request #3594 from ebean-orm/feature/improved-readOnly-imm…

    …utable-DisabledLazyLoad
    
    Modify disableLazyLoad to throw LazyInitialisationException instead o…
    rbygrave authored Apr 29, 2025
    Configuration menu
    Copy the full SHA
    4bcfa80 View commit details
    Browse the repository at this point in the history
Loading