如何在propel中使用两个数据库 [英] How to use two database in propel
本文介绍了如何在propel中使用两个数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在集成propel应用程序,我只是想使用两个数据库.但是我不知道如何在 schema 和 build.properties 文件中定义.谁能告诉我我应该怎么做才能拥有多个数据库
I have been integrating propel application,I just wanted to use two databases. But I don't know how to define in schema and build.properties files.can any one let me know what should I do to have multiple database
推荐答案
只需编写两个不同数据库名称的模式并配置一个 runtime-conf.xml 文件即可.请参阅:http://www.propelorm.org/documentation/02-buildtime.html一个>
Just write two schema with different database names and configure a runtime-conf.xml file. See: http://www.propelorm.org/documentation/02-buildtime.html
这篇关于如何在propel中使用两个数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文