congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 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