我一直在寻找有关创建与Oracle NoSql数据库连接的spring引导应用程序的信息,但我只找到了有关mongoDB项目的信息...我如何设置我的application.properties来捕获驱动程序,网址,数据库...等甲骨文NoSql?我的意思是,对于MongoDB,我可以找到这个:
spring.data.mongodb.authentication-database= # Authentication database name.
spring.data.mongodb.database=test # Database name.
spring.data.mongodb.field-naming-strategy= # Fully qualified name of the FieldNamingStrategy to use.
spring.data.mongodb.grid-fs-database= # GridFS database name.
spring.data.mongodb.host=localhost # Mongo server host.
spring.data.mongodb.password= # Login password of the mongo server.
spring.data.mongodb.port=27017 # Mongo server port.
spring.data.mongodb.repositories.enabled=true # Enable Mongo repositories.
spring.data.mongodb.uri=mongodb://localhost/test # Mongo database URI. When set, host and port are ignored.
spring.data.mongodb.username= # Login user of the mongo server.所以,我正在寻找类似这样的东西:
spring.data.oracle-nosql.url = localhost
spring.data.oracle-nosql.driver-name=oracle-nosql-driver-name有人知道一些教程或一些东西来捕获数据,或者至少获得信息?
谢谢!!
发布于 2020-03-16 18:47:15
Spring Boot用于数据库的自动配置模块使用了Spring Data的实现,而NoSql还没有出现在该列表中。
您可以在链接https://spring.io/projects/spring-data后面找到此列表。
因此,为了让它工作,您可能需要自己实现它。
发布于 2020-03-18 12:16:24
用于Oracle NoSQL DB的sprint引导驱动程序Alvaro目前正在工作中,并将于今年晚些时候发布。你能根据你的用例和需求写信给我吗?
https://stackoverflow.com/questions/60703799
复制相似问题