• 请不要在回答技术问题时复制粘贴 AI 生成的内容
forreal
V2EX  ›  程序员

请教 javax.persistence.@MapsId 在什么情况下用

  •  
  •   forreal · Oct 15, 2014 · 5617 views
    This topic created in 4253 days ago, the information mentioned may be changed or developed.
    最近在看hibernate文档 对5.1.2.1.1的第二个例子中@MapsId的用法不太明白。看java ee7 api后依然不知道该在什么情况下使用@MapsId注解。
    求V友指点
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   828 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:20 · PVG 05:20 · LAX 14:20 · JFK 17:20
    ♥ Do have faith in what you're doing.