Пікірлер
@reshma7279
@reshma7279 11 күн бұрын
Hi, I have an API for search, sort and pagination in java, When I hit the API while postgreSql is running it was giving me correct response as expected. But when I stop the postgre service and hit the same API it was giving me 500 error. Need help on this.
@developerhut
@developerhut 10 күн бұрын
Very thoughtful. While Spring can cache values to reduce database calls, the application still relies on an active database connection. Caching can minimize the number of queries sent to the database, but it doesn't eliminate the need for a connection entirely, especially for cache refreshes or cache misses where the data is not in memory. The database connection is necessary to ensure the application can fetch or update data as needed, even with caching in place. This approach helps improve performance, but the database remains an essential component in the application’s runtime. Hope this clears things up!
@nadetdevfullstack7041
@nadetdevfullstack7041 20 күн бұрын
Excellent
@nadetdevfullstack7041
@nadetdevfullstack7041 29 күн бұрын
Excellent
@TarunRoy-l1y
@TarunRoy-l1y Ай бұрын
findAll () method what will be the key inside cacheble annotations?
@developerhut
@developerhut Ай бұрын
We do not require cacheable annotation on findAll(). We need some method which will get all the data from database and put is in the cache (for one time only) preferably during application startup. Hope this answer your query.
@ermanojmeghwal
@ermanojmeghwal 3 ай бұрын
Very nicely explained. In one shot I understood.
@hanan_raina
@hanan_raina 4 ай бұрын
Thanks 👍
@sachinkhandve3070
@sachinkhandve3070 6 ай бұрын
Thank you for the informative video! Your clear and detailed explanation of the Stream API has significantly enhanced my understanding of its concepts and functionalities. I appreciate the effort you put into breaking down complex topics into easily digestible segments. This video has been immensely helpful in advancing my knowledge. Thanks a lot.
@VasikaranPrasad
@VasikaranPrasad 7 ай бұрын
This is really super explanation...thank you
@arunmanglick
@arunmanglick 9 ай бұрын
Awesome.. Beautifully covered !!
@naveenkumarmaddala7830
@naveenkumarmaddala7830 9 ай бұрын
Can you make video covering all Springboot annotations?
@developerhut
@developerhut 9 ай бұрын
Work in progress. Will take some time. But will surely try to post it as soon as possible
@naveenkumarmaddala7830
@naveenkumarmaddala7830 9 ай бұрын
Thanks for the video. Is this example implemented using Spring cache or Redis cache?
@developerhut
@developerhut 9 ай бұрын
This is Spring cache. Very effective nad easy to implement.
@kaiser92600
@kaiser92600 10 ай бұрын
Thanks for your explanations
@developerhut
@developerhut 9 ай бұрын
Welcome!
@Haritha-d2v
@Haritha-d2v 10 ай бұрын
how to check the data in caching ?
@developerhut
@developerhut 9 ай бұрын
I added separate section in the same video itself. You can try to check it by printing database queries in your program.
@BloodIsBat
@BloodIsBat 10 ай бұрын
Good One , Thanks For Sharing this masterpieace info.
@nadetdevfullstack7041
@nadetdevfullstack7041 Жыл бұрын
Excellent
@nadetdevfullstack7041
@nadetdevfullstack7041 Жыл бұрын
Excellent !
@naveenrajukopparthi3046
@naveenrajukopparthi3046 Жыл бұрын
Thank you.
@issamachoiri9631
@issamachoiri9631 Жыл бұрын
Hello, Here for the find by id u dont need to implement cache with spring, here we are in the first level cache that is supported and managed by hibernate ( we call this entity cache level) i invite you to hit the find by id for dept 102 ,itjout annotation. ( 2 or 3 times and in console u will see only one sql query hited to database)
@developerhut
@developerhut Жыл бұрын
Thanks for letting me know. I know there is hibernate cache. However, spring cache has its own advantages. Will also try to create something's around hibernate as well.
@zuberdiwan8123
@zuberdiwan8123 Жыл бұрын
Very good explanation..keep it up..... 👍👍 👍
@developerhut
@developerhut Жыл бұрын
Thanks. Hope you enjoyed it.
@suryadharamgudi7712
@suryadharamgudi7712 Жыл бұрын
31 minute userrepository.sava and add method giving me some error
@developerhut
@developerhut Жыл бұрын
This should be interface. What method you are trying to add? And what is the error?
@shivanihiwase9790
@shivanihiwase9790 Жыл бұрын
Thanks for posting, very informative.
@developerhut
@developerhut Жыл бұрын
Glad you enjoyed it!
@developerhut
@developerhut Жыл бұрын
Sure. Next will be on spring 3.
@kakarlanagendra9324
@kakarlanagendra9324 Жыл бұрын
hi bro it will not work some times for jsp page thats y iam using html page and it will not come previous page when we use anchor tag within that mapping url it will show white label error those pages are working just few minutes after that we run the appication and its will give white label error can u reply for this bro and give sollution for this ALL THE BEST BRO GOOD EXPLAINING
@developerhut
@developerhut Жыл бұрын
You will get white label error only if page is not available in application. May be i didn't understand the exact issue you are facing here. Can you please share me the steps how are you getting this error? May be then i can help you out here.
@kakarlanagendra9324
@kakarlanagendra9324 Жыл бұрын
@@developerhut iam create a crud example project with html pages after that it will work properly few minutes sometimes it will not redirect means(try to add new one r login to register come back at the times its will not work at the time it will show white label error ) these things will be happen
@developerhut
@developerhut Жыл бұрын
There can be 2 possible reason here 1. There might be some error or exception in the background. Check if you get any exception on your console. Cause can be anything. Nullpointer or database exception. 2. You said login here. If you added the spring security then there may be session expired. This case will only happen if you used spring security. Check these 2 points. If error still persists. Collect the screenshot of steps and add it in document. Send it to me on my mail id. You can find my email on my channel description page. Hope it helps.
@sachinkhandve3070
@sachinkhandve3070 2 жыл бұрын
Provided example and explanation are very unique. This is very useful for beginners. Thanks for end to end tutorial. It worked in one go💯 and even bootstrap section. Very well explain sir👍❤ Please add more such videos.
@developerhut
@developerhut Жыл бұрын
Thanks Sachin. I will add more sections.
@hasanmougharbel8030
@hasanmougharbel8030 2 жыл бұрын
Hey there, God bless your efforts. I have only a general enquiry as a new sql learner. Suppose i created one table on sql management studio for data entry purpose... How can i compile this sql table into a windows application? In what compiler should i placed it? The reason i am asking that i would like to discover how an sql application is finally presented as an application... THanks for taking care of this.
@developerhut
@developerhut 2 жыл бұрын
For this i have used the MySQL database. The query can be compiled and executed in MySQL workbench. There are multiple ways to do this. I hope I answered your question.
@ArjunSingh-cy8eq
@ArjunSingh-cy8eq 2 жыл бұрын
❣👍
@kranthi6310
@kranthi6310 2 жыл бұрын
Nice Video Sir! One small suggestion pls increase your voice little bit sir it is very low in video
@developerhut
@developerhut 2 жыл бұрын
Thanks for your valuable feedback. I will surely update volume part in upcoming video. Hope you enjoy this tutorial. Keep knowing, keep growing 👍
@mayur.a15
@mayur.a15 2 жыл бұрын
Thank you so much for the video
@developerhut
@developerhut 2 жыл бұрын
Welcome. Hope you able to get most of it. Keep Learning 👍
@nishantbhawsar2332
@nishantbhawsar2332 2 жыл бұрын
Love you Ashish, You are Rocking bro, wish you all luck 😃
@developerhut
@developerhut 2 жыл бұрын
Thanks Bro
@amitvaidya1720
@amitvaidya1720 2 жыл бұрын
Nicely explained. Thanks for sharing knowledge and your time.
@developerhut
@developerhut 2 жыл бұрын
Thanks Amit
@afifkhaja
@afifkhaja 2 жыл бұрын
Very helpful tutorial. Thank you
@suryanshkifamily125
@suryanshkifamily125 2 жыл бұрын
Its very nice and clear.
@chandan07talreja
@chandan07talreja 2 жыл бұрын
Nice explanation!!!!
@tanveermahalatbade8348
@tanveermahalatbade8348 2 жыл бұрын
Helpful Keep going.. bro
@milindsalunkhe2531
@milindsalunkhe2531 2 жыл бұрын
Your content is helpful.. Keep going.. 👏
@developerhut
@developerhut 2 жыл бұрын
Thanks Milind.
@PraveenKumar-uj2ih
@PraveenKumar-uj2ih 2 жыл бұрын
Great bro
@sachinkhandve3070
@sachinkhandve3070 2 жыл бұрын
Really nice. Very well explained. Loved it.👍
@developerhut
@developerhut 2 жыл бұрын
Glad you liked it
@shivanihiwase9790
@shivanihiwase9790 2 жыл бұрын
Very well explained. Please add some more design pattern with similar explanation.
@paradizzpoll
@paradizzpoll 2 жыл бұрын
Good Brother! Your explanation is simple and clear. 👍👍👍
@developerhut
@developerhut 2 жыл бұрын
Thanks and welcome
@ashokmurthy3635
@ashokmurthy3635 2 жыл бұрын
Good explanation. Also, it's good to mention overriding the public methods of java.lang.Object doesn't count towards the interfaces abstract methods count. Example: Comparator functional interface has 2 abstract methods, but equals(Object obj) doesn't count for abstract method since any implementation of the interface will have an implementation from java.lang.Object.
@developerhut
@developerhut 2 жыл бұрын
You are right. I purposely ommited that part from video. I wanted to people try this out by themselves and check what happens. Thanks for sharing
@venkatashanmukha348
@venkatashanmukha348 2 жыл бұрын
Good content
@sureshsadanala4639
@sureshsadanala4639 3 жыл бұрын
This video explanation is as simple as time api in java8. good one bro keep doing videos like this.
@maathumichael577
@maathumichael577 3 жыл бұрын
Well explained. Keep doing...
@harshshiyani1011
@harshshiyani1011 3 жыл бұрын
Hey man !! Greate information. Very good Explaination. keep it up bro.