简体   繁体   中英

How do I configure multiple datasourses (Oracle and MongoDB) in JHipster?

我需要使用Oracle DB进行用户身份验证,对于项目中的其余实体,我需要使用MongoDB,在这种情况下,是否有任何方法可以向Jhipster添加多个数据源?

JHipster only works with one single DataSource. Otherwise the number of possibilities are just so complex that we just can't generate all types of combinaisons.

What you could do is generate both an SQL and a MongDB project, and merge them manually. As you only use your SQL database for authentication, keep the MongoDB application your main project, and you should be able to continue working on it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM