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

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

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

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

Table currentTable = current.getTable();
try {
  mappings.getPhysicalColumnName( columnName, currentTable );
  found = true;
  currentTable = ( (Join) result ).getTable();
  try {
    mappings.getPhysicalColumnName( columnName, currentTable );
    found = true;
origin: org.hibernate/com.springsource.org.hibernate.core

Table currentTable = current.getTable();
try {
  mappings.getPhysicalColumnName( columnName, currentTable );
  found = true;
  currentTable = ( (Join) result ).getTable();
  try {
    mappings.getPhysicalColumnName( columnName, currentTable );
    found = true;
origin: org.hibernate/com.springsource.org.hibernate

final String logicalColumnName = normalizer.normalizeIdentifierQuoting( columnNames[index] );
try {
  final String columnName = createMappings().getPhysicalColumnName( logicalColumnName, table );
  columns[index] = new Column( columnName );
  unbound.add( columns[index] );
origin: org.hibernate/com.springsource.org.hibernate.core

final String logicalColumnName = normalizer.normalizeIdentifierQuoting( columnNames[index] );
try {
  final String columnName = createMappings().getPhysicalColumnName( logicalColumnName, table );
  columns[index] = new Column( columnName );
  unbound.add( columns[index] );
origin: org.hibernate/com.springsource.org.hibernate

    mappings.getPhysicalColumnName( column1.getReferencedColumn(), referencedTable )
);
orderedColumns.add( column );
origin: org.hibernate/com.springsource.org.hibernate.core

    mappings.getPhysicalColumnName( column1.getReferencedColumn(), referencedTable )
);
orderedColumns.add( column );
origin: org.hibernate/com.springsource.org.hibernate.core

  private void addConstraintToColumn(String columnName) {
    Column column = table.getColumn(
        new Column(
            mappings.getPhysicalColumnName( columnName, table )
        )
    );
    if ( column == null ) {
      throw new AnnotationException(
          "@Index references a unknown column: " + columnName
      );
    }
    if ( unique )
      table.getOrCreateUniqueKey( indexName ).addColumn( column );
    else
      table.getOrCreateIndex( indexName ).addColumn( column );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

  private void addConstraintToColumn(String columnName) {
    Column column = table.getColumn(
        new Column(
            mappings.getPhysicalColumnName( columnName, table )
        )
    );
    if ( column == null ) {
      throw new AnnotationException(
          "@Index references a unknown column: " + columnName
      );
    }
    if ( unique )
      table.getOrCreateUniqueKey( indexName ).addColumn( column );
    else
      table.getOrCreateIndex( indexName ).addColumn( column );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

String referencedColumnName;
try {
  referencedColumnName = mappings.getPhysicalColumnName( logicalReferencedColumnName, matchingTable );
origin: org.hibernate/com.springsource.org.hibernate.core

String referencedColumnName;
try {
  referencedColumnName = mappings.getPhysicalColumnName( logicalReferencedColumnName, matchingTable );
origin: org.hibernate/com.springsource.org.hibernate

for (Ejb3JoinColumn joinCol : columns) {
  String referencedColumn = joinCol.getReferencedColumn();
  referencedColumn = mappings.getPhysicalColumnName( referencedColumn, table );
origin: org.hibernate/com.springsource.org.hibernate.core

for (Ejb3JoinColumn joinCol : columns) {
  String referencedColumn = joinCol.getReferencedColumn();
  referencedColumn = mappings.getPhysicalColumnName( referencedColumn, table );
org.hibernate.cfgMappingsgetPhysicalColumnName

Javadoc

Find the physical column name for the given logical column name within the given 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

  • Start an intent from android
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Top plugins for WebStorm
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