Tabnine Logo
Mappings.addJoins
Code IndexAdd Tabnine to your IDE (free)

How to use
addJoins
method
in
org.hibernate.cfg.Mappings

Best Java code snippets using org.hibernate.cfg.Mappings.addJoins (Showing top 2 results out of 315)

origin: org.hibernate/com.springsource.org.hibernate.core

public void finalSecondaryTableBinding(PropertyHolder propertyHolder) {
  /*
   * Those operations has to be done after the id definition of the persistence class.
   * ie after the properties parsing
   */
  Iterator joins = secondaryTables.values().iterator();
  Iterator joinColumns = secondaryTableJoins.values().iterator();
  while ( joins.hasNext() ) {
    Object uncastedColumn = joinColumns.next();
    Join join = (Join) joins.next();
    createPrimaryColumnsToSecondaryTable( uncastedColumn, propertyHolder, join );
  }
  mappings.addJoins( persistentClass, secondaryTables );
}
origin: org.hibernate/com.springsource.org.hibernate

public void finalSecondaryTableBinding(PropertyHolder propertyHolder) {
  /*
   * Those operations has to be done after the id definition of the persistence class.
   * ie after the properties parsing
   */
  Iterator joins = secondaryTables.values().iterator();
  Iterator joinColumns = secondaryTableJoins.values().iterator();
  while ( joins.hasNext() ) {
    Object uncastedColumn = joinColumns.next();
    Join join = (Join) joins.next();
    createPrimaryColumnsToSecondaryTable( uncastedColumn, propertyHolder, join );
  }
  mappings.addJoins( persistentClass, secondaryTables );
}
org.hibernate.cfgMappingsaddJoins

Javadoc

Add join metadata for a persistent entity.

Popular methods of Mappings

  • addClass
    Add entity mapping metadata.
  • addImport
    Adds an import (HQL entity rename) to the repository.
  • addTable
    Adds table metadata to this repository returning the created metadata instance.
  • getCatalogName
    Returns the currently bound default catalog name.
  • getClass
    Retrieves the entity mapping metadata for the given entity name.
  • getSchemaName
    Returns the currently bound default schema name.
  • addCollection
    Add collection mapping metadata to this repository.
  • addSecondPass
    Adds a second pass.
  • addTableBinding
    Adds a table binding to this repository.
  • getDefaultAccess
    Get the current default property access style.
  • isAutoImport
    Determine whether auto importing of entity names is currently enabled.
  • addDenormalizedTable
    Adds a 'denormalized table' to this repository.
  • isAutoImport,
  • addDenormalizedTable,
  • addFilterDefinition,
  • addTypeDef,
  • addUniquePropertyReference,
  • getObjectNameNormalizer,
  • setAutoImport,
  • addColumnBinding,
  • addPropertyReference,
  • addQuery

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • 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
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JOptionPane (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 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