English 中文(简体)
春季和混合
原标题:Spring and Mixing SQL and NoSQL db

http://stackoverflow.com/questions/3208821/ strategic-issue-mixing-relational-and-non-relational-db> 我先前的职位鼓励我搭配LQ和NSQL db。

两个数据库在应用环境配置和设立农业部方面的最佳做法如何?

让我们选择Derby作为“Q”和“Casandra”作为另一方。 我所寻求的是,例如图西文、xml、2个DAOs、1个在Derby实施CRUD、1个在Cassesandra和one(不是2个)使用DAO同时进行的抽样单位测试。

图里、样本(maven-)项目、建议书等。

问题回答

Try Spring-data 。 (一个介绍性参考视频here)

i 《JPA》设想“春天数据”提供了一个储存方案编制模式,从每个管理领域物体的接口开始。 也许我们可以将领域转向不同的数据储存库。 i 先由本人尝试。 您可查 获取-started-with-hexachloro-data-jpa

但是,将 no和关系结合起来将十分复杂。 但是,根据隔离水平,可以将某些类型的数据保留到一个仓库中。 i 不能确定对多个数据储存进行的交易孤立。 您说,如果需要,将文件储存到需要数据完整性的仓库和关系数据。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签