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

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

  •  
  •   forreal · Oct 15, 2014 · 5629 views
    This topic created in 4261 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   ·   5586 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:33 · PVG 15:33 · LAX 00:33 · JFK 03:33
    ♥ Do have faith in what you're doing.