Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Spring Template for OrientDB #13

Open
vidakovic opened this issue Dec 17, 2014 · 10 comments
Open

Spring Template for OrientDB #13

vidakovic opened this issue Dec 17, 2014 · 10 comments
Assignees
Milestone

Comments

@vidakovic
Copy link
Contributor

  • OrientObjectTemplate
  • OrientDocumentTemplate
  • OrientGraphTemplate (?)

@trainings implementation provides support for OrientObjectTemplate. OrientDocumentTemplate should not be too hard. Please chime in if you have more requirements/thoughts concerning template support.

See also notes from @corneil #4 (comment)

@socialsandy80
Copy link

I download spring-data-orientdb project and able to use Object Repository,template etc use case. Can anyone share the implementation for OrientGraphTemplate pls

@socialsandy80
Copy link

How to write code for Graph template like we have for OrientObjectTemplate ?? below class getting issue while creating the constructor, what need to be passed in case of Graph template

public class OrientObjectTemplate extends AbstractOrientOperations implements OrientObjectOperations {

public OrientObjectTemplate(OrientObjectDatabaseFactory dbf) {
    super(dbf);
}

@Override
public OObjectDatabaseTx getObjectDatabase() {
    return (OObjectDatabaseTx)dbf.db();
}

@trainings
Copy link

Hi guys.

I had a hard year :(
And I did not have enough time to do it.

Are you still interested in Spring Data for OrientDB?

@socialsandy80
Copy link

Hey sorry to hear you had hard year.. Anyway we are done with this year.
Yes, i want to use Spring data for DAO. As of now i am following same concept for Graph what is being used for OrientObject. While writing OrientGraphTemplate not able to initiate, using OrientGraphFactory as parameter. it will be great if you can help.
Happy Christmas to all of you..

@socialsandy80
Copy link

I am able to perform execute all function of repository except save. i have one pojo when i save it return some RID but dont show up in graph and it change sequence of cluster also. let say if i create customer from ui , it show #33:1,#33:2 etc but when i save it show #3:8 .. i knew something is wrong but couldnt find out. can you pls help

@saljuama
Copy link
Contributor

saljuama commented Jan 8, 2016

I had plans to contribute to the graph module starting with the template aswell, but had a lot on my plate last weeks, so i couldn't get started. I'm a bit more available now, so if i can be of any help @socialsandy80, just say so.

Since your last comment was a week ago, I don't know if you are still having the same issue with the RID.

@socialsandy80
Copy link

Thanks Saljuama,
I have written one already.. i will be sharing by next week. I am able make spring-data support for OrientDB
Yes, i got it resolved

@ritesh0919
Copy link

Hi,

I think the graph implementation in spring-data-orientdb is still not completed. We are very much interested in using this.

@saljuama @socialsandy80, i see you have already implemented that. Is that something that you can share?

@saljuama
Copy link
Contributor

saljuama commented Jun 9, 2016

Since @socialsandy80 mentioned that he had the features implemented, I didn´t get my hands dirty on this matter, so sadly, I don´t have an implementation for it.

@robfrank robfrank self-assigned this Aug 19, 2016
@robfrank
Copy link
Contributor

Hi to all, if someone want to contribute back some code, fell free to open a PR

@robfrank robfrank added this to the 0.14 milestone Oct 12, 2016
@robfrank robfrank modified the milestones: 0.14, 0.15 Jun 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants