quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.64k stars 2.65k forks source link

Support for SpringData MongoRepository and MongoTemplate #6508

Open Frintrop opened 4 years ago

Frintrop commented 4 years ago

Please add support for SpringData´s MongoRepository and MongoRepository. Companies can reuse existing codebase.

Frintrop commented 4 years ago

MongoTemplate seemed to be working for quarkus, but we have problems with repositories .... "Currently only Entities with the @Id annotation are supported." is the error ...

geoand commented 4 years ago

Yes, we haven't done any work to get such a feature working. But it's certainly something we are considering

Frintrop commented 4 years ago

can we support. we are new to mongo-spring and quarkus ...

Frintrop commented 4 years ago

if there is a documentation how to make mongo-spring-data a plugin for quarkus

geoand commented 4 years ago

Hi,

If you would like to engadge in this work, then I suggest first reading https://quarkus.io/guides/writing-extensions. Then looking (and following along with a debugger) the code of the spring-data-jpa extension would make most sense

Frintrop commented 4 years ago

mhh i saw this extension. but u think my experience is too low for that..

geoand commented 4 years ago

Perhaps first takling some easier Quarkus issues to gain some experience would make sense?

HuangDayu commented 2 years ago

Hello @geoand

Is there any progress on the support of spring-boot-starter-data-mongodb ?

geoand commented 2 years ago

There isn't any work on it that I'm aware of