C-DAC interview question

What is SQL injection. Difference between put and post. Why spirng boot is better than spring. Http is statefull or stateless. How to define primary key in entity class. Repository classess how write query in it.