Skip to content
KSCodes
  • Java 21
  • Java
    • String Handling
    • Collections
    • Exception Handling
    • JDBC
    • File IO
    • Apache POI
    • XML Parsing
    • JSON
  • Spring MVC
  • HTML5
  • jQuery
  • Tutorials
  • Misc

Using PostgreSQL with Spring Boot (Full Integration)

In modern application development, integrating a robust relational database is essential. PostgreSQL, a powerful open-source RDBMS, is a popular choice among developers. This guide will walk you th

Read More →

Database Migrations with Liquibase in Spring Boot 3

Managing database schema changes in modern applications can be complex, especially in microservices or cloud-native environments. One of the most efficient ways to handle this challenge is by using

Read More →

Flyway Database Migrations in Spring Boot 3 – Step-by-Step Guide

Managing database schema changes in a consistent, version-controlled way is critical for modern applications. While schema.sql and data.sql work for basic bootstrapping, Flyway is a professional-gr

Read More →

Database Initialization in Spring Boot

When working with Spring Boot and relational databases, initializing your database schema and loading seed data is a common requirement. Database Initialization in Spring Boot is easy using two fil

Read More →

Advanced JPA Criteria Queries in Spring Boot

Spring Data JPA gives us simple methods like findByName() or custom queries using @Query. But when you need to build dynamic, complex queries at runtime (especially with multiple filters), Criteria

Read More →

Native Queries in Spring Data JPA : @Query Annotation

pring Data JPA is powerful. In most cases, you can get away with method naming conventions like findByUsername, or using derived queries. But sometimes, you need more control — like using custom

Read More →

DTO Mapping in Spring Boot : Best Practices

In Spring Boot applications, especially those using REST APIs, you often don’t want to expose your Entity classes directly to the client. That’s where DTOs (Data Transfer Objects) come in. DTOs

Read More →

Entity Relationships in Spring Data JPA

In real-world applications, data is often related. For example: Entity Relationships in Spring Data JPA (with Hibernate) allows you to map these relationships easily using annotations. This guide w

Read More →

Introduction to Spring Data JPA with Hibernate

When you’re building a Java application, you often need to store and retrieve data from a database. Writing this code manually can be repetitive and error-prone. Luckily, Spring Data JPA and

Read More →

Pagination and Sorting in Spring Boot REST APIs

When your API deals with large datasets — like fetching thousands of users or records — loading everything at once is inefficient. That’s where pagination and sorting come in. They help l

Read More →

Posts pagination

< 1 … 8 9 10 11 12 … 40 >







Aim

The aim of this blog is to try to give some useful tips that can make developers life easy at work. For any queries or suggestions please email us at kscodes.web@gmail.com

Links

  • About Us
  • Privacy Policy
Copyright © 2021