节点文献
Hibernate中一种自定义持久化机制的设计与实现
Design and Application of A Sort of Self-Defined Persister in Hibernate
【摘要】 在J2EE平台中,Hibernate是当前最流行的一种对象/关系映射(ORM)框架。由于Hibernate对一些非关系数据库(如HashMap、LDAP等)的映射仅提供相关接口,而没有提供具体实现类,因此限制了Hibernate的广泛应用。本文利用Hibernate提供的接口,针对HashMap设计了一种自定义持久化的方法,为Hibernate自定义其它存储结构提供了参考思路,目前这种方法已经在实际项目中得到广泛运用。
【Abstract】 Currently,Hibernate is one of the most popular Object/Relation Mapping(ORM) in the J2EE platform.However Hibernate has few ability to support ORM of non-relation database,such as HashMap,LDAP etc..The paper designs a method about self-defined persister that aimed on HashMap by used of hibernate.This method can provide some suggestions for other stored-formats.Now this method has been used on some items.
【关键词】 自定义持久化;
hibernate;
对象/关系映射;
HashMap;
【Key words】 Self-defined persister; Hibernate; ORM; HashMap;
【Key words】 Self-defined persister; Hibernate; ORM; HashMap;
【基金】 国家863计划软件重大专项资助项目(编号:2004AA1Z2028)
- 【文献出处】 江西科学 ,Jiangxi Science , 编辑部邮箱 ,2007年01期
- 【分类号】TP311.13
- 【被引频次】3
- 【下载频次】117