16.2 Java Database Connectivity Practical

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 533

  • @arifkhan-uw6tc
    @arifkhan-uw6tc Рік тому +83

    this is 6 year old video and still most of developers are learning from this video.. that's what quality of teaching ...thank you navin sir.

  • @simplewireless3719
    @simplewireless3719 5 років тому +205

    Better than My Professor at my college.

    • @karanshukla6889
      @karanshukla6889 5 років тому +9

      @@Huffpuffcollection Respect is not a gift that should be given for free, it should be earned. if his professors aren't doing their intended task then he isn't obliged to respect them.

    • @karanshukla6889
      @karanshukla6889 5 років тому +1

      @@Huffpuffcollection it does, you aren't obliged to respect them if they haven't earned. I am tired of explaining this baseless arguement to many "I am entitled" people.

    • @VinaySharma-zu8ru
      @VinaySharma-zu8ru 4 роки тому

      My too

    • @VinaySharma-zu8ru
      @VinaySharma-zu8ru 4 роки тому

      @Suraj Kamble pune mere wale attitude khatarnak

    • @mohitsingh-ic3co
      @mohitsingh-ic3co 4 роки тому

      @@Huffpuffcollection u r right and little bit wrong too.....giving respect is a quality but there are other qualities too we should use them 🤣😂

  • @ajaydebata1167
    @ajaydebata1167 6 років тому +77

    Thanks you Telusko sir , your way of teaching is very understandable , thank you again for sharing your knowledge to millions of people , God Bless you , keep doing it .

  • @satyabatigoswami1735
    @satyabatigoswami1735 9 місяців тому +1

    Thank you sir!! One of the greatest teachers ! Because of you only people from non CS background also can learn such difficult topics so easily! Your videos guide me in each and every step throughout my career. 🙏🙏

  • @suhailione6873
    @suhailione6873 3 роки тому +7

    Sir you deserve more views and sunscribers
    You are definitely one of the best teacher in the world
    simple, effective and free of cost
    May God bless you everywhere
    Love you from the core of my heart 💓

  • @manikanta-sr3zc
    @manikanta-sr3zc 5 років тому +7

    complex topics are made easy by Naveen sir and I love your way of explanation sir tq

  • @rupalipawar5688
    @rupalipawar5688 2 роки тому +5

    Thank You So Much Navin Sir. In my batch maximum students are tensed just coz of Advance Java . But to be honest I wasn't as my Trainer is also their who is dedicatedly trying his best. The Main Reason I Was Relaxed JUST BECAUSE OF YOU SIR. Feeling so COOOOOOOOOL.

  • @sarthakjoshi3797
    @sarthakjoshi3797 5 років тому +21

    MAN... the satisfaction when the correct result is printed on your console :)

  • @MovinduLochana
    @MovinduLochana 4 роки тому +3

    Thank you sir, I already worked with JDBC but I wanted to watch you video, cause I know there's something to learn from your video that others don't teach

  • @Nikkudon2001
    @Nikkudon2001 2 роки тому +2

    My course teacher left ths topic for self study (because she can't teach it), but telusko taught me very well.
    Thanks a lot

    • @pranavnyavanandi9710
      @pranavnyavanandi9710 2 роки тому

      Lol, she left the installation process for self study? Or the whole of Mysql itself? Lmao hahaha 🤣

  • @carvelbell181
    @carvelbell181 5 років тому +10

    Telusko, your tutorials are excellent. Thanks, I appreciated your videos.

  • @raobrand5776
    @raobrand5776 2 роки тому

    And Bum "Error" 😄
    Best Java Teacher on UA-cam Many Love From Pakistan
    🥰

  • @priyadharshinis8617
    @priyadharshinis8617 2 роки тому +1

    Very clear explanation
    Every one easily understood for the JDBC tutorial
    Great anna 👏👏keep it up way for more and more videos

  • @apoorvjaiswal9385
    @apoorvjaiswal9385 4 роки тому +2

    i hopefully guessed the error before 18:55 . Your teaching style is awesome sir!!

  • @mohammedogleh5195
    @mohammedogleh5195 4 роки тому

    naveen is a good man he share his own knowledge thousands of people with out nationality from Somalia

  • @AnirudhSharma9211
    @AnirudhSharma9211 3 роки тому +16

    10:58 The table named gariblog, extremely relatable!

  • @abhijeetraj7952
    @abhijeetraj7952 5 років тому +7

    Steve Jobs!
    to let u know i watched it complete

  • @leo23820
    @leo23820 Рік тому

    your teaching is very well brother. no one can tell like you

  • @vigneshwarraju2437
    @vigneshwarraju2437 3 роки тому +6

    Great tutor!You are so clear in what you are teaching and make the concepts easy to understand.Thank you Navin!

  • @chirayujoshi1189
    @chirayujoshi1189 4 роки тому +5

    12:26 Navin sir had 14K subs on Apr 2016, and 1.03M subs on 10 Jul 2020.
    Great progress sir, all the best, keep it up.

  • @PujaKumari-rp5sg
    @PujaKumari-rp5sg 5 років тому +1

    Sir your way of teaching is imaginable

  • @gauravrobin4326
    @gauravrobin4326 3 роки тому

    far far better than professor of my college

  • @Chandalyt
    @Chandalyt 4 роки тому +30

    I am in class 9. But still I can understand whatever you taught. Thanks a lot.

  • @axeduniverse2366
    @axeduniverse2366 6 років тому +2

    This will help me alot for a School project i am working on thanks... and keep up the good work

  • @DeathBender
    @DeathBender 5 років тому +6

    Well thanks for all the vids so far i've learned alot especially since i had to look up alot for myself but that's fine since this is how it should be ! Oh and the very first person who found an Apple waaaaas EVA in the garden of Eden ;) !!!!

  • @sohil557
    @sohil557 4 роки тому

    It's grate education better performance my teacher

  • @SuperAmitks
    @SuperAmitks 6 років тому +3

    Sir you are my super hero..If I am the owner of DC I will definitely cast you as Superman

  • @princerorisang8854
    @princerorisang8854 Рік тому

    your videos are very helpful, i wish i could have found your channel sooner

  • @ishwarshelke128
    @ishwarshelke128 3 роки тому

    best jdbc tut on utube

  • @ananyabhushan1602
    @ananyabhushan1602 2 роки тому

    Thank You Sir, Steve Jobs, Steve Wozniak, Ronald Wayne are the founders of Apple company.

  • @chirayujoshi1189
    @chirayujoshi1189 4 роки тому +1

    For those who are getting exception in connecting to database, use latest connector. 5.1.49 worked for me.

  • @thinker5270
    @thinker5270 7 років тому

    sir,your videos are awesome. Whenever i see your videos i will be knowing something new.

  • @GreenBangla2022
    @GreenBangla2022 2 роки тому

    Best video on JDBC

  • @peterjohnson8586
    @peterjohnson8586 5 років тому +1

    Naveen, Can you explain the difference between spring-jdbc and ojdbc jars ? and when one over the other is used.

  • @pritijadhav2625
    @pritijadhav2625 Рік тому

    You !!! Such a blast man... I learned from basic of db connection just becoz of uhh 📈🙌🏻

  • @juileekudale9790
    @juileekudale9790 2 роки тому

    Very very good explanation

  • @ramakambhampati5094
    @ramakambhampati5094 3 роки тому

    Brilliant explanation...you are JDBC spiderman...

  • @nawelcheurfaoui6160
    @nawelcheurfaoui6160 3 роки тому +1

    U'RE THE BEST!!!!!

  • @samuel_william
    @samuel_william 5 років тому

    Steve Jobs, Your videos are very easy to understand

  • @shubhamkhuntia2412
    @shubhamkhuntia2412 2 роки тому +1

    Thanks a lot.

  • @bukkechandra-k7q
    @bukkechandra-k7q Рік тому

    Informative session,Brohh

  • @michelelaino
    @michelelaino 6 років тому +4

    Thanks for this video. Something is changed now.
    In the url variable, after the database name, i had to add this code "?autoReconnect=true&useSSL=false".
    For example, in my case is:
    String url = "jdbc:mysql://localhost:3306/serra_databaseprova?autoReconnect=true&useSSL=false";
    I you don't do this, ssl error will occur.
    After this, in the Class.ForName i had to modify a little:
    Class.forName("com.mysql.cj.jdbc.Driver").
    I my case, for study database purpose, I don't need ssl security enable, so "?autoReconnect=true&useSSL=false" will disable SSL and also suppress the SSL errors (thanks to stackoverflow).
    Thanks Telusko for the video

    • @bhuvaneshwarans1415
      @bhuvaneshwarans1415 5 років тому

      com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
      bro still am getting this error, pls help me to get out asap

    • @DeathBender
      @DeathBender 5 років тому

      Well you don't have to use SSL and yes telusko is using the old driver which is deprecated. Old Driver "com.mysql.jdbc.Driver" New Driver "com.mysql.cj.jdbc.Driver"

    • @thahseenfarook4945
      @thahseenfarook4945 5 років тому

      I'm getting the same error. Please help me out.

    • @thahseenfarook4945
      @thahseenfarook4945 5 років тому

      @@DeathBender when I use "com.mysql.cj.jdbc.Driver" I'm getting class not found exception.

    • @mokshnarang5610
      @mokshnarang5610 5 років тому

      @@thahseenfarook4945 ur error got resolved or not.... Bcoz im getting the same error

  • @poonamkhillari9008
    @poonamkhillari9008 2 роки тому +1

    Explained very well.

  • @adla2
    @adla2 2 роки тому

    thanks for a good tutorial, and i pretend that i didn't see the movies you have downloaded at 5.06 🙈

  • @shivanisharma-zn6zh
    @shivanisharma-zn6zh 8 років тому +2

    the legend Steve Job
    thanks for this wonderful video.

    • @siddhantsingh3392
      @siddhantsingh3392 3 роки тому +1

      @Bijendra Rathore bro chill. The OP's comment is itself 4 years old 😂😂

    • @vellinari9385
      @vellinari9385 3 роки тому

      @@siddhantsingh3392 🤣

  • @AmanVerma-mg2ym
    @AmanVerma-mg2ym 3 роки тому

    OP sir ho gya aapki kripa se

  • @sachinraut5769
    @sachinraut5769 7 років тому +1

    i like the way u explain thank you sir............ keep it ahed

  • @laxmimounika4211
    @laxmimounika4211 3 роки тому

    Here, we are using rs. next() only one time, which means the cursor will point to second row(Navin). For getting Mahesh we should use rs.next() one more time right?

  • @yashrajingale2013
    @yashrajingale2013 4 роки тому

    plz tell what should i install for database clearly

  • @pavaniganisetti1803
    @pavaniganisetti1803 4 роки тому

    you helped me...thanks so much for these amazing videos

  • @prashanthvaidya1358
    @prashanthvaidya1358 7 років тому +2

    Very well explained. Thankyou Naveen sir! :)

  • @nissypradeep4552
    @nissypradeep4552 5 років тому +1

    Hi sir thanks alot for ur videos. Am 2012 passed out B. Tech with CSE, no job experience till now. I want to start career in IT,recently I completed core java training, I started to attend interviews but everybody is saying we want 2017 to 2019 passed outs, but my friends are suggesting AI and ML, DATA SCIENCE, course worth 3laks at iiit bangalore. What shall I do sir? Please suggest me to start career.

  • @nividarmy6410
    @nividarmy6410 4 роки тому +2

    Thank you so much Telusko! Appreciate a Lot!

  • @saudkhan1595
    @saudkhan1595 3 роки тому

    Steve Jobs, and founder of great teaching channel @Telusko is Navin Reddy .

  • @swapnilsapkal1906
    @swapnilsapkal1906 4 роки тому

    which type of project select

  • @sarfarajansari1618
    @sarfarajansari1618 4 роки тому +1

    Sir can u plz reply that how are u able to open connection.class, Driver.class file???

  • @anikyt7570
    @anikyt7570 7 років тому

    This video is really helpful. Thank you very much sir.

  • @Vivi24139
    @Vivi24139 4 роки тому

    Adding the Class.forName and passing the the com.sql.jdbc is causing the issue. just click new on project go to properties buitpath and add jat and select the jar which was downloades

  • @madhusudhanareddytimmaredd9030
    @madhusudhanareddytimmaredd9030 4 роки тому

    What are the sub objects will close when call connection.close. here using connection pool

  • @debansusatpathy9053
    @debansusatpathy9053 3 роки тому

    When u r using maven project..which steps r to be skipped ?

  • @ansilniroula1098
    @ansilniroula1098 5 років тому

    The father of apple is apple tree. Nice video cheers

  • @erguntercan
    @erguntercan 3 роки тому

    thank you sir..

  • @pradeepgovin3188
    @pradeepgovin3188 4 роки тому

    Great explanation. Thanks so much.

  • @aakashverma8049
    @aakashverma8049 6 років тому

    Would you please shot a video on how to install and set up mysql database on mac and then connect to java.

  • @akhileshyaduwanshi6411
    @akhileshyaduwanshi6411 6 років тому

    Awesome Explanation Navin

  • @sneakygaming3
    @sneakygaming3 2 роки тому

    great explanation thank you

  • @health.upgradedbyscience.7309
    @health.upgradedbyscience.7309 2 роки тому +2

    Thank you so much, this video is so extraordinary helpful !!!!! I was exactly searching for this code-db-connection in Java, and there could not be any better explanation.. thank you so much from Munich, Germany :D

    • @Telusko
      @Telusko  2 роки тому +1

      Glad it helped!

    • @health.upgradedbyscience.7309
      @health.upgradedbyscience.7309 2 роки тому

      @@Telusko .. and it works! 😁 I have created an input GUI where names of current players of my favorite team (FCBayern) can be inserted into a database, then sorted by shirt number and given back (just as an example..)😆🙃 I owe you so much, not just for this tutorial but for all of them - thanx a million!!! 👍😆

    • @Telusko
      @Telusko  2 роки тому

      @@health.upgradedbyscience.7309 Great work :)
      Keep Learning, Keep Growing :)

    • @health.upgradedbyscience.7309
      @health.upgradedbyscience.7309 2 роки тому

      Thank you, i will! 😄 Recently i mainly studied math with Abdul Baris algorithm tutorials.. such outstanding teachers, the two of you!! 👍highly appreciate all of your training and support!!!!!!!!!!!! 😆

  • @parantakchoudhari9057
    @parantakchoudhari9057 3 роки тому

    YOU ARE A LIFE SAVER.

  • @harikrish0075
    @harikrish0075 4 роки тому

    Hi...This is Harikrishnan...I got an error for running the java class file...It shows like...Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

  • @navjeetkaur5742
    @navjeetkaur5742 3 роки тому

    Thank u so much it helped me alot.

  • @raghuna1178
    @raghuna1178 2 роки тому +1

    Can anyone help me understand , how did Sir underlined DriverManager Class and checked methods inside ? any help would be appreciated

  • @MrSinghrohit0907
    @MrSinghrohit0907 5 років тому

    Awesome explanation Navin

  • @sushiltiwari274
    @sushiltiwari274 3 роки тому

    Hello sir
    I don't know whether it is complicated or what but I want to run select query only one time and work whith resultset only to search diffrent parameters and avoid SQL queries time is there any way

  • @nikhiljadhav9785
    @nikhiljadhav9785 2 роки тому

    Nice sirji 🔥

  • @AnuroopBangalore
    @AnuroopBangalore 4 роки тому +1

    getInt(), getString() can be used if there are fewer columns and you know the type of columns of the table. What if you want to display 20 or 50 or more columns? How do you iterate the value from a resultSet and display values of all the columns including null?

  • @CSBBADRIGAUTAM
    @CSBBADRIGAUTAM 4 роки тому

    I use IntelliJ IDEA so can you tell anything regarding this

  • @BlueRays648
    @BlueRays648 3 роки тому

    Excellent exaplanation!!! May Jesus bless you.

  • @tioss6687
    @tioss6687 2 роки тому

    thank you my life saver

  • @sankalparora9261
    @sankalparora9261 4 роки тому

    Great. Took a while for the set up.

  • @md.jahidhossain8212
    @md.jahidhossain8212 4 роки тому

    just got what i want . one word for - great.

  • @mirsinikarafylli3430
    @mirsinikarafylli3430 4 роки тому

    Best tutorial ever!!!!!!!!!!!!

  • @srsvv8573
    @srsvv8573 4 роки тому

    Awesome sir

  • @simbol5638
    @simbol5638 5 років тому

    Steve Jobs is the founder of Apple .
    Thank You very much sir

  • @mayurimishra5398
    @mayurimishra5398 4 роки тому

    Founder Apple :- 1. Steven Paul Jobs
    2. Stephen Gary Wozniak
    3. Ronald Wayne

  • @jeganmuthu6962
    @jeganmuthu6962 6 років тому

    Sir, how to use scrap book in java instead going for workbench and what should be given in URL if scarp book is used

  • @JoseFranc
    @JoseFranc Рік тому

    thank you so much

  • @docscontacts33
    @docscontacts33 6 років тому

    you are great teacher thanks sir

  • @intrepidsouls
    @intrepidsouls 6 років тому

    Great tutorial! Which macOS are you using?

  • @huidrompunendrajitsingh1758
    @huidrompunendrajitsingh1758 3 роки тому +1

    thnx sir for this great video and for those of you problem in loading and register driver make sure to change the
    Class.forName("com.mysql.jdbc.Driver");
    to
    Class.forName("com.mysql.cj.jdbc.Driver");

    • @Saasex
      @Saasex 2 роки тому

      exactly dear. Could you please tell me, after doing all these why My code simply runs and does not print anything? Though I have given print statement.

  • @strawhat566
    @strawhat566 3 роки тому

    Is there a tutorial where you use Data Source instead of Driver Manager?

  • @srujanpalavarapu1520
    @srujanpalavarapu1520 2 роки тому

    Good explanation sir,
    What is the meaning of "TELUSUKO"?

  • @swagatpatel7280
    @swagatpatel7280 3 роки тому

    Great sir love u

  • @anusri738
    @anusri738 3 роки тому

    Sir I used notepad editor then how to load the MySQL driver

  • @priyankav6437
    @priyankav6437 3 роки тому

    Really Thanks man😊

  • @sangeethps4863
    @sangeethps4863 4 роки тому

    I have done it without using forName method

  • @fadhilinayituriki1678
    @fadhilinayituriki1678 4 роки тому +1

    this man is the real Jesus prove me wrong

  • @surajbirdawade6817
    @surajbirdawade6817 7 років тому +1

    Hello sir, i am using sql plus and oracle 11g database so which driver should i use ??
    Please let me know fast my project is pending

  • @sumitrabeniwal5779
    @sumitrabeniwal5779 4 роки тому

    Exception in thread "main" java.sql.SQLException: Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' property.

  • @ravipudiyashwanth4584
    @ravipudiyashwanth4584 6 років тому

    Sir, with out using netbeans and eclipse how can we add a library in notepad++ or codeblocks and how can we run this java program.

  • @nishthanigam2254
    @nishthanigam2254 5 років тому

    Is rs.next necessary to write even in NetBeans?