16.6 Java Database Connectivity with DAO Example

preview_player
Показать описание
In computer software, a data access object (DAO) is an object that provides an abstract interface to some type of database or other persistence mechanism.

By mapping application calls to the persistence layer, DAO provide some specific data operations without exposing details of the database.

JDBC is a Java database connectivity technology (Java Standard Edition platform) from Oracle Corporation.

This technology is an API for the Java programming language that defines how a client may access a database.

It provides methods for querying and updating data in a database.

Follow on Facebook:

Subscribe to our other channel:
Telusko Hindi :

Subscribe to the channel and learn Programming in easy way.

Рекомендации по теме
Комментарии
Автор

No wonder, why are you the most subscribed programmer on youtube. Your teaching skills are way better than other youtubers and even my profs. I just wanna thank you for posting such helpful videos. I was able to pass my object oriented based semester just because of you. Heart greetings. Thank You again.

HarmanSingh-ehps
Автор

Thank you for including the errors you encountered in this video. It was helpful to see you work your way through them.

coopersmith-stackhouse
Автор

Telusko Learnings
is it ok if we use switch statement instead of using many classes and interface as DAO?

killgodz
Автор

please share the link to "jdbc basics video"

karanac
Автор

nice work! thank you for explaining this

jkisner
Автор

bro can u pls explain flow of program if there is dao, service, entity, model, api etc??

sidharthvijayakumar
Автор

I am working in IT and whenever I stuck I used to search your video's . Please tell me if you have uploaded any course based on java in Udemy. I want to learn more with your video's. Thank you

ushasharma
Автор

Can you make the same using both pojo and doa class

pratyushranjanpanigrahi
Автор

sir i undrstand this program but why DAO

javascriptwar
Автор

sir, your tutorials are very helpful... thank u sir, n God bless u..:-)

atulchaudhary
Автор

you are killer ..great work thank you for the videos

navinhiraskar
Автор

One question, lets say you now have 10 other classes that will also access the database, do you go and access the database in each one of the _DAO files like that? Doesnt seem very optimal.

carlsanc
Автор

Cannot read shame because S1 is null

Anyone knows... I m getting this error

chitrangsharma
Автор

Can you explain "return null" after try and catch block little bit more? thanks

nasrullahhussaini
Автор

sir why didnt you use PreparedStatement????

suryasikharej
Автор

Sir i watch all the jdbc videos..but the Dao video is doutfull ..plz make a clean videos on Dao ..

unofficialsuperstar
Автор

sir its a humble request to make DWP(Dynamic web project) with 2 or 3 page which send mail to logged user

kishoragnihotri
Автор

I am getting an message at the terminal as com.mysql.jdbc.Driver is deprecated and use com.mysql.cj.jdbc.driver and this loading happens manually and loading externally is unnecessary.what is this cj in driver class?

drakshayanibakka
Автор

Is statement and connection object automatically closed?

jamescathode
Автор

You must close connection, statement and resultset in finally block

hqnmtfj