@TableAlias causes exception in DML query
IAM20 opened this issue · 0 comments
IAM20 commented
@TableAlias causes exception when DML using WHERE clause
For example
@TableAlias("n_bd")
public class Board {
...
}
This class cannot be updated because of the TableAlias
The Update SQL made by SqlGenerator will be
UPDATE SET `n_board`
...
WHERE `n_bd`.`id` = :id;
This SQL makes the table not found exception.