[jOOQ/jOOQ#11388] java.lang.IllegalStateException: Cannot create a DerivedColumnList from a qualified name
This commit is contained in:
parent
0f9f4c348d
commit
a6380e0e0f
@ -117,9 +117,6 @@ abstract class AbstractName extends AbstractQueryPart implements Name {
|
||||
|
||||
@Override
|
||||
public final DerivedColumnListImpl fields(Name... fieldNames) {
|
||||
if (getName().length != 1)
|
||||
throw new IllegalStateException("Cannot create a DerivedColumnList from a qualified name : " + Arrays.asList(getName()));
|
||||
|
||||
return new DerivedColumnListImpl(unqualifiedName(), fieldNames);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user