...
首页> 外文期刊>Computer Science & Information Technology >Apply Hibernate to Model and Persist Associations Mappings in Document Version System
【24h】

Apply Hibernate to Model and Persist Associations Mappings in Document Version System

机译:将Hibernate应用于文档版本系统中的模型和持久关联映射

获取原文
           

摘要

To implement any system using hibernate, a XML (Extensible Markup Language) mapping is defined that specifies how the various objects will persist in the database. The XML specifies mapping between classes and tables, properties and columns, association and foreign keys. In this paper we primarily focus on how different association among classes should be mapped in XML configuration file for persistence. A particular type of association should be specified in XML configuration file using valid elements and tags provided by hibernate. Such a defined XML document then create the valid schema, and the constraints between respective tables in the database to implement any system. Here we present how the different types of associations should be implemented in hibernate to have desired effect on the database. We also tested the use cases those may violate the constraints specified by XML configuration and studied the results
机译:为了使用休眠模式实现任何系统,定义了XML(可扩展标记语言)映射,该映射指定各种对象如何在数据库中保留。 XML指定类和表,属性和列,关联和外键之间的映射。在本文中,我们主要关注应如何在XML配置文件中映射类之间的不同关联以实现持久性。应使用hibernate提供的有效元素和标签在XML配置文件中指定一种特定类型的关联。然后,这样定义的XML文档将创建有效的架构以及数据库中各个表之间的约束以实现任何系统。在这里,我们介绍了如何在休眠状态下实现不同类型的关联以对数据库产生预期的效果。我们还测试了可能违反XML配置指定约束的用例,并研究了结果

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号