开发者

Hibernate criteria. Left join question

开发者 https://www.devze.com 2023-03-22 02:26 出处:网络
The below SQL able to execute without error.My first table has this field this_.CHECKER_DATE. When I do join with second table, there is query customermo1_.CHECKER_DATE which does not even exist in cu

The below SQL able to execute without error. My first table has this field this_.CHECKER_DATE. When I do join with second table, there is query customermo1_.CHECKER_DATE which does not even exist in customermo1_. Is this normal behavior o开发者_如何学运维f Hibernate?

Please see show_sql output at http://pastebin.com/sNpSvmSm


Hibernate knows what exists in your entities only from the mapping.

From what you wrote, it looks as if the mapping for customermo1_ has a field called CHECKER_DATE.

0

精彩评论

暂无评论...
验证码 换一张
取 消