wk1563396689
V2EX  ›  问与答

Hibernate 懒加载异常

  •  
  •   wk1563396689 · Oct 10, 2019 · 1430 views
    This topic created in 2466 days ago, the information mentioned may be changed or developed.
    我通过 userId 去查找 User,但是 User 表里面有个外键 Role,这时候查找的时候 Role 属性就报 Unable to evaluate the expression Method threw 'org.hibernate.exception.SQLGrammarException' exception.是我查找用户的方式有问题么? springboot 项目
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
    ♥ Do have faith in what you're doing.