简体   繁体   中英

Hibernate criteria. Left join question

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 of 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM