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

Set which entities classes should never be cached, even indirectly #2744

Merged
merged 19 commits into from
Mar 20, 2022

Commits on Jan 16, 2022

  1. Never cached entities should not interact with UpdateTimestampsCache

    Never cached entities cannot used in QueryCache
    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    b4bd62e View commit details
    Browse the repository at this point in the history
  2. HasUpdateTimestampsCache default should be true

    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    4acfed5 View commit details
    Browse the repository at this point in the history
  3. AutoFlush issue fixed on never cached entities

    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    734e0bd View commit details
    Browse the repository at this point in the history
  4. some review fixes breaking changes removed in new interfaces

    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    b109da4 View commit details
    Browse the repository at this point in the history
  5. BulkOperationCleanupAction must be ICacheableExecutable

    Added test case for icriteria api
    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    ee07465 View commit details
    Browse the repository at this point in the history
  6. entityPersistersSpaces and collectionPersistersSpaces added, failed t…

    …est are fixed
    
    BulkOperationCleanupAction refactored with usage of *persisterSpaces
    gokhanabatay authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    766ab6c View commit details
    Browse the repository at this point in the history
  7. code review fixes

    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    9a4616c View commit details
    Browse the repository at this point in the history
  8. Reset to commit IExecutable

    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    f221947 View commit details
    Browse the repository at this point in the history
  9. ICacheableCollectionPersister added, cache strategy can also be set f…

    …or each collection
    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    644a9ea View commit details
    Browse the repository at this point in the history
  10. Never cached entity cached query exception improved

    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    a514c59 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7136c0b View commit details
    Browse the repository at this point in the history
  12. Never cached entities/collections cannot be used in a cacheable query…

    … default true it could be disabled via query.throw_never_cached option
    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    0636107 View commit details
    Browse the repository at this point in the history
  13. add xml configuration validation

    gokhan.abatay@gmail.com authored and maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    0007404 View commit details
    Browse the repository at this point in the history
  14. Fix typos

    maca88 committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    dd7419a View commit details
    Browse the repository at this point in the history
  15. Update src/NHibernate/Action/BulkOperationCleanupAction.cs

    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/BulkOperationCleanupAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/BulkOperationCleanupAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Engine/ISessionFactoryImplementor.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Custom/CustomLoader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Impl/SessionFactoryImpl.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Impl/SessionFactoryImpl.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/BulkOperationCleanupAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Custom/CustomLoader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Custom/CustomLoader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Loader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Loader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/BulkOperationCleanupAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/BulkOperationCleanupAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/CollectionAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/EntityAction.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Action/ICacheableExecutable.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Cache/CacheFactory.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Cfg/Environment.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Cfg/MappingSchema/Hbm.generated.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Engine/ActionQueue.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Hql/Ast/ANTLR/Tree/DotNode.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Hql/Ast/ANTLR/Tree/DotNode.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Hql/Ast/ANTLR/Tree/DotNode.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Custom/CustomLoader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    
    Update src/NHibernate/Loader/Custom/CustomLoader.cs
    
    Co-authored-by: Frédéric Delaporte <12201973+fredericDelaporte@users.noreply.github.com>
    maca88 and fredericDelaporte committed Jan 16, 2022
    Configuration menu
    Copy the full SHA
    52d88e2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    92f158d View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Document the never cache strategy

    And regenerate the Hbm file.
    fredericDelaporte committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    fe5fb09 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2022

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

Commits on Mar 15, 2022

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