Codota Logo
FilterDef.name
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain FilterDef
private void myMethod () {
FilterDef f =
  • Codota IconXAnnotatedElement xAnnotatedElement;xAnnotatedElement.getAnnotation(FilterDef.class)
  • Smart code suggestions by Codota
}
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.annotationsFilterDefname

Popular methods of FilterDef

  • <init>
  • defaultCondition
  • parameters

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • JPanel (javax.swing)
  • JTable (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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