![]() |
1
40
你可以简单地使用
|
![]() |
2
9
|
![]() |
3
2
其他可能性如下:
这只生成两个表User和Preferences,请注意PreferenceKey对于域中的用户是唯一的 |
![]() |
4
1
您可能应该使用UserType或UserCollectionType。或者,您可以使用自定义tupleizer。 看见 hibernate core documentation 对于概念和 hibernate annotations documentation 对于等效注释方法。
|
![]() |
Gero Mendy · 如何为一个类分配兵变的结果。查询 1 年前 |
![]() |
Hamvy B · 替换不推荐的hibernate方法 1 年前 |
![]() |
Martin Pfeffer · Spring Boot JPA 1 年前 |
|
denstran · 休眠未生成正确的id 1 年前 |
![]() |
Frank · 忽略/跳过Hibernate架构验证中的特定字段 1 年前 |