Codota Logo
IndexOrUniqueKeySecondPass.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.hibernate.cfg.IndexOrUniqueKeySecondPass
constructor

Best Java code snippets using org.hibernate.cfg.IndexOrUniqueKeySecondPass.<init> (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

public static void addIndexes(Table hibTable, Index[] indexes, MetadataBuildingContext buildingContext) {
  for (Index index : indexes) {
    //no need to handle inSecondPass here since it is only called from EntityBinder
    buildingContext.getMetadataCollector().addSecondPass(
        new IndexOrUniqueKeySecondPass( hibTable, index.name(), index.columnNames(), buildingContext )
    );
  }
}
origin: hibernate/hibernate-orm

void addIndex(String indexName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( indexName, this, context, false );
  if ( inSecondPass ) {
    secondPass.doSecondPass( context.getMetadataCollector().getEntityBindingMap() );
  }
  else {
    context.getMetadataCollector().addSecondPass( secondPass );
  }
}
origin: hibernate/hibernate-orm

void addUniqueKey(String uniqueKeyName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( uniqueKeyName, this, context, true );
  if ( inSecondPass ) {
    secondPass.doSecondPass( context.getMetadataCollector().getEntityBindingMap() );
  }
  else {
    context.getMetadataCollector().addSecondPass( secondPass );
  }
}
origin: org.hibernate/hibernate-annotations

void addIndex(String indexName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( indexName, this, mappings, false );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate/hibernate-annotations

void addUniqueKey(String uniqueKeyName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( uniqueKeyName, this, mappings, true );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate/hibernate-annotations

public static void addIndexes(Table hibTable, Index[] indexes, ExtendedMappings mappings) {
  for (Index index : indexes) {
    //no need to handle inSecondPass here since it is only called from EntityBinder
    mappings.addSecondPass(
        new IndexOrUniqueKeySecondPass( hibTable, index.name(), index.columnNames(), mappings )
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

public static void addIndexes(Table hibTable, Index[] indexes, Mappings mappings) {
  for (Index index : indexes) {
    //no need to handle inSecondPass here since it is only called from EntityBinder
    mappings.addSecondPass(
        new IndexOrUniqueKeySecondPass( hibTable, index.name(), index.columnNames(), mappings )
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

void addIndex(String indexName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( indexName, this, mappings, false );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

void addIndex(String indexName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( indexName, this, mappings, false );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

public static void addIndexes(Table hibTable, Index[] indexes, Mappings mappings) {
  for (Index index : indexes) {
    //no need to handle inSecondPass here since it is only called from EntityBinder
    mappings.addSecondPass(
        new IndexOrUniqueKeySecondPass( hibTable, index.name(), index.columnNames(), mappings )
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

void addUniqueKey(String uniqueKeyName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( uniqueKeyName, this, mappings, true );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

void addUniqueKey(String uniqueKeyName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( uniqueKeyName, this, mappings, true );
  if ( inSecondPass ) {
    secondPass.doSecondPass( mappings.getClasses() );
  }
  else {
    mappings.addSecondPass(
        secondPass
    );
  }
}
origin: org.hibernate.orm/hibernate-core

public static void addIndexes(MappedTable hibTable, Index[] indexes, MetadataBuildingContext buildingContext) {
  for (Index index : indexes) {
    //no need to handle inSecondPass here since it is only called from EntityBinder
    buildingContext.getMetadataCollector().addSecondPass(
        new IndexOrUniqueKeySecondPass( hibTable, index.name(), index.columnNames(), buildingContext )
    );
  }
}
origin: org.hibernate.orm/hibernate-core

void addIndex(String indexName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( indexName, this, context, false );
  if ( inSecondPass ) {
    secondPass.doSecondPass( context.getMetadataCollector().getEntityBindingMap() );
  }
  else {
    context.getMetadataCollector().addSecondPass( secondPass );
  }
}
origin: org.hibernate.orm/hibernate-core

void addUniqueKey(String uniqueKeyName, boolean inSecondPass) {
  IndexOrUniqueKeySecondPass secondPass = new IndexOrUniqueKeySecondPass( uniqueKeyName, this, context, true );
  if ( inSecondPass ) {
    secondPass.doSecondPass( context.getMetadataCollector().getEntityBindingMap() );
  }
  else {
    context.getMetadataCollector().addSecondPass( secondPass );
  }
}
org.hibernate.cfgIndexOrUniqueKeySecondPass<init>

Javadoc

Build an index

Popular methods of IndexOrUniqueKeySecondPass

  • addConstraintToColumn
  • doSecondPass
  • addConstraintToColumns

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
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