Tabnine Logo
NamedEntityGraphs.value
Code IndexAdd Tabnine to your IDE (free)

How to use
value
method
in
javax.persistence.NamedEntityGraphs

Best Java code snippets using javax.persistence.NamedEntityGraphs.value (Showing top 4 results out of 315)

origin: hibernate/hibernate-orm

private void processNamedEntityGraphs() {
  processNamedEntityGraph( annotatedClass.getAnnotation( NamedEntityGraph.class ) );
  final NamedEntityGraphs graphs = annotatedClass.getAnnotation( NamedEntityGraphs.class );
  if ( graphs != null ) {
    for ( NamedEntityGraph graph : graphs.value() ) {
      processNamedEntityGraph( graph );
    }
  }
}
origin: hibernate/hibernate-orm

private NamedEntityGraphs getNamedEntityGraphs(Element tree, XMLContext.Default defaults) {
  List<NamedEntityGraph> queries = buildNamedEntityGraph( tree, defaults, classLoaderAccess );
  if ( defaults.canUseJavaAnnotations() ) {
    NamedEntityGraph annotation = getPhysicalAnnotation( NamedEntityGraph.class );
    addNamedEntityGraphIfNeeded( annotation, queries );
    NamedEntityGraphs annotations = getPhysicalAnnotation( NamedEntityGraphs.class );
    if ( annotations != null ) {
      for ( NamedEntityGraph current : annotations.value() ) {
        addNamedEntityGraphIfNeeded( current, queries );
      }
    }
  }
  if ( queries.size() > 0 ) {
    AnnotationDescriptor ad = new AnnotationDescriptor( NamedEntityGraphs.class );
    ad.setValue( "value", queries.toArray( new NamedEntityGraph[queries.size()] ) );
    return AnnotationFactory.create( ad );
  }
  else {
    return null;
  }
}
origin: org.hibernate.orm/hibernate-core

private void processNamedEntityGraphs() {
  processNamedEntityGraph( annotatedClass.getAnnotation( NamedEntityGraph.class ) );
  final NamedEntityGraphs graphs = annotatedClass.getAnnotation( NamedEntityGraphs.class );
  if ( graphs != null ) {
    for ( NamedEntityGraph graph : graphs.value() ) {
      processNamedEntityGraph( graph );
    }
  }
}
origin: org.hibernate.orm/hibernate-core

private NamedEntityGraphs getNamedEntityGraphs(Element tree, XMLContext.Default defaults) {
  List<NamedEntityGraph> queries = buildNamedEntityGraph( tree, defaults, bootstrapContext.getClassLoaderAccess() );
  if ( defaults.canUseJavaAnnotations() ) {
    NamedEntityGraph annotation = getPhysicalAnnotation( NamedEntityGraph.class );
    addNamedEntityGraphIfNeeded( annotation, queries );
    NamedEntityGraphs annotations = getPhysicalAnnotation( NamedEntityGraphs.class );
    if ( annotations != null ) {
      for ( NamedEntityGraph current : annotations.value() ) {
        addNamedEntityGraphIfNeeded( current, queries );
      }
    }
  }
  if ( queries.size() > 0 ) {
    AnnotationDescriptor ad = new AnnotationDescriptor( NamedEntityGraphs.class );
    ad.setValue( "value", queries.toArray( new NamedEntityGraph[queries.size()] ) );
    return AnnotationFactory.create( ad );
  }
  else {
    return null;
  }
}
javax.persistenceNamedEntityGraphsvalue

Popular methods of NamedEntityGraphs

  • <init>

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • Menu (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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