ObjectCrud¶
Provide basic crud operations for object connection. Usage:
@Transactional
@ProvidedBy(DynamicSingletonProvider.class)
public interface ModelRepository extends ObjectCrud<Model> {}
You can use objectToDocument
and documentToObject
methods for conversion to/from documents.
Note
Don't use it with vertex objects (annotated with @VertexType). Use ObjectVertexCrud instead.