ClosureTable icon indicating copy to clipboard operation
ClosureTable copied to clipboard

Column name disambiguation in closure table queries

Open Djuuu opened this issue 4 years ago • 0 comments

The buildAncestorsQuery() and buildDescendantsQuery() methods don't use qualified column names.

This could lead to "ambiguous column name" errors when the entity table has columns named ancestor, descendants or depth.

Using qualified column names prevents this.

Djuuu avatar Sep 13 '21 14:09 Djuuu