Codota Logo
InFlightMetadataCollectorImpl.getEntityBindingMap
Code IndexAdd Codota 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)

  • Common ways to obtain InFlightMetadataCollectorImpl
private void myMethod () {
InFlightMetadataCollectorImpl i =
  • Codota IconBootstrapContext bootstrapContext;MetadataBuildingOptions options;new InFlightMetadataCollectorImpl(bootstrapContext, options)
  • Smart code suggestions by Codota
}
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
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getApplicationContext (Context)
  • Kernel (java.awt.image)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • JTextField (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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