从XML生成SQL模式

编程入门 行业动态 更新时间:2024-10-21 14:42:17
本文介绍了从XML生成SQL模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们正在使用Oracle 11数据库和Java开发环境(使用Eclipse),并希望将多个xml架构迁移到SQL架构。

看了xsd但是真的需要我们可以在没有安装SQL Server的情况下从ant / Eclipse运行的东西。

问候,

Andy

解决方案

另一种选择是使用JAXB生成Java对象,并使用Hibernate创建基于的模式类层次结构。

话虽如此,这取决于你想要做什么,而且我认为这样的解决方案可能会变得脆弱且难以维护。 / p>

We are using an Oracle 11 database and a java development environment (using Eclipse) and would like to migrate several xml schemas to SQL schemas.

Have looked ax xsd but really need something that we can run from ant/ Eclipse without SQL Server installed.

Regards,

Andy

解决方案

Another option would be to use JAXB to generate Java objects, and use Hibernate to create a schema based on the class hierarchy.

That being said, it depends on what you are trying to do, and I think such solutions are probably going to be brittle and hard to maintain.

更多推荐

从XML生成SQL模式

本文发布于:2023-10-27 23:12:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1534812.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:模式   XML   SQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!