mongo-emf
mongo-emf copied to clipboard
MongoDB - EMF Binding
There two require bundle directives: org.eclipse.xtext.xbase.lib;visibility:=reexport, org.eclipse.emf.ecore.xcore.lib;visibility:=reexport They doesnt seem to have any use in the API.
The current code if (!reference.isTransient() && eObject.eIsSet(reference)) buildReference(eObject, dbObject, reference); doesnt take care about bi-directional references. This causes errors when you use EOpposites. This code fixes the problem if (!reference.isTransient()...
In case you have an URI with a fragment, the fragment needs to be trimmed too in MongoUriHandlerImpl#getCollection (line 136) to find the database provider in the mongoDatabaseProvider map.
The MongoInputStream#read() returns '0' which causes an infiity loop when EMF Edit Framework makes a HEAD request. returning -1 solves the problem
Hi It would be great if there was maven dependencies of mongo-emf. Thanks and regards