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

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

  •  
  •   forreal · Oct 15, 2014 · 5578 views
    This topic created in 4237 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   ·   2822 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:31 · PVG 21:31 · LAX 06:31 · JFK 09:31
    ♥ Do have faith in what you're doing.