Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
HHH-13594 ResourceRegistryStandardImpl#release could avoid allocating a capturing lambda

HHH-13591 Fixing formatting of previous patch

    • -2
    • +2
    ./hibernate/cfg/ExternalSessionFactoryConfig.java
    • -2
    • +2
    ./hibernate/cfg/IndexOrUniqueKeySecondPass.java
    • -2
    • +2
    ./hibernate/engine/query/spi/HQLQueryPlan.java
    • -3
    • +5
    ./hibernate/sql/QueryJoinFragment.java
  1. … 6 more files in changeset.
HHH-13589 Avoid HashMap.values() when forEach is an easy replacement

    • -4
    • +4
    ./hibernate/engine/spi/ActionQueue.java
HHH-13589 ActionQueue review: code formatting

    • -45
    • +45
    ./hibernate/engine/spi/ActionQueue.java
HHH-13591 Replaces simple uses of array iteration with a corresponding for-each loop

    • -2
    • +2
    ./hibernate/cfg/ExternalSessionFactoryConfig.java
    • -2
    • +2
    ./hibernate/cfg/IndexOrUniqueKeySecondPass.java
    • -2
    • +2
    ./hibernate/engine/query/spi/HQLQueryPlan.java
    • -5
    • +3
    ./hibernate/sql/QueryJoinFragment.java
  1. … 6 more files in changeset.
HHH-13587 Make StatefulPersistenceContext#arrayHolders lazily initialized as well

HHH-13587 Make StatefulPersistenceContext#entitiesByUniqueKey lazily initialized as well

HHH-13587 Make StatefulPersistenceContext#nonlazyCollections a lazily initialized field

HHH-13588 Add missed functions to MySQL Dialect: weight_string, to_base64, from_base64, regexp_replace, regexp_instr, regexp_substr

    • -0
    • +7
    ./hibernate/dialect/MySQL57Dialect.java
    • -0
    • +6
    ./hibernate/dialect/MySQL8Dialect.java
HHH-13587 Make StatefulPersistenceContext#collectionEntries also lazily initialized

    • -0
    • +17
    ./hibernate/engine/spi/PersistenceContext.java
HHH-13587 Introduce SPI method PersistenceContext#getCollectionEntriesSize()

    • -0
    • +7
    ./hibernate/engine/spi/PersistenceContext.java
  1. … 1 more file in changeset.
HHH-13587 Make StatefulPersistenceContext#parentsByChild a lazily initialized IdentityHashMap

HHH-13587 StatefulPersistenceContext#unownedCollections was almost fully lazy already

HHH-13587 Lazily initialize ConcurrentReferenceHashMap proxiesByKey in StatefulPersistenceContext

HHH-13587 Allocate StatefulPersistenceContext#naturalIdXrefDelegate lazily

HHH-13587 Allocate StatefulPersistenceContext#nullAssociations lazily

HHH-13587 Review formatting and logging style of StatefulPersistenceContext

HHH-13587 Allocate StatefulPersistenceContext#nullifiableEntityKeys lazily

    • -0
    • +25
    ./hibernate/engine/spi/PersistenceContext.java
HHH-13585 Duplicate resource release in PessimisticReadSelectLockingStrategy

    • -10
    • +5
    ./hibernate/dialect/lock/PessimisticReadSelectLockingStrategy.java
HHH-13584 Reduce ServiceRegistry lookups in LocalConnectionAccess in SessionFactory

HHH-13579 Optimise ResourceRegistryStandardImpl to avoid heavy allocation of iterators

HHH-13576 Similar debugf and tracef issues found via grepping

    • -2
    • +2
    ./hibernate/internal/IteratorImpl.java
  1. … 1 more file in changeset.
HHH-13576 A couple more Logger mistakes in SessionImpl

    • -7
    • +11
    ./hibernate/internal/SessionImpl.java
HHH-13576 Invoking tracef() or debugf() w/o an array of parameters actually allocates an empty Object[]

HHH-13574 SybaseASE does not support PARTITION BY

(cherry picked from commit cfd7db36c60b49ea773b3a1a34f062b91c0881c8)

HHH-13574 SybaseASE does not support PARTITION BY

HHH-13562 List of TransactionObserver for JdbcResourceLocalTransactionCoordinatorImpl should be lazily initialized

  1. … 1 more file in changeset.
HHH-13563 ResultSetReturnImpl is looking up JdbcServices on each construction

HHH-13561 Do not retrieve the same ActionQueue multiple times

  1. … 1 more file in changeset.
HHH-13259 Fix StackOverflowError in StringHelper

Before fix method org.hibernate.internal.util.StringHelper#replace

matched placeholders illegally in case when ordinal parameters list was

expanded. Ex. placeholder ?1 was matched with ?11, ?12, ?13 etc. For

queries with 2 or more IN clauses with different collections there were

a situation when ?1 from the first clause matched with already expanded

placeholders from the second collection. Each match led to recursive

call of replace method. If collection in second clause was very long

then StackOverflowError occurred.

Fix adds check of partial placeholder match for wholeWords mode which

is used in expanding list parameters. Partial matches are skipped

during replace.

    • -1
    • +19
    ./hibernate/internal/util/StringHelper.java
  1. … 1 more file in changeset.