在hibernate中使用集合名称进行底存储

在hibernate中使用集合名称进行底存储,hibernate,Hibernate,我不熟悉hibernate。在从mysql db的表中选择一行时,我得到了上面的控制台语句。在其中(college0_u.college_id为college1_1_0_u)什么是college0,college1_1_0_u。我不明白什么是1_1_0,表名college with 0 concatating 任何人都可以解释。谢谢。他们只是。@Robby我知道他们是别名,我在问这是什么模式1_1_0这是Hibernate的动态别名生成。这只是一个实现细节。@Robby它会像这样占用table\

我不熟悉hibernate。在从mysql db的表中选择一行时,我得到了上面的控制台语句。在其中(college0_u.college_id为college1_1_0_u)什么是college0,college1_1_0_u。我不明白什么是1_1_0,表名college with 0 concatating


任何人都可以解释。谢谢。

他们只是。@Robby我知道他们是别名,我在问这是什么模式1_1_0这是Hibernate的动态别名生成。这只是一个实现细节。@Robby它会像这样占用table\u row\u列吗?解释它。
Hibernate: insert into college (name, college_id) values (?, ?)
Hibernate: insert into student (college_id, student_name, student_id) values (?, ?, ?)
Hibernate: insert into student (college_id, student_name, student_id) values (?, ?, ?)
Hibernate: select college0_.college_id as college1_1_0_, college0_.name as name1_0_ from college college0_ where college0_.college_id=?
Hibernate: select students0_.college_id as college2_1_0_, students0_.student_name as student3_0_ from student students0_ where students0_.college_id=?