|
JPA does not say anything either way about aliases (identification variables it calls them) in terms of collisions.
My point is just that you cannot use SQL as the justification here. SQL does not have this potential collision problem because, like I said, the from-clause alias can never be used as an expression in SQL; it can in HQL/JPQL.
|