Tabnine Logo
Database.getInitCommands
Code IndexAdd Tabnine to your IDE (free)

How to use
getInitCommands
method
in
org.hibernate.boot.model.relational.Database

Best Java code snippets using org.hibernate.boot.model.relational.Database.getInitCommands (Showing top 2 results out of 315)

origin: hibernate/hibernate-orm

for ( InitCommand initCommand : database.getInitCommands() ) {
origin: org.hibernate.orm/hibernate-core

private DatabaseModel execute() {
  final DatabaseModelImpl runtimeDatabaseModel = new DatabaseModelImpl( bootDatabaseModel.getJdbcEnvironment() );
  for ( MappedNamespace bootModelNamespace : bootDatabaseModel.getNamespaces() ) {
    final NamespaceImpl runtimeModelNamespace = generateNamespace(
        runtimeDatabaseModel,
        bootModelNamespace
    );
    if ( bootModelNamespace == bootDatabaseModel.getDefaultNamespace() ) {
      runtimeDatabaseModel.setDefaultNamespace( runtimeModelNamespace );
    }
    processTables( bootModelNamespace, runtimeModelNamespace );
    processSequences( bootModelNamespace, runtimeModelNamespace );
  }
  processForeignKeys( bootDatabaseModel, runtimeDatabaseModel );
  for ( MappedAuxiliaryDatabaseObject mappedAuxiliaryDatabaseObject : bootDatabaseModel.getAuxiliaryDatabaseObjects() ) {
    runtimeDatabaseModel.addAuxiliaryDatabaseObject( mappedAuxiliaryDatabaseObject.generateRuntimeAuxiliaryDatabaseObject(
        bootDatabaseModel.getJdbcEnvironment().getDialect() ) );
  }
  for ( InitCommand command : bootDatabaseModel.getInitCommands() ) {
    runtimeDatabaseModel.addInitCommand( command );
  }
  return runtimeDatabaseModel;
}
org.hibernate.boot.model.relationalDatabasegetInitCommands

Popular methods of Database

  • getNamespaces
  • getDefaultNamespace
  • getJdbcEnvironment
  • getDialect
  • locateNamespace
  • <init>
  • addAuxiliaryDatabaseObject
  • getAuxiliaryDatabaseObjects
  • adjustDefaultNamespace
  • determineDialect
  • makeNamespace
  • toIdentifier
    Wrap the raw name of a database object in it's Identifier form accounting for quoting from any of: *
  • makeNamespace,
  • toIdentifier,
  • getPhysicalNamingStrategy,
  • getServiceRegistry

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • putExtra (Intent)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • 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