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

How to use
ExportableProducer
in
org.hibernate.boot.model.relational

Best Java code snippets using org.hibernate.boot.model.relational.ExportableProducer (Showing top 4 results out of 315)

origin: hibernate/hibernate-orm

  @Override
  public void registerExportables(Database database) {
    if ( ExportableProducer.class.isInstance( subGenerator ) ) {
      ( (ExportableProducer) subGenerator ).registerExportables( database );
    }
  }
}
origin: hibernate/hibernate-orm

private void handleIdentifierValueBinding(
    KeyValue identifierValueBinding,
    Dialect dialect,
    String defaultCatalog,
    String defaultSchema,
    RootClass entityBinding) {
  // todo : store this result (back into the entity or into the KeyValue, maybe?)
  // 		This process of instantiating the id-generator is called multiple times.
  //		It was done this way in the old code too, so no "regression" here; but
  //		it could be done better
  try {
    final IdentifierGenerator ig = identifierValueBinding.createIdentifierGenerator(
        getIdentifierGeneratorFactory(),
        dialect,
        defaultCatalog,
        defaultSchema,
        entityBinding
    );
    if ( ig instanceof ExportableProducer ) {
      ( (ExportableProducer) ig ).registerExportables( getDatabase() );
    }
  }
  catch (MappingException e) {
    // ignore this for now.  The reasoning being "non-reflective" binding as needed
    // by tools.  We want to hold off requiring classes being present until we
    // try to build a SF.  Here, just building the Metadata, it is "ok" for an
    // exception to occur, the same exception will happen later as we build the SF.
    log.debugf( "Ignoring exception thrown when trying to build IdentifierGenerator as part of Metadata building", e );
  }
}
origin: org.hibernate.orm/hibernate-core

  @Override
  public void registerExportables(Database database) {
    if ( ExportableProducer.class.isInstance( subGenerator ) ) {
      ( (ExportableProducer) subGenerator ).registerExportables( database );
    }
  }
}
origin: org.hibernate.orm/hibernate-core

( (ExportableProducer) ig ).registerExportables( getDatabase() );
org.hibernate.boot.model.relationalExportableProducer

Javadoc

Identifies metamodel objects that can produce Exportable relational stuff.

Most used methods

  • registerExportables
    Register the contained exportable things to the Database

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top plugins for WebStorm
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