It's been a while but 2½ years ago I wrote a MongoAdapter for Cayenne 3 using the Mongo Java driver. It doesn't support SQLTemplate but can do the rest, mostly - I think from what I can remember. I started converting it to Cayenne 4, a real headache and didn't get very far as I also then lost the motivation.

Of course the question begs to be asked as to weather one should do something like this in the first place ? I mean on the face of it, it is kind of crazy trying to use an Object Relational Modeler for a NoSQL DB !?

In my case I was looking at joining forces with another software team that were using NoSQL, so in order to do that I had to switch my software's backend from MSSQL to Mongo and I thought the easiest way of doing that would be to see if I could write a MongoAdapter for Cayenne.

So that was my motivation and I was also curious to see if it could be done. Two months later I had like 99% of my software (an Electronic Medical Records program) working on Mongo, had the meeting with the other software team and showed/demoed them what I had to offer. They unfortunately weren't ready and/or willing to join forces, so I abandoned the MongoAdapter.

Anyway it was actually very satisfying being able to use Cayenne to do this, regardless of if one should or not :-)

Thanks to everyone that's contributed to making Cayenne wonderful.

Jurgen


-----Original Message----- From: Andrus Adamchik
Sent: Monday, July 1, 2019 3:10 PM
To: user@cayenne.apache.org
Subject: Re: Apache Cayenne Support for NoSQL

Nothing specific off the top of my head, other than the Mongo-provided "Java Driver".

Andrus

Reply via email to