wk1563396689
V2EX  ›  问与答

Hibernate 懒加载异常

  •  
  •   wk1563396689 · Oct 10, 2019 · 1450 views
    This topic created in 2474 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   ·   2571 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:41 · PVG 23:41 · LAX 08:41 · JFK 11:41
    ♥ Do have faith in what you're doing.