Tabnine Logo
FilterDef.defaultCondition
Code IndexAdd Tabnine to your IDE (free)

How to use
defaultCondition
method
in
org.hibernate.annotations.FilterDef

Best Java code snippets using org.hibernate.annotations.FilterDef.defaultCondition (Showing top 6 results out of 315)

origin: hibernate/hibernate-orm

private static void bindFilterDef(FilterDef defAnn, MetadataBuildingContext context) {
  Map<String, org.hibernate.type.Type> params = new HashMap<>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put( param.name(), context.getMetadataCollector().getTypeResolver().heuristicType( param.type() ) );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  LOG.debugf( "Binding filter definition: %s", def.getFilterName() );
  context.getMetadataCollector().addFilterDefinition( def );
}
origin: org.hibernate/hibernate-annotations

private static void bindFilterDef(FilterDef defAnn, ExtendedMappings mappings) {
  Map<String, org.hibernate.type.Type> params = new HashMap<String, org.hibernate.type.Type>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put( param.name(), TypeFactory.heuristicType( param.type() ) );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  log.info( "Binding filter definition: {}", def.getFilterName() );
  mappings.addFilterDefinition( def );
}
origin: org.hibernate/com.springsource.org.hibernate

private static void bindFilterDef(FilterDef defAnn, Mappings mappings) {
  Map<String, org.hibernate.type.Type> params = new HashMap<String, org.hibernate.type.Type>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put( param.name(), mappings.getTypeResolver().heuristicType( param.type() ) );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  LOG.debugf( "Binding filter definition: %s", def.getFilterName() );
  mappings.addFilterDefinition( def );
}
origin: org.hibernate/com.springsource.org.hibernate.core

private static void bindFilterDef(FilterDef defAnn, Mappings mappings) {
  Map<String, org.hibernate.type.Type> params = new HashMap<String, org.hibernate.type.Type>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put( param.name(), mappings.getTypeResolver().heuristicType( param.type() ) );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  LOG.debugf( "Binding filter definition: %s", def.getFilterName() );
  mappings.addFilterDefinition( def );
}
origin: jboss.jboss-embeddable-ejb3/hibernate-all

private static void bindFilterDef(FilterDef defAnn, ExtendedMappings mappings) {
  Map<String, org.hibernate.type.Type> params = new HashMap<String, org.hibernate.type.Type>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put( param.name(), TypeFactory.heuristicType( param.type() ) );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  if ( log.isInfoEnabled() ) log.info( "Binding filter definition: " + def.getFilterName() );
  mappings.addFilterDefinition( def );
}
origin: org.hibernate.orm/hibernate-core

private static void bindFilterDef(FilterDef defAnn, MetadataBuildingContext context) {
  Map<String, Type> params = new HashMap<>();
  for ( ParamDef param : defAnn.parameters() ) {
    params.put(
        param.name(),
        context.getMetadataCollector()
            .getTypeConfiguration()
            .getBasicTypeRegistry()
            .getBasicTypeByName( param.type() )
    );
  }
  FilterDefinition def = new FilterDefinition( defAnn.name(), defAnn.defaultCondition(), params );
  LOG.debugf( "Binding filter definition: %s", def.getFilterName() );
  context.getMetadataCollector().addFilterDefinition( def );
}
org.hibernate.annotationsFilterDefdefaultCondition

Popular methods of FilterDef

  • <init>
  • name
  • parameters

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best plugins for Eclipse
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