-
Notifications
You must be signed in to change notification settings - Fork 89
Support for Spring Boot/Data 2.x #79
Comments
I have the exact same problem. |
Hi all It's our intention to keep supporting the module. About this specific issue, do you have a test case to reproduce it? Thanks Luigi |
Well in my case a the test case is not complex, a simple repository with a findByName function throw the exception. defaults method FindAll work well; With debugging I have seen that the "getQueryLookupStrategy" called is the one from the spring's RepositoryFactorySupport intead of the one in the child class OrientRepositoryFactory. the wrong one always return null so impossible to have queries .... |
Hey, thanks for the reply. I've made a simple repo case here: https://github.com/crocy/spring-boot-orientdb-hello-test |
Thank you very much @crocy I'll check it asap Luigi |
Hi @crocy I managed to run your test and to reproduce the problem. I also checked the source code and I saw that it's exactly the same as our sample https://github.com/orientechnologies/spring-data-orientdb/tree/master/spring-data-orientdb-samples/spring-boot-orientdb-hello apart from the fact that our test uses Maven and your one uses Gradle. Thanks Luigi |
Hey @luigidellaquila, I know, I did copy your sample, but if I just update the dependencies in your
the code doesn't compile (I can't run the BR |
Hi @crocy It seems I'm doing too many things at once... now I got what you mean. I'm checking it now Thanks Luigi |
Hi @crocy I just pushed some fixes to the repo, now it is updated to Spring v 5.0.7 Thanks Luigi |
Hey @luigidellaquila , thanks for all the work :) I've updated my Spring Boot dep. to 2.0.3 (with Spring Data 2.0.8 and Spring Framework 5.0.7 dependencies) and my When can we expect the Thanks |
Hi @crocy If you are using OrientDB v 3.0.x, please use spring-data-orientdb-* v 0.14-3.0.5-SNAPSHOT. To have a GA, we have to attach the official release of the packages to the main release train, I think we'll do it in next few weeks Thanks Luigi |
Will do, tnx. I saw |
When can we expect proper support for Spring Boot/Data 2.x (and Spring Framework 5.x) for OrientDB 3.x?
If you don't have any methods declared in your repository interface (the one that extends
OrientObjectRepository<>
) Spring Boot/Data 2.x works (withspring-data-orientdb
version0.14-3.0.1-SNAPSHOT
), but as soon as you add a method, even a simple one likefindFirstBy
you get an exception:The text was updated successfully, but these errors were encountered: