Table currentTable = current.getTable(); try { mappings.getPhysicalColumnName( columnName, currentTable ); found = true; currentTable = ( (Join) result ).getTable(); try { mappings.getPhysicalColumnName( columnName, currentTable ); found = true;
Table currentTable = current.getTable(); try { mappings.getPhysicalColumnName( columnName, currentTable ); found = true; currentTable = ( (Join) result ).getTable(); try { mappings.getPhysicalColumnName( columnName, currentTable ); found = true;
final String logicalColumnName = normalizer.normalizeIdentifierQuoting( columnNames[index] ); try { final String columnName = createMappings().getPhysicalColumnName( logicalColumnName, table ); columns[index] = new Column( columnName ); unbound.add( columns[index] );
final String logicalColumnName = normalizer.normalizeIdentifierQuoting( columnNames[index] ); try { final String columnName = createMappings().getPhysicalColumnName( logicalColumnName, table ); columns[index] = new Column( columnName ); unbound.add( columns[index] );
mappings.getPhysicalColumnName( column1.getReferencedColumn(), referencedTable ) ); orderedColumns.add( column );
mappings.getPhysicalColumnName( column1.getReferencedColumn(), referencedTable ) ); orderedColumns.add( column );
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 ); } }
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 ); } }
String referencedColumnName; try { referencedColumnName = mappings.getPhysicalColumnName( logicalReferencedColumnName, matchingTable );
String referencedColumnName; try { referencedColumnName = mappings.getPhysicalColumnName( logicalReferencedColumnName, matchingTable );
for (Ejb3JoinColumn joinCol : columns) { String referencedColumn = joinCol.getReferencedColumn(); referencedColumn = mappings.getPhysicalColumnName( referencedColumn, table );
for (Ejb3JoinColumn joinCol : columns) { String referencedColumn = joinCol.getReferencedColumn(); referencedColumn = mappings.getPhysicalColumnName( referencedColumn, table );