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.
@developerhut10 күн бұрын
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!
@nadetdevfullstack704120 күн бұрын
Excellent
@nadetdevfullstack704129 күн бұрын
Excellent
@TarunRoy-l1yАй бұрын
findAll () method what will be the key inside cacheble annotations?
@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.
@ermanojmeghwal3 ай бұрын
Very nicely explained. In one shot I understood.
@hanan_raina4 ай бұрын
Thanks 👍
@sachinkhandve30706 ай бұрын
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.
@VasikaranPrasad7 ай бұрын
This is really super explanation...thank you
@arunmanglick9 ай бұрын
Awesome.. Beautifully covered !!
@naveenkumarmaddala78309 ай бұрын
Can you make video covering all Springboot annotations?
@developerhut9 ай бұрын
Work in progress. Will take some time. But will surely try to post it as soon as possible
@naveenkumarmaddala78309 ай бұрын
Thanks for the video. Is this example implemented using Spring cache or Redis cache?
@developerhut9 ай бұрын
This is Spring cache. Very effective nad easy to implement.
@kaiser9260010 ай бұрын
Thanks for your explanations
@developerhut9 ай бұрын
Welcome!
@Haritha-d2v10 ай бұрын
how to check the data in caching ?
@developerhut9 ай бұрын
I added separate section in the same video itself. You can try to check it by printing database queries in your program.
@BloodIsBat10 ай бұрын
Good One , Thanks For Sharing this masterpieace info.
@nadetdevfullstack7041 Жыл бұрын
Excellent
@nadetdevfullstack7041 Жыл бұрын
Excellent !
@naveenrajukopparthi3046 Жыл бұрын
Thank you.
@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 Жыл бұрын
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 Жыл бұрын
Very good explanation..keep it up..... 👍👍 👍
@developerhut Жыл бұрын
Thanks. Hope you enjoyed it.
@suryadharamgudi7712 Жыл бұрын
31 minute userrepository.sava and add method giving me some error
@developerhut Жыл бұрын
This should be interface. What method you are trying to add? And what is the error?
@shivanihiwase9790 Жыл бұрын
Thanks for posting, very informative.
@developerhut Жыл бұрын
Glad you enjoyed it!
@developerhut Жыл бұрын
Sure. Next will be on spring 3.
@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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
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.
@sachinkhandve30702 жыл бұрын
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 Жыл бұрын
Thanks Sachin. I will add more sections.
@hasanmougharbel80302 жыл бұрын
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.
@developerhut2 жыл бұрын
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-cy8eq2 жыл бұрын
❣👍
@kranthi63102 жыл бұрын
Nice Video Sir! One small suggestion pls increase your voice little bit sir it is very low in video
@developerhut2 жыл бұрын
Thanks for your valuable feedback. I will surely update volume part in upcoming video. Hope you enjoy this tutorial. Keep knowing, keep growing 👍
@mayur.a152 жыл бұрын
Thank you so much for the video
@developerhut2 жыл бұрын
Welcome. Hope you able to get most of it. Keep Learning 👍
@nishantbhawsar23322 жыл бұрын
Love you Ashish, You are Rocking bro, wish you all luck 😃
@developerhut2 жыл бұрын
Thanks Bro
@amitvaidya17202 жыл бұрын
Nicely explained. Thanks for sharing knowledge and your time.
@developerhut2 жыл бұрын
Thanks Amit
@afifkhaja2 жыл бұрын
Very helpful tutorial. Thank you
@suryanshkifamily1252 жыл бұрын
Its very nice and clear.
@chandan07talreja2 жыл бұрын
Nice explanation!!!!
@tanveermahalatbade83482 жыл бұрын
Helpful Keep going.. bro
@milindsalunkhe25312 жыл бұрын
Your content is helpful.. Keep going.. 👏
@developerhut2 жыл бұрын
Thanks Milind.
@PraveenKumar-uj2ih2 жыл бұрын
Great bro
@sachinkhandve30702 жыл бұрын
Really nice. Very well explained. Loved it.👍
@developerhut2 жыл бұрын
Glad you liked it
@shivanihiwase97902 жыл бұрын
Very well explained. Please add some more design pattern with similar explanation.
@paradizzpoll2 жыл бұрын
Good Brother! Your explanation is simple and clear. 👍👍👍
@developerhut2 жыл бұрын
Thanks and welcome
@ashokmurthy36352 жыл бұрын
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.
@developerhut2 жыл бұрын
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
@venkatashanmukha3482 жыл бұрын
Good content
@sureshsadanala46393 жыл бұрын
This video explanation is as simple as time api in java8. good one bro keep doing videos like this.
@maathumichael5773 жыл бұрын
Well explained. Keep doing...
@harshshiyani10113 жыл бұрын
Hey man !! Greate information. Very good Explaination. keep it up bro.