congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
InFlightMetadataCollectorImpl.getEntityBindingMap
Code IndexAdd Tabnine to your IDE (free)

How to use
getEntityBindingMap
method
in
org.hibernate.boot.internal.InFlightMetadataCollectorImpl

Best Java code snippets using org.hibernate.boot.internal.InFlightMetadataCollectorImpl.getEntityBindingMap (Showing top 6 results out of 315)

origin: hibernate/hibernate-orm

private void processSecondPasses(ArrayList<? extends SecondPass> secondPasses) {
  if ( secondPasses == null ) {
    return;
  }
  for ( SecondPass secondPass : secondPasses ) {
    secondPass.doSecondPass( getEntityBindingMap() );
  }
  secondPasses.clear();
}
origin: hibernate/hibernate-orm

private void processEndOfQueue(List<FkSecondPass> endOfQueueFkSecondPasses) {
  /*
   * If a second pass raises a recoverableException, queue it for next round
   * stop of no pass has to be processed or if the number of pass to processes
   * does not diminish between two rounds.
   * If some failing pass remain, raise the original exception
   */
  boolean stopProcess = false;
  RuntimeException originalException = null;
  while ( !stopProcess ) {
    List<FkSecondPass> failingSecondPasses = new ArrayList<>();
    for ( FkSecondPass pass : endOfQueueFkSecondPasses ) {
      try {
        pass.doSecondPass( getEntityBindingMap() );
      }
      catch (RecoverableException e) {
        failingSecondPasses.add( pass );
        if ( originalException == null ) {
          originalException = (RuntimeException) e.getCause();
        }
      }
    }
    stopProcess = failingSecondPasses.size() == 0 || failingSecondPasses.size() == endOfQueueFkSecondPasses.size();
    endOfQueueFkSecondPasses = failingSecondPasses;
  }
  if ( endOfQueueFkSecondPasses.size() > 0 ) {
    throw originalException;
  }
}
origin: hibernate/hibernate-orm

sp.doSecondPass( getEntityBindingMap() );
origin: org.hibernate.orm/hibernate-core

private void processSecondPasses(ArrayList<? extends SecondPass> secondPasses) {
  if ( secondPasses == null ) {
    return;
  }
  for ( SecondPass secondPass : secondPasses ) {
    secondPass.doSecondPass( getEntityBindingMap() );
  }
  secondPasses.clear();
}
origin: org.hibernate.orm/hibernate-core

private void processEndOfQueue(List<FkSecondPass> endOfQueueFkSecondPasses) {
  /*
   * If a second pass raises a recoverableException, queue it for next round
   * stop of no pass has to be processed or if the number of pass to processes
   * does not diminish between two rounds.
   * If some failing pass remain, raise the original exception
   */
  boolean stopProcess = false;
  RuntimeException originalException = null;
  while ( !stopProcess ) {
    List<FkSecondPass> failingSecondPasses = new ArrayList<>();
    for ( FkSecondPass pass : endOfQueueFkSecondPasses ) {
      try {
        pass.doSecondPass( getEntityBindingMap() );
      }
      catch (RecoverableException e) {
        failingSecondPasses.add( pass );
        if ( originalException == null ) {
          originalException = (RuntimeException) e.getCause();
        }
      }
    }
    stopProcess = failingSecondPasses.size() == 0 || failingSecondPasses.size() == endOfQueueFkSecondPasses.size();
    endOfQueueFkSecondPasses = failingSecondPasses;
  }
  if ( endOfQueueFkSecondPasses.size() > 0 ) {
    throw originalException;
  }
}
origin: org.hibernate.orm/hibernate-core

sp.doSecondPass( getEntityBindingMap() );
org.hibernate.boot.internalInFlightMetadataCollectorImplgetEntityBindingMap

Popular methods of InFlightMetadataCollectorImpl

  • <init>
  • buildMetadataInstance
    Builds the complete and immutable Metadata instance from the collected info.
  • processSecondPasses
    Ugh! But we need this done before we ask Envers to produce its entities.
  • addClassType
  • addCopyIdentifierComponentSecondPass
  • addCreateKeySecondPass
  • addDelayedPropertyReferenceHandler
  • addFkSecondPass
  • addIdGeneratorResolverSecondPass
  • addIdentifierGenerator
  • addImplicitColumnNamingSecondPass
  • addNamedProcedureCallDefinition
  • addImplicitColumnNamingSecondPass,
  • addNamedProcedureCallDefinition,
  • addPkDrivenByDefaultMapsIdSecondPass,
  • addQuerySecondPass,
  • addSecondPass,
  • addSecondaryTableSecondPass,
  • addSetSimpleValueTypeSecondPass,
  • addUniqueConstraintHolders,
  • applyNamedNativeQuery,
  • applyResultSetMapping

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Runner (org.openjdk.jmh.runner)
  • Top Sublime Text plugins
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