Update Operation using Spring Jdbc | Spring Jdbc Tutorial

preview_player
Показать описание
In this video we are going to learn how to update data using Spring JDBC module .
Update Operation using Spring Jdbc | Spring Jdbc Tutorial

Important Videos:

Important Playlist:

Important Links:

Gear that I use:
Gears that I Use:
Lenovo Ideapad S145 AMD Ryzen 5 15.6

Mic for Recording

Disclaimer:
All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Рекомендации по теме
Комментарии
Автор

Same video two times in this playlist. Updated sir ..

erantona
Автор

श्री राधे राधे राधे बरसाने वाली राधे 🕉️🌹🇮🇳🕉️🙏🚩🛕🌞⛳💯🎯🙏
Bahut Sundar Concept Bhaiya 🙏 👸 🕉️🙏🚩🌹🙏🕉️🕉️माँ
Best 💯💯 first ever 🙏👩👨💓

amitkumarchoubey
Автор

Sir your videos are just amazing. Thank you so much for the courses..

gaffarking
Автор

At 2.08 sir java 8 ma ap interface m bhi method define karsakta hain instead k ap implemented class machange karo

waqasbhatti
Автор

I want to add Date in mysql and Apptext class file how i can add it bro.
Theatre theatre = new Theatre();
theatre.setTheatrecode(1);





prabhakaranm
Автор

Update sa save bhi hot update sa update bhi sai

waqasbhatti
Автор

how to connect db using datasource name instead of db server ip

sauravsinha
Автор

Thanks for this amazing videos, I am getting "bad SQL grammar [update student set name=?, city=?, where id=?]" this error, Please anyone help me

snehasomnathe
Автор

I didnt uder stand why your adding this.jdbctemplate, "this" why ?

mtex
Автор

Exception in thread "main" PreparedStatementCallback; SQL [update student set name=?, city=? where id=?]; Data truncation: Truncated incorrect DOUBLE value: 'Raj'

rajatpal
Автор

public interface StudentDao {
public int delete(Student student);
}

public class StudentDaoImpl implements StudentDao {
private JdbcTemplate jdbcTemplate;
public JdbcTemplate getJdbcTemplate() {
return jdbcTemplate;
}
public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}
public int delete(Student student) {
String query="delete from student where id=?";
int r2 = this.jdbcTemplate.update(query, student.getId());
return r2;
}

In test class

Student student = new Student();
student.setId(555);
int result = studentDao.delete(student);
System.out.println("Student deleted succesfully");

The Delete method worked successfully...

prateekjadhav