java JPA映射文件教程

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/690155/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 13:24:09  来源:igfitidea点击:

Tutorial on JPA mapping file

javajakarta-eejpamapping

提问by yoitsfrancis

Is there a great tutorial on how to use JPA mapping file? Accompanying related source code for the mapping file would be great also.

是否有关于如何使用 JPA 映射文件的很棒的教程?附带映射文件的相关源代码也很棒。

回答by Lucas Fragomeni

There is also a good doc. on the different entity configurations here: http://docs.jboss.org/hibernate/stable/entitymanager/reference/en/html_single/#configuration

还有一个很好的文档。关于这里不同的实体配置:http: //docs.jboss.org/hibernate/stable/entitymanager/reference/en/html_single/#configuration