简体   繁体   English

没有注释实体的休眠

[英]Hibernate without annotation entity

Client requires a solution without @entity annotation.客户端需要一个没有@entity注释的解决方案。 Is a possible to use hibernate without the @entity annotation?是否可以在没有@entity注释的情况下使用 hibernate? I have hibernate.cfg.xml file with mapping entity:我有带有映射实体的hibernate.cfg.xml文件:

.....
<mapping class="cz.tacr.elza.api.model.FindingAid"/>
....

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM