hibernate有FieldStrategy吗
时间: 2023-12-29 11:06:02 浏览: 74
Hibernate源码
在Hibernate中没有叫做FieldStrategy的概念。 FieldStrategy是MyBatis-Plus框架中的一个注解,用于定义实体类字段的插入和更新策略。而在Hibernate中,可以使用@Column注解来定义字段的插入和更新策略。通常情况下,Hibernate默认会使用INSERT和UPDATE策略,也可以使用@DynamicInsert和@DynamicUpdate注解来启用动态插入和更新策略。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Spring-boot配置JPA与MyBatisPlus](https://blog.csdn.net/qq_33235279/article/details/128828357)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [用MyEclipse自动生成hibernate映射文件和实体类](https://download.csdn.net/download/qq_37647812/88240759)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文