MySQL 延迟 查询主表
2022-11-12 09:18:58
内容摘要
这篇文章主要为大家详细介绍了MySQL 延迟 查询主表,具有一定的参考价值,可以用来参考一下。
对此感兴趣的朋友,看看idc笔记做的技术笔记!例:
代码如下:
<hibernate-mapping>
文章正文
这篇文章主要为大家详细介绍了MySQL 延迟 查询主表,具有一定的参考价值,可以用来参考一下。
对此感兴趣的朋友,看看idc笔记做的技术笔记!
例:代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <code> <hibernate-mapping> < class name= "com.pojo.Sortp" table= "sortp" catalog= "shjdc" > <id name= "id" type= "java.lang.Integer" > <column name= "Id" /> <generator class = "assigned" /> </id> <property name= "name" type= "java.lang.String" > <column name= "Name" length= "40" not-null= "true" /> </property> <set name= "productses" inverse= "true" cascade= "all" lazy= "true" > <key> <column name= "Sortid" not-null= "true" /> </key> <one-to-many class = "com.pojo.Products" /> </set> </ class > </hibernate-mapping> </code> |
注:关于MySQL 延迟 查询主表的内容就先介绍到这里,更多相关文章的可以留意
代码注释