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

How to use
getIdentifierType
method
in
org.hibernate.engine.spi.Mapping

Best Java code snippets using org.hibernate.engine.spi.Mapping.getIdentifierType (Showing top 3 results out of 315)

origin: hibernate/hibernate-orm

/**
 * Convenience method to locate the identifier type of the associated entity.
 *
 * @param factory The mappings...
 *
 * @return The identifier type
 */
Type getIdentifierType(final Mapping factory) {
  final Type type = associatedIdentifierType;
  //The following branch implements a simple lazy-initialization, but rather than the canonical
  //form it returns the local variable to avoid a second volatile read: associatedIdentifierType
  //needs to be volatile as the initialization might happen by a different thread than the readers.
  if ( type == null ) {
    associatedIdentifierType = factory.getIdentifierType( getAssociatedEntityName() );
    return associatedIdentifierType;
  }
  else {
    return type;
  }
}
origin: org.hibernate/com.springsource.org.hibernate

/**
 * Convenience method to locate the identifier type of the associated entity.
 *
 * @param factory The mappings...
 * @return The identifier type
 */
Type getIdentifierType(Mapping factory) {
  return factory.getIdentifierType( getAssociatedEntityName() );
}
origin: org.hibernate/com.springsource.org.hibernate.core

/**
 * Convenience method to locate the identifier type of the associated entity.
 *
 * @param factory The mappings...
 * @return The identifier type
 */
Type getIdentifierType(Mapping factory) {
  return factory.getIdentifierType( getAssociatedEntityName() );
}
org.hibernate.engine.spiMappinggetIdentifierType

Popular methods of Mapping

  • getIdentifierPropertyName
  • getIdentifierGeneratorFactory
    Allow access to the id generator factory, though this is only needed/allowed from configuration.
  • getReferencedPropertyType

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • setScale (BigDecimal)
  • setContentView (Activity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ImageIO (javax.imageio)
  • Notification (javax.management)
  • JTextField (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for Android Studio
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