All Posts

  • Java Varargs: What is it and how it work?
    Published on
    Varargs were introduced in Java 5 and designed to solve the problem of handling an arbitrary number of parameters in a method. But what exactly is this problem? What are varargs and how can we use them effectively?
  • Simplify Resource Management With Try-With-Resources
    Published on
    Before Java 7, developers relied heavily on the traditional try-catch-finally approach to manage resources, which was often verbose and error-prone. With the introduction of try-with-resources, Java simplified this process significantly.
  • Spring Data JPA Stream Query Methods
    Published on
    Spring Data JPA is a powerful abstraction over JPA (Java Persistence API), simplifying the data access layer for developers. Among its numerous features, Stream Query methods stand out for enabling efficient and memory-conscious data retrieval, especially when dealing with large datasets.
  • How To Fetch Data By Using DTO Projection In Spring Data JPA
  • Mastering Data Queries in Spring Data JPA: 8 Ways From Basic To Advance