Tabnine Logo
InFlightMetadataCollectorImpl.processSecondPasses
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: hibernate/hibernate-orm

private void processCopyIdentifierSecondPassesInOrder() {
  if ( copyIdentifierComponentSecondPasList == null ) {
    return;
  }
  sortCopyIdentifierComponentSecondPasses();
  processSecondPasses( copyIdentifierComponentSecondPasList );
}
origin: hibernate/hibernate-orm

/**
 * Ugh!  But we need this done before we ask Envers to produce its entities.
 */
public void processSecondPasses(MetadataBuildingContext buildingContext) {
  inSecondPass = true;
  try {
    processSecondPasses( idGeneratorResolverSecondPassList );
    processSecondPasses( implicitColumnNamingSecondPassList );
    processSecondPasses( pkDrivenByDefaultMapsIdSecondPassList );
    processSecondPasses( setSimpleValueTypeSecondPassList );
    processCopyIdentifierSecondPassesInOrder();
    processFkSecondPassesInOrder();
    processSecondPasses( createKeySecondPasList );
    processSecondPasses( secondaryTableSecondPassList );
    processSecondPasses( querySecondPassList );
    processSecondPasses( generalSecondPassList );
    processPropertyReferences();
    secondPassCompileForeignKeys( buildingContext );
    processUniqueConstraintHolders( buildingContext );
    processJPAIndexHolders( buildingContext );
    processNaturalIdUniqueKeyBinders();
    processCachingOverrides();
  }
  finally {
    inSecondPass = false;
  }
}
origin: hibernate/hibernate-orm

processSecondPasses( buildingContext );
processExportableProducers( );
origin: hibernate/hibernate-orm

metadataCollector.processSecondPasses( rootMetadataBuildingContext );
origin: org.hibernate.orm/hibernate-core

private void processCopyIdentifierSecondPassesInOrder() {
  if ( copyIdentifierComponentSecondPasList == null ) {
    return;
  }
  sortCopyIdentifierComponentSecondPasses();
  processSecondPasses( copyIdentifierComponentSecondPasList );
}
origin: org.hibernate.orm/hibernate-core

/**
 * Ugh!  But we need this done before we ask Envers to produce its entities.
 */
public void processSecondPasses(MetadataBuildingContext buildingContext) {
  inSecondPass = true;
  try {
    processSecondPasses( idGeneratorResolverSecondPassList );
    processSecondPasses( implicitColumnNamingSecondPassList );
    processSecondPasses( pkDrivenByDefaultMapsIdSecondPassList );
    processSecondPasses( setSimpleValueTypeSecondPassList );
    processCopyIdentifierSecondPassesInOrder();
    processFkSecondPassesInOrder();
    processSecondPasses( createKeySecondPasList );
    processSecondPasses( secondaryTableSecondPassList );
    processSecondPasses( querySecondPassList );
    processSecondPasses( generalSecondPassList );
    processPropertyReferences();
    secondPassCompileForeignKeys( buildingContext );
    processUniqueConstraintHolders( buildingContext );
    processJPAIndexHolders( buildingContext );
    processNaturalIdUniqueKeyBinders();
    processCachingOverrides();
    finalizeBootModel();
  }
  finally {
    inSecondPass = false;
  }
}
origin: org.hibernate/hibernate-tools

/**
 *
 */
public void readFromDatabase(String catalog, String schema, Mapping mapping) {
  try {
    DatabaseCollector collector = readDatabaseSchema(catalog, schema);
    createPersistentClasses(collector, mapping); //move this to a different step!
    ((InFlightMetadataCollectorImpl)metadataCollector).processSecondPasses(mdbc);
  }
  catch (SQLException e) {
    JdbcServices jdbcServices = serviceRegistry.getService(JdbcServices.class);
    throw jdbcServices.getSqlExceptionHelper().convert(e, "Reading from database", null);
  }
}
origin: hibernate/hibernate-tools

/**
 *
 */
public void readFromDatabase(String catalog, String schema, Mapping mapping) {
  try {
    DatabaseCollector collector = readDatabaseSchema(catalog, schema);
    createPersistentClasses(collector, mapping); //move this to a different step!
    ((InFlightMetadataCollectorImpl)metadataCollector).processSecondPasses(mdbc);
  }
  catch (SQLException e) {
    JdbcServices jdbcServices = serviceRegistry.getService(JdbcServices.class);
    throw jdbcServices.getSqlExceptionHelper().convert(e, "Reading from database", null);
  }
}
origin: org.hibernate.orm/hibernate-core

processSecondPasses( buildingContext );
origin: org.hibernate.orm/hibernate-core

metadataCollector.processSecondPasses( rootMetadataBuildingContext );
org.hibernate.boot.internalInFlightMetadataCollectorImplprocessSecondPasses

Javadoc

Ugh! But we need this done before we ask Envers to produce its entities.

Popular methods of InFlightMetadataCollectorImpl

  • <init>
  • buildMetadataInstance
    Builds the complete and immutable Metadata instance from the collected info.
  • addClassType
  • addCopyIdentifierComponentSecondPass
  • addCreateKeySecondPass
  • addDelayedPropertyReferenceHandler
  • addFkSecondPass
  • addIdGeneratorResolverSecondPass
  • addIdentifierGenerator
  • addImplicitColumnNamingSecondPass
  • addNamedProcedureCallDefinition
  • addPkDrivenByDefaultMapsIdSecondPass
  • addNamedProcedureCallDefinition,
  • addPkDrivenByDefaultMapsIdSecondPass,
  • addQuerySecondPass,
  • addSecondPass,
  • addSecondaryTableSecondPass,
  • addSetSimpleValueTypeSecondPass,
  • addUniqueConstraintHolders,
  • applyNamedNativeQuery,
  • applyResultSetMapping

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Notification (javax.management)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Github Copilot alternatives
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