New: shuxingshitiAll contenthive-129948hive-196917krhive-180932hive-150122zzansteemhive-185836hive-183959hive-166405hive-144064photographyhive-145157hive-101145hive-188619hive-184714uncommonlabhive-183397hive-103599bitcoinsteem-atlashive-193186hive-139150hive-193637hive-170554TrendingNewHotLikersastrapi69 (26)in shuxingshiti • 4 months ago使用 JPA 和 Spring Boot 的树形实体使用 JPA 和 Spring Boot 的树形实体 在本文中,我们将使用 JPA 与 Spring Boot 和 Spring Data 来在同一个数据库表中建模一个层次关系。为了测试,我们将使用 test-container。 使用树结构有多种情况。例如,我在主题、类别、菜单项和属性键中使用过树结构。在我们的示例中,我们将使用菜单项的情况。 我创建了一个 GitHub…