Codota Logo
Settings.getQuerySubstitutions
Code IndexAdd Codota to your IDE (free)

How to use
getQuerySubstitutions
method
in
org.hibernate.cfg.Settings

Best Java code snippets using org.hibernate.cfg.Settings.getQuerySubstitutions (Showing top 5 results out of 315)

  • Common ways to obtain Settings
private void myMethod () {
Settings s =
  • Codota Iconnew Settings()
  • Codota IconSessionFactoryImplementor sessionFactoryImplementor;sessionFactoryImplementor.getSettings()
  • Codota IconUnionSubclassEntityPersister unionSubclassEntityPersister;unionSubclassEntityPersister.getFactory().getSettings()
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate

  public FilterTranslator getFilter(
      String filterString, 
      String collectionRole, 
      boolean scalar,
      Map enabledFilters) 
  throws QueryException, MappingException {

    Object cacheKey = null;
    FilterTranslator filter = null;

    if ( enabledFilters == null || enabledFilters.isEmpty() ) {
      cacheKey = FILTER_KEY_FACTORY.newInstance(collectionRole, filterString, scalar);
      filter = (FilterTranslator) get(cacheKey);
    }

    if ( filter==null ) {
      filter = createFilterTranslator(filterString, cacheKey, enabledFilters);
    }
//        filter.compile(collectionRole, this, settings.getQuerySubstitutions(), scalar, enabledFilters);
    filter.compile( collectionRole, settings.getQuerySubstitutions(), scalar );
    // see comment above. note that FilterTranslator.compile() is synchronized
    return filter;

  }

origin: hibernate/hibernate

queries[i].compile( settings.getQuerySubstitutions(), shallow );
origin: org.hibernate/com.springsource.org.hibernate.core

    .getQueryTranslatorFactory()
    .createQueryTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
translators[i].compile( factory.getSettings().getQuerySubstitutions(), shallow );
    .getQueryTranslatorFactory()
    .createFilterTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
( ( FilterTranslator ) translators[i] ).compile( collectionRole, factory.getSettings().getQuerySubstitutions(), shallow );
origin: jboss.jboss-embeddable-ejb3/hibernate-all

    .getQueryTranslatorFactory()
    .createQueryTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
translators[i].compile( factory.getSettings().getQuerySubstitutions(), shallow );
    .getQueryTranslatorFactory()
    .createFilterTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
( ( FilterTranslator ) translators[i] ).compile( collectionRole, factory.getSettings().getQuerySubstitutions(), shallow );
origin: org.hibernate/com.springsource.org.hibernate

    .getQueryTranslatorFactory()
    .createQueryTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
translators[i].compile( factory.getSettings().getQuerySubstitutions(), shallow );
    .getQueryTranslatorFactory()
    .createFilterTranslator( hql, concreteQueryStrings[i], enabledFilters, factory );
( ( FilterTranslator ) translators[i] ).compile( collectionRole, factory.getSettings().getQuerySubstitutions(), shallow );
org.hibernate.cfgSettingsgetQuerySubstitutions

Popular methods of Settings

  • isMinimalPutsEnabled
  • <init>
  • getConnectionReleaseMode
  • getDefaultSchemaName
  • getDefaultCatalogName
  • getJdbcFetchSize
  • getMaximumFetchDepth
  • getSessionFactoryName
  • isIdentifierRollbackEnabled
  • isQueryCacheEnabled
  • isSecondLevelCacheEnabled
  • isStatisticsEnabled
  • isSecondLevelCacheEnabled,
  • isStatisticsEnabled,
  • getCacheRegionPrefix,
  • getConnectionProvider,
  • isCommentsEnabled,
  • isScrollableResultSetsEnabled,
  • isStructuredCacheEntriesEnabled,
  • getDefaultBatchFetchSize,
  • getMultiTenancyStrategy,
  • getQueryCacheFactory

Popular in Java

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Permission (java.security)
    Abstract class for representing access to a system resource. All permissions have a name (whose inte
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now