How to automatically add hbm.xml in IDEA?

前端之家收集整理的这篇文章主要介绍了How to automatically add hbm.xml in IDEA?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Go to Project Structure (Ctrl+Alt+Shift+Son my Box) → Facets → Plus sign at the top of dialog → Hibernate → and select your cfg.xml file there. hbm.xml should connect to project automatically.

Hereyou can find info about generating persistence mappings. Briefly: in View -- Tools -- persustence tools window you can right-click your persistence unit ang there generate persistence mappings.

原文链接:https://www.f2er.com/idea/295443.html

猜你在找的IDEA相关文章