dadrus / jpa-unit

JUnit extension to test javax.persistence entities
Apache License 2.0
28 stars 9 forks source link

Implement support for Cassandra #21

Open dadrus opened 6 years ago

dadrus commented 6 years ago

Implement an extension to JPA-Unit which supports all the JPA-Unit tools with Cassandra.

The idea is to be able to use JPA providers, which support NoSQL databases, thus to be able to reuse (to a certain extent) existing code and test implementation when switching between different data base types or when using different types of data bases (polyglot persistence) in one project.

Cassandra seems to be supported by following JPA provider:

dadrus commented 6 years ago

Issue encountered with hibernate OGM. See OGM-1324 for details.

dadrus commented 6 years ago

Issue encountered with Datanucleus as well. See datanucleus/datanucleus-cassandra#32 for detail.

dadrus commented 6 years ago

Kundera and EclipseLink enforce additional code level dependencies making re-usage of so far used test data model impossible.

dadrus commented 6 years ago

test data models are project specific now