michaellavelle / spring-data-dynamodb

Simplifies the development of creating an Amazon DynamoDB-based Java data access layer
https://derjust.github.io/spring-data-dynamodb/
Apache License 2.0
169 stars 284 forks source link

EclipseLink and Spring-data-dynamodb #59

Closed felipefdagaianet closed 4 years ago

felipefdagaianet commented 9 years ago

Hello,

Is there a problem if I use spring-data with EclipseLink (PostgreSQL) mixed with dynamodb with this solution?

I ask cause I configure everything, but my model class is returning: No [ManagedType] was found for the key class [com.xphub.core.model.Search] in the Metamodel - please verify that the [Managed] class was referenced in persistence.xml using a specific com.xphub.core.model.Search property or a global false element.

Anyone knows anything about that?

derjust commented 8 years ago

@felipefda can you post some more details at https://github.com/derjust/spring-data-dynamodb/issues/16 please? As (privately) communicated with @michaellavelle, the project will continue under https://github.com/derjust/spring-data-dynamodb.

derjust commented 6 years ago

You have to specify which entity class is managed by which repository. Otherwise errors like the one above appear. An example (with spring-data-jpa but it's the same for any spring-data-* provider) how to do it is posted at this fork's wiki.