- Spring Data JPA Annotations
@Entity anotation declares a class as an entity. @Table anotation defines the table, catalog, and schema name for your entity. @Id defines the unique identifier for your entity. @Column defines a column and its characteristics such as column name, column updatable or not, etc @GeneratedValue…
- Spring Data Configuration
1.Create a spring boot project. Spring Initializer For dependencies, select the following,a. JPAb. MySQL Driverc. Web Import your project to your favorite IDE. I am using Spring suite tool for this tutorial. 2. Add these configurations to your application.properties file. Note:…
- Introduction To Spring Data JPA
Hi and welcome to my Spring Data JPA tutorial. This tutorial is not for a beginner programmer. If you are new to programming and you want to learn about database checkout my SQL tutorial. If you are new to programming and you want to learn how code is connected and managing database data check out…
- Url Shortener
Here we are going to design a url shortener system. Questions for clear scope Can you give an example of how a URL shortener work? – https://www.systeminterview.com/q=chatsystem&c=loggedin&v=v3&l=long What is the traffic volume? – 100 million URLs are generated per day. How long is the shortened…
- Java For Loop
What Are Loops? A loop is a programming construct that repeats a block of code as long as a specified condition remains true. Without loops, you would have to write the same line of code hundreds or thousands of times to perform repetitive tasks. Think of it this way: imagine you are a teacher…