[#5051] TableAlias does not delegate getIdentity(), getPrimaryKey(), getKeys(), getRecordVersion(), getRecordTimestamp() calls to aliased table
This commit is contained in:
parent
8f86bc19c5
commit
c122a176ec
@ -42,15 +42,19 @@
|
||||
package org.jooq.impl;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Clause;
|
||||
import org.jooq.Context;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.Identity;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.Row;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
|
||||
/**
|
||||
* @author Lukas Eder
|
||||
@ -115,11 +119,36 @@ class TableAlias<R extends Record> extends AbstractTable<R> {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final Identity<R, ?> getIdentity() {
|
||||
return alias.wrapped().getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final UniqueKey<R> getPrimaryKey() {
|
||||
return alias.wrapped().getPrimaryKey();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<UniqueKey<R>> getKeys() {
|
||||
return alias.wrapped().getKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<ForeignKey<R, ?>> getReferences() {
|
||||
return alias.wrapped().getReferences();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final TableField<R, ? extends Number> getRecordVersion() {
|
||||
return alias.wrapped().getRecordVersion();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final TableField<R, ? extends Date> getRecordTimestamp() {
|
||||
return alias.wrapped().getRecordTimestamp();
|
||||
}
|
||||
|
||||
@Override
|
||||
public final void accept(Context<?> ctx) {
|
||||
ctx.visit(alias);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user