hibernate在Native SQL Query中使用addJoin的问题

在SQLQuery中本来以为用addJoin就可以解决关联的问题,结果发现有bug,具体可以参考
http://stackoverflow.com/questions/7186806/hibernate-native-sql-query-retrieving-entities-and-collections

猜你喜欢

转载自kabike.iteye.com/blog/2093089