我们正在使用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模式
发布评论