Pitfalls of Srping JPA OrderBy

     I wrote an interface findAllOrderByVersionNumberDesc, but it couldn't work, and reported a No property desc found for type Integer. I went to check the spring.io documentation, but I didn't find it. I only found it on stackoverflow.

    To change to findByAllOrderByVersionNumberDesc, add a By and go. bizarre syntax

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326831126&siteId=291194637