I want to show three rows in a table in PostgreSQL with Hibernate. If I want by id, I just use findById? How can I select with ascending without query in my repository?
            Asked
            
        
        
            Active
            
        
            Viewed 30 times
        
    0
            
            
        - 
                    Does this help? https://www.baeldung.com/hibernate-sort – Rafaqat Ali Feb 04 '21 at 05:37
- 
                    1Does this answer your question? [How to use OrderBy with findAll in Spring Data](https://stackoverflow.com/questions/25486583/how-to-use-orderby-with-findall-in-spring-data) – Abdul Moeez Feb 05 '21 at 15:19
 
    