Tabnine Logo
ImplicitCollectionTableNameSource.getOwningPhysicalTableName
Code IndexAdd Tabnine to your IDE (free)

How to use
getOwningPhysicalTableName
method
in
org.hibernate.boot.model.naming.ImplicitCollectionTableNameSource

Best Java code snippets using org.hibernate.boot.model.naming.ImplicitCollectionTableNameSource.getOwningPhysicalTableName (Showing top 4 results out of 315)

origin: hibernate/hibernate-orm

@Override
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source) {
  Identifier identifier = toIdentifier(
      source.getOwningPhysicalTableName().getText() + "_" + transformAttributePath( source.getOwningAttributePath() ),
      source.getBuildingContext()
  );
  if ( source.getOwningPhysicalTableName().isQuoted() ) {
    identifier = Identifier.quote( identifier );
  }
  return identifier;
}
origin: hibernate/hibernate-orm

@Override
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source) {
  // This impl uses the owner entity table name instead of the JPA entity name when
  // generating the implicit name.
  final String name = source.getOwningPhysicalTableName().getText()
      + '_'
      + transformAttributePath( source.getOwningAttributePath() );
  return toIdentifier( name, source.getBuildingContext() );
}
origin: org.hibernate.orm/hibernate-core

@Override
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source) {
  Identifier identifier = toIdentifier(
      source.getOwningPhysicalTableName().getText() + "_" + transformAttributePath( source.getOwningAttributePath() ),
      source.getBuildingContext()
  );
  if ( source.getOwningPhysicalTableName().isQuoted() ) {
    identifier = Identifier.quote( identifier );
  }
  return identifier;
}
origin: Evolveum/midpoint

@Override
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source) {
  Identifier i = super.determineCollectionTableName(source);
  LOGGER.trace("determineCollectionTableName {} {} {} -> {}", source.getOwningEntityNaming(),
      source.getOwningPhysicalTableName(), source.getOwningAttributePath(), i);
  return i;
}
org.hibernate.boot.model.namingImplicitCollectionTableNameSourcegetOwningPhysicalTableName

Javadoc

Access to the physical name of the owning entity's table.

Popular methods of ImplicitCollectionTableNameSource

  • getOwningAttributePath
    Access to the name of the attribute, from the owning side, that defines the association.
  • getBuildingContext
  • getOwningEntityNaming
    Access to entity naming information for the owning side.

Popular in Java

  • Reactive rest calls using spring rest template
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Best IntelliJ plugins
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