Tabnine Logo
SessionImplementor.getEnabledFilters
Code IndexAdd Tabnine to your IDE (free)

How to use
getEnabledFilters
method
in
org.hibernate.engine.spi.SessionImplementor

Best Java code snippets using org.hibernate.engine.spi.SessionImplementor.getEnabledFilters (Showing top 7 results out of 315)

origin: org.jboss.seam/jboss-seam

public Map getEnabledFilters()
{
 return ((SessionImplementor) delegate).getEnabledFilters();
}
origin: org.hibernate/com.springsource.org.hibernate

public boolean isAffectedByEnabledFilters(SessionImplementor session) {
  return filterHelper.isAffectedBy( session.getEnabledFilters() ) ||
      ( isManyToMany() && manyToManyFilterHelper.isAffectedBy( session.getEnabledFilters() ) );
}
origin: org.hibernate/com.springsource.org.hibernate.core

public boolean isAffectedByEnabledFilters(SessionImplementor session) {
  return filterHelper.isAffectedBy( session.getEnabledFilters() ) ||
      ( isManyToMany() && manyToManyFilterHelper.isAffectedBy( session.getEnabledFilters() ) );
}
origin: org.hibernate/com.springsource.org.hibernate

protected CollectionInitializer getAppropriateInitializer(Serializable key, SessionImplementor session) {
  if ( queryLoaderName != null ) {
    // if there is a user-specified loader, return that
    // TODO: filters!?
    return initializer;
  }
  CollectionInitializer subselectInitializer = getSubselectInitializer( key, session );
  if ( subselectInitializer != null ) {
    return subselectInitializer;
  }
  else if ( session.getEnabledFilters().isEmpty() ) {
    return initializer;
  }
  else {
    return createCollectionInitializer( session.getLoadQueryInfluencers() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

protected CollectionInitializer getAppropriateInitializer(Serializable key, SessionImplementor session) {
  if ( queryLoaderName != null ) {
    // if there is a user-specified loader, return that
    // TODO: filters!?
    return initializer;
  }
  CollectionInitializer subselectInitializer = getSubselectInitializer( key, session );
  if ( subselectInitializer != null ) {
    return subselectInitializer;
  }
  else if ( session.getEnabledFilters().isEmpty() ) {
    return initializer;
  }
  else {
    return createCollectionInitializer( session.getLoadQueryInfluencers() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

if ( !session.getEnabledFilters().isEmpty() && persister.isAffectedByEnabledFilters( session ) ) {
origin: org.hibernate/com.springsource.org.hibernate

if ( !session.getEnabledFilters().isEmpty() && persister.isAffectedByEnabledFilters( session ) ) {
org.hibernate.engine.spiSessionImplementorgetEnabledFilters

Javadoc

Return the currently enabled filters. The filter map is keyed by filter name, with values corresponding to the org.hibernate.internal.FilterImplinstance.

Popular methods of SessionImplementor

  • getFactory
    Get the creating SessionFactoryImplementor
  • getTransactionCoordinator
  • connection
  • getPersistenceContext
    Get the persistence context for this session
  • getLoadQueryInfluencers
    Get the load query influencers associated with this session.
  • isTransactionInProgress
    Does this Session have an active Hibernate transaction or is there a JTA transaction in progress?
  • getEntityPersister
    Get the EntityPersister for any instance
  • getJdbcCoordinator
  • isClosed
    Determine whether the session is closed. Provided separately from #isOpen() as this method does not
  • flush
  • getTenantIdentifier
    Match te method on org.hibernate.Session and org.hibernate.StatelessSession
  • generateEntityKey
  • getTenantIdentifier,
  • generateEntityKey,
  • getContextEntityIdentifier,
  • isOpen,
  • bestGuessEntityName,
  • getFlushMode,
  • getSessionFactory,
  • guessEntityName,
  • immediateLoad,
  • initializeCollection

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • getExternalFilesDir (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now