jsondb-core icon indicating copy to clipboard operation
jsondb-core copied to clipboard

jsonDBTemplate.findAll(Instance.class, comparator)

Open EclipseKnight opened this issue 4 years ago • 4 comments

This method is documented on the site but is not usable. image of IDE Am I missing something?

EclipseKnight avatar Jan 21 '21 03:01 EclipseKnight

This is because you are using the released version, which doesn't have the features documented on the project homepage. @FarooqKhan any chances of getting a new tag/release so that tools like maven can access the new jsondb features?

BlueDrink9 avatar Oct 03 '21 21:10 BlueDrink9

This method has always been part of the released jar. I downloaded the jar from mvnrepository and decompiled and checked. It shows up in the jar. I have had this coded for over 5 years now. There has to be some other problem.

FarooqKhan avatar Oct 04 '21 20:10 FarooqKhan

This functionality didn't work for me either, until I switched from the tagged release to the latest git commit.

I feel wrong telling you that you are incorrect about your own code, but if you look at the class as of the release commit you'll see that actually, those method overloads don't exist in the class as documented. Assuming the release jar comes from that commit (and it would be bafflingly poor practise if it did not), then the release jar does not have this feature.

BlueDrink9 avatar Oct 07 '21 02:10 BlueDrink9

There have been 100+ commits since the last git tag was released, and that seems to be what gets picked up by Maven

BlueDrink9 avatar Oct 07 '21 02:10 BlueDrink9