And, since our two mapped classes (Building and Land) inherit from Estate, we can use this abstract superclass in our HQL queries, as shown in Listing 14.
而且,因为两个映射的类(Building和Land)是从estate中继承而来,所以我们可以在HQL查询中使用这个抽象超类,如清单14所示。
So, we'll use the Land and Building classes to give our developers more comprehensive objects to work with.
所以,我们要用Land和Building类给我们的开发人员提供更具体的操作对象。
So, we'll use the Land and Building classes to give our developers more comprehensive objects to work with.
所以,我们要用Land和Building类给我们的开发人员提供更具体的操作对象。
应用推荐