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

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • getContentResolver (Context)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • BoxLayout (javax.swing)
  • JFileChooser (javax.swing)
  • JTextField (javax.swing)
  • 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