The last time I didn't support alias (http://blog.9cbs.net/hongbo781202/archive/2004/09/02/92521.aspx), today I have experienced very Tedious debug procedures, which is a bit by subtraction of Hibernate. disappointed
Today's error lies in select firstly_repair from trouble_create as t in runtime, error message is undefined alias: firstly_repair, error message is inexplicable as the last time, and finally I finally know the cause of the error
It seems that although Hibernate has a good support for general application development, it is not suitable for product development; in fact, the characteristics of alias and this time does not specify the table name (estimate and speaking name), it is not difficult to achieve , But hibernate is not supported; it is disappointed with Hibernate.
Hibernate's documentation and domestic and foreign articles have a lot of forums, all talk about this feature of Hibernate, but the problem that should be reminded to beginners should not mention, hehe!
I hope to see an article, "Hibernate three major discipline eight attention >> Let us take less detours.