如何使用 JDBC 将架构从一个数据库复制到另一个数据库而不使用 Apache DDLUtils?
我在 MySQL 中有一个数据库,我想以编程方式在 FileMaker Pro 中创建所有相同的表和字段。我可以使用 JDBC 自己完成此操作,但我希望已经有一个库可以执行此操作。
我研究了 Apache 的 DDLUtils,但我无法弄清楚如何构建它(它使用 Maven 作为构建系统,当我尝试构建它时出现致命错误)。
I have a database in MySQL, and I want to programatically create all the same tables and fields in FileMaker Pro. I can do this myself using JDBC, but I was hoping that there was already a library that would do this.
I looked into DDLUtils from Apache, but I'm not able to figure out how to build it (it uses Maven for a build system and I get a fatal error when I try to build it).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我自己写了代码,结果并没有那么难。这是为了生成 MySQL 的模式;我还没有测试过 FileMaker,但它应该非常相似。
I wrote the code myself, didn't turn out to be that hard. This is for generating the schema to MySQL; I haven't tested for FileMaker but it should be very similar.