the hibernate session embodies the concept of a persistence
service that can be used to query and perform query insert and
delete operations on instances of a class mapped by hinerbate.
session wraps the underlying jdbc connection or j2ee data source
and it serves as a first-level cache for persist objects bound to
it. three are three possible states for a hibernate mapped
object.persistent objects are objects with database identity.once
the
spring is based on the principle that good object-oriented design should come first and not be hindered by the choice of technology being used.
the servlet api helped formalize the usage of http in java and
provide some simple constructs for dealing with the need to
maintain states as required
本文介绍了Hibernate会话的概念,包括持久化服务的使用方法,以及如何通过Hibernate进行查询、插入和删除操作。同时探讨了Spring的设计理念,即优秀的面向对象设计不应受限于所选技术。
1032

被折叠的 条评论
为什么被折叠?



