Java JDBC tutorial | Java Database Connectivity | Java Tutorial For Beginners | Simplilearn

  Рет қаралды 308,815

Simplilearn

Simplilearn

Күн бұрын

🔥Full Stack Developer (MERN Stack): www.simplilearn.com/full-stac...
🔥Full Stack Java Developer (Masters): www.simplilearn.com/java-full...
🔥Caltech Coding Bootcamp (US Only): www.simplilearn.com/coding-bo...
This video is based on Java JDBC Tutorial that explains about Java Database Connection. This Java JDBC Tutorial for beginners is designed to explain the JDBC programming fundamentals in a descriptive step-by-step manner for beginners to understand it with hands-on experience. this video includes the following
00:00 introduction to Java JDBC tutorial
This part of the Java JDBC tutorial gives a brief introduction to Java JDBC
00:30 What is java JDBC? (Java JDBC tutorial)
This part of the Java JDBC tutorial helps us to learn the technicalities of Java JDBC
01:00 need for Java JDBC (Java JDBC tutorial)
This part of the Java JDBC tutorial gives an explanation of the necessity of Java JDBC
01:12 Datatypes in Java JDBC (Java JDBC tutorial)
This part of the Java JDBC tutorial helps us to understand the various data types supported by Java JDBC
02:52 Java JDBC Architecture (Java JDBC tutorial)
This part of the Java JDBC tutorial gives a brief introduction to Java JDBC Architecture
03:30 Java JDBC Environment setup (Java JDBC tutorial)
This part of the Java JDBC tutorial gives you details on the Java JDBC environment setup
04:35 Steps to connect to Java JDBC (Java JDBC tutorial)
This part of the Java JDBC tutorial gives you the step by step procedure to connect to Java JDBC and the application API
07:05 Example of Java JDBC (Java JDBC tutorial)
This part of the Java JDBC tutorial gives a fully functional example based on Java JDBC.
➡️ About Post Graduate Program In Full Stack Web Development
This program will give you the foundation for building full-stack web apps using the Java programming language. You'll begin with the basics of JavaScript, and then venture into some of the more advanced concepts like Angular, Spring Boot, Hibernate, JSPs, and MVC. Now is the perfect time to get started on your career as a full-stack web developer!
✅ Key Features
- Caltech CTME Post Graduate Certificate
- Enrolment in Simplilearn’s JobAssist
- Receive up to 25 CEUs from Caltech CTME
- Simplilearn's JobAssist helps you get noticed by top hiring companies
- Attend Masterclasses from Caltech CTME instructors
- Live virtual classes led by industry experts, hands-on projects and integrated labs
- Online Convocation by Caltech CTME Program Director
- 20 lesson-end and 5 phase-end projects
- Capstone Project in 4 domains
- Caltech CTME Circle Membership
- Build your own portfolio on GitHub
✅ Skills Covered
- Agile
- JAVA
- Hibernate and JPA
- Spring Core 50
- DevOps
- HTML5 and CSS3
- AWS
- JavaScript ES6
- Servlets
- SOAP and REST
- JSP
👉 Learn More At: www.simplilearn.com/pgp-full-...
🔥🔥 Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688

Пікірлер: 60
@SimplilearnOfficial
@SimplilearnOfficial Жыл бұрын
🔥Full Stack Developer (MERN Stack): www.simplilearn.com/full-stack-developer-course-mern-certification-training?OrEsC-QjUA& 🔥Full Stack Java Developer (Masters): www.simplilearn.com/java-full-stack-developer-certification?OrEsC-QjUA& 🔥Caltech Coding Bootcamp (US Only): www.simplilearn.com/coding-bootcamp?OrEsC-QjUA&
@sehrishbalouch7068
@sehrishbalouch7068 3 жыл бұрын
Thank you so so much for this helpful video. I love how you guys make everything simple and break it down
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Glad it was helpful!
@barraged999
@barraged999 3 жыл бұрын
This is exactly what I needed, awesome video
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Glad to hear it! Thank you for watching!
@jacoblazar8952
@jacoblazar8952 2 жыл бұрын
Awesome tutorial for explaining the basics of integrating a MySQL locally hosted server into a java application. I do have a note however. You should be a little more specific in configuration of the connection and warn users that the username and password have to exactly match the SQL setup. or like to pause the video and write down their credentials for later use in the app because i could see some people getting lost there. I got mine up and running and was really excited to start adding custom entries on the SQL side just to run the java app and see that they would appear like magic. your breakdown of how each line of code is connected from driver>connection>statement was especially helpful, as was your reiteration that the query will be how you effectly "speak to" your database from the app. seriously thank you.
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
We are glad you found our video helpful. Like and share our video with your peers and also do not forget to subscribe to our channel for not missing video updates. We will be coming up with more such videos. Cheers!
@purleedef
@purleedef 3 жыл бұрын
There's a few things I wish you hadn't glossed over: Installing MySQL, setting up a server and being able to run it from the command line, ensuring it was compatible with java and the connector and so forth because they gave me a lot of headaches and weren't covered in the video. However, all the content from about 16 minutes up until the end of the video was explained well and helped me a lot with some questions I had about what was going on in the code. My only real question is how can I get the program to open the initial connection to the server? If I don't have it open and running on the command line, the connection gets rejected by jdbc
@user-in8ht2oo5h
@user-in8ht2oo5h 3 жыл бұрын
I suggest you go over the mySQL tutorial in freecodecamp channel before watching this video. I used the database I created while watching that video on this tutorial and it worked well for me :)
@jason12518
@jason12518 3 жыл бұрын
yeah i have no idea what he did with cmd
@bibasniba1832
@bibasniba1832 3 жыл бұрын
You are the best person on KZbin right now!
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@TheSwanjae
@TheSwanjae 3 жыл бұрын
Great Example thank you.
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Glad it was helpful!
@_stack
@_stack 4 жыл бұрын
Well explained!
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Thank you!
@samriddhiyashaswini3617
@samriddhiyashaswini3617 3 жыл бұрын
Thank you for the great explanation. I had a question. If we can simply do the same actions from SQL directly, what is the need of using JDBC?
@ForcedPositivityMalayalam
@ForcedPositivityMalayalam 3 жыл бұрын
JDBC works as an interface between your Java Application and your SQL Database. Say you wanted to show the table called Students on a Java GUI application, jdbc would be your option.
@tonyblinks5879
@tonyblinks5879 3 жыл бұрын
I was gonna ask this question but I don't know why he hasn't answered yet
@karanupamanyu3897
@karanupamanyu3897 2 жыл бұрын
Let’s say Facebook used Java for server logic. You try to fetch some data. That request reaches the server. Now, obviously, there aren’t people reading your queries, looking them up on SQL directly, and sending the results to you. You want your servers to be able to be able to do queries, and combine it with logic to produce presentable outputs. In this case, you can use JDBC. Are you trying to stalk someone on FB? Cool, let’s check if you have the permissions to do so (logic). You do? Okay, here’s the query (SQL Data). Now let’s send the data to you (networking logic). This happens on one server request.
@ItzDiizy
@ItzDiizy 3 жыл бұрын
gotta love when he gets an error and just cuts the video as if this isnt a tutorial
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@michaelthomheadley
@michaelthomheadley 3 жыл бұрын
Great vid thanks!
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Glad you liked it!
@yashwanthreddygowreddigari1997
@yashwanthreddygowreddigari1997 3 жыл бұрын
AWESOME EXPALNATION THANK U SO MUCH
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
You are welcome!
@Andy_a7
@Andy_a7 3 жыл бұрын
on Mac OSX Workbench comes without MySql server, you got to install it separately.
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@thekids4488
@thekids4488 3 жыл бұрын
Do i need to create a connection every time I use a different method? I am trying to create a method to search the database and another method to update the database and im a little confused.
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Hi, Simplilearn provides online training across the world. We would be happy to help you regarding this. Please visit us at www.simplilearn.com and drop us a query and we will get back to you! Thanks!
@aadityajaiswal7427
@aadityajaiswal7427 Жыл бұрын
thanks a lot sir.
@SimplilearnOfficial
@SimplilearnOfficial Жыл бұрын
Most welcome
@nimasafavi8070
@nimasafavi8070 2 жыл бұрын
I appreciate your useful video. Where can I find the code?
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Hello, thanks for viewing our tutorial. You can find your requested dataset in the video description. Hope that helps.
@arnabsaha6414
@arnabsaha6414 2 жыл бұрын
I am getting this exception java.sql.SQLException: Access denied for user 'port'@'localhost' (using password: YES) Can you tell me what is the issue?
@toph_beifong
@toph_beifong 3 жыл бұрын
in the last query when you looked at the min for university rank, why did Kiran show up when Raju had the lowest? Also, you said 96 when it read 98??? I'm so confused now
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thank you for bringing this to our attention. We’re sorry you had a bad experience. We will look into the dataset once again.
@vivianmardikios8577
@vivianmardikios8577 3 жыл бұрын
please can u tell me .........what is the difference between java file input/output and jdbc?
@user-in8ht2oo5h
@user-in8ht2oo5h 3 жыл бұрын
jdbc and file i/o are two different things. Jdbc is the interface between the Database management system (MySQL in this video) and the java application. File i/o is, as the name suggests, the java api used to input data in a file in the form of plain text or bytes.
@elissonsilvasantos9716
@elissonsilvasantos9716 3 жыл бұрын
Interesting
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@danoustn3229
@danoustn3229 2 жыл бұрын
Salamou Alaykom Thank you So much
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Keep learning with us .Stay connected with our channel and team :) . Do subscribe the channel for more updates : )
@ishanrastogi3049
@ishanrastogi3049 2 жыл бұрын
It would have been a lot more helpful if you had zoomed in, can't see a single thing clearly,, specially since its light mode.
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Thank you for bringing this to our attention. We’re sorry you had a bad experience. We’ll strive to do better
@aliyuumargumel7869
@aliyuumargumel7869 10 ай бұрын
Good job! But sincerely speaking I didn't understand it.
@elbozo5723
@elbozo5723 2 жыл бұрын
fr all the homies put throws SQLException even when it being caught in a try block
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@rastaramen1536
@rastaramen1536 2 жыл бұрын
Good tutorial, but I'm wondering why you didn't implement reading the data from the ResultSet using specific data types and an index value instead of a loop? while (rset.next()) { String universityData = ""; int pos = 0; universityData += rset.getInt(++pos) + " "; universityData += rset.getString(++pos) + " "; universityData += rset.getString(++pos) + " "; universityData += rset.getString(++pos) + " "; universityData += rset.getInt(++pos) + " "; universityData += rset.getInt(++pos) + " "; System.out.println(universityData); } Is there a reason he didn't use this method?
@LEONSKENNEDY91
@LEONSKENNEDY91 2 жыл бұрын
because 'universityData' is a string the getString method says: "Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language." it retrieves the current field in the table *as a String* I believe that we would get a data type mismatch exception if we would use getInt(), because universityData is String and not Integer
@labrat3551
@labrat3551 3 жыл бұрын
Iam getting *terminated docsconnectionpropshelper * eror in every program. Please help
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Hi, Simplilearn provides online training across the world. We would be happy to help you regarding this. Please visit us at www.simplilearn.com and drop us a query and we will get back to you! Thanks!
@someverycoolusername6194
@someverycoolusername6194 2 жыл бұрын
Finally, someone with pure English accent
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Hope you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!
@AbhishekGupta-ji4pf
@AbhishekGupta-ji4pf 2 жыл бұрын
nice try on accent bro
@SimplilearnOfficial
@SimplilearnOfficial 2 жыл бұрын
Thanks for watching our video and sharing your thoughts. Do subscribe to our channel and stay tuned for more. Cheers!
@itrig7679
@itrig7679 Жыл бұрын
A lot of unnecessary animations, just go straight to the point, thank you anyway
@SimplilearnOfficial
@SimplilearnOfficial Жыл бұрын
Thank you for your review. We’ll strive to do better.
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 212 М.
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 17 МЛН
JDBC Tutorial - Crash Course
23:40
Marco Codes
Рет қаралды 23 М.
SQL Tutorial 14: JDBC | Java Database Connectivity with MySQL
29:55
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 880 М.
16.1  JDBC | Java Database Connectivity Theory Tutorial
21:19
Telusko
Рет қаралды 1,1 МЛН
Java JDBC - Connect to MySQL Database in IntelliJ with Java
10:43
SQL Tutorial for Beginners [Full Course]
3:10:19
Programming with Mosh
Рет қаралды 11 МЛН
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 17 МЛН