With the @Where annotation you can use ${ta} as a place holder for the table alias.
The table alias can change if the associated bean is joined versus lazy loaded.
The code is fixed in HEAD - fixing lazy loading use of ${ta} in @Where.