wk1563396689
V2EX  ›  问与答

Hibernate 懒加载异常

  •  
  •   wk1563396689 · Oct 10, 2019 · 1335 views
    This topic created in 2409 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   ·   2903 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:02 · PVG 20:02 · LAX 05:02 · JFK 08:02
    ♥ Do have faith in what you're doing.