Class ReactiveQueryExecutorLookup

java.lang.Object
org.hibernate.reactive.session.impl.ReactiveQueryExecutorLookup

public final class ReactiveQueryExecutorLookup extends Object
This is a dirty trick to mitigate the performance impact of JDK-8180450; hopefully temporary but we have no indication about a possible fix at the moment. The gist is that we need to avoid repeatedly checking for ReactiveSessionImpl to implement certain interfaces; we frequently need to cast the current to : let's take advantage of the fact that it's almost certainly going to be of a known concrete type, specifically a .
  • Constructor Details

    • ReactiveQueryExecutorLookup

      public ReactiveQueryExecutorLookup()
  • Method Details

    • extract

      public static ReactiveQueryProducer extract(org.hibernate.engine.spi.SharedSessionContractImplementor session)
      Extracts the ReactiveQueryExecutor from a Session.
      Parameters:
      session -
      Returns: