sweetcode
V2EX  ›  问与答

Hibernate 配置的问题

  •  
  •   sweetcode · Jul 29, 2017 · 1338 views
    This topic created in 3352 days ago, the information mentioned may be changed or developed.

    配置 mapping,PO 类映射用的注解 用

    <mapping class="xxx.xxx"/>
    

    配置生效了

    用

    <mapping package="xxx"/>
    

    配置却无法生效?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2509 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    ♥ Do have faith in what you're doing.