ClosureTable
ClosureTable copied to clipboard
Column name disambiguation in closure table queries
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.