Bear: Well, I'm going to go hibernate now.
熊熊:嗯,我要去冬眠去了。
With the release of these JPA persistence providers, you can now code to a standard API and do not have to decide between incompatible non-standard persistence frameworks, like Hibernate or JDO.
随着这些JPA持久性提供者的发布,您现在可以对一个标准的API编码,而不必在不兼容的非标准持久性框架(如hibernate或JDO)之间抉择。
All I have to do now is wire up my domain objects, which in this case, because they'll rely on Hibernate, require a SessionFactory type to work.
现在我需要做的就是连接我的域对象,在本示例中,因为它们依赖于Hibernate,需要一个SessionFactory类型进行工作。
应用推荐