策略1:每个子类一个表(Persons)。
对于第一个策略(每个子类一个表),Hibernate每次初始化和填充对象时,会读取多个表。
For our first strategy (one table per subclass), Hibernate will read multiple tables each time an object is instantiated and populated.
对于第一个策略(每个子类一个表),Hibernate每次初始化和填充对象时,会读取多个表。
For our first strategy (one table per subclass), Hibernate will read multiple tables each time an object is instantiated and populated.
应用推荐