DocumentDB 的 Grails 插件
Grails plugin for DocumentDB
我们正处于试用 Azure 的 POC 阶段。
我们正在使用 Grails,它很好地支持 MongoDb 作为后端(使用 GORM),但找不到对 DocumentDd 的类似支持。
如果我们选择使用 DocumentDb,我们的选择是拥有一个使用 documentDb 客户端库并与 DocumentDb 交互的层(可能是一种 DAO 层)。或者我们退回到 MongoDb,因为它提供了 Azure。
对于 Grails-DocumentDb,我们还有其他选择吗?
您应该能够使用 DocumentDB 的驱动程序级别 MongoDB 兼容性。
配置 Grails/GORM 就像它在与 MongoDB 对话一样。保留客户端 MongoDB 驱动程序,但更改连接字符串以连接到您的 DocumentDB。请参阅说明 here。
我们正处于试用 Azure 的 POC 阶段。
我们正在使用 Grails,它很好地支持 MongoDb 作为后端(使用 GORM),但找不到对 DocumentDd 的类似支持。
如果我们选择使用 DocumentDb,我们的选择是拥有一个使用 documentDb 客户端库并与 DocumentDb 交互的层(可能是一种 DAO 层)。或者我们退回到 MongoDb,因为它提供了 Azure。
对于 Grails-DocumentDb,我们还有其他选择吗?
您应该能够使用 DocumentDB 的驱动程序级别 MongoDB 兼容性。
配置 Grails/GORM 就像它在与 MongoDB 对话一样。保留客户端 MongoDB 驱动程序,但更改连接字符串以连接到您的 DocumentDB。请参阅说明 here。