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

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

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

origin: jboss.jboss-embeddable-ejb3/hibernate-all

public String getLogicalTableName(Table table) {
  return getLogicalTableName( table.getQuotedSchema(), table.getCatalog(), table.getQuotedName() );
}
origin: org.hibernate/com.springsource.org.hibernate.core

String logicalTableName = getMappings().getLogicalTableName( referencedEntity.getTable() );
String unquotedLogicalTableName = StringHelper.unquote( logicalTableName );
columnName = getMappings().getNamingStrategy().foreignKeyColumnName(
String logicalTableName = getMappings().getLogicalTableName( referencedEntity.getTable() );
String unquotedLogicalTableName = StringHelper.unquote( logicalTableName );
columnName = getMappings().getNamingStrategy().joinKeyColumnName(
origin: org.hibernate/com.springsource.org.hibernate

String logicalTableName = getMappings().getLogicalTableName( referencedEntity.getTable() );
String unquotedLogicalTableName = StringHelper.unquote( logicalTableName );
columnName = getMappings().getNamingStrategy().foreignKeyColumnName(
String logicalTableName = getMappings().getLogicalTableName( referencedEntity.getTable() );
String unquotedLogicalTableName = StringHelper.unquote( logicalTableName );
columnName = getMappings().getNamingStrategy().joinKeyColumnName(
origin: org.hibernate/com.springsource.org.hibernate

Table ownerTable = collValue.getOwner().getTable();
column.setMappedBy(
    collValue.getOwner().getEntityName(), mappings.getLogicalTableName( ownerTable ),
    mappedByProperty
);
    mappings.getLogicalTableName( collValue.getOwner().getTable() ),
    collectionEntity != null ? collectionEntity.getEntityName() : null,
    collectionEntity != null ? mappings.getLogicalTableName( collectionEntity.getTable() ) : null,
    joinColumns[0].getPropertyName()
);
origin: org.hibernate/com.springsource.org.hibernate.core

Table ownerTable = collValue.getOwner().getTable();
column.setMappedBy(
    collValue.getOwner().getEntityName(), mappings.getLogicalTableName( ownerTable ),
    mappedByProperty
);
    mappings.getLogicalTableName( collValue.getOwner().getTable() ),
    collectionEntity != null ? collectionEntity.getEntityName() : null,
    collectionEntity != null ? mappings.getLogicalTableName( collectionEntity.getTable() ) : null,
    joinColumns[0].getPropertyName()
);
org.hibernate.cfgMappingsgetLogicalTableName

Javadoc

Get the logical table name mapped for the given physical table.

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

  • Parsing JSON documents to java classes using gson
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • 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