Spring Data JPA [PRO] - How to connect Multiple Databases using Spring Boot | Multiple Datasources

  Рет қаралды 19,040

Selenium Express

Selenium Express

Күн бұрын

Пікірлер: 84
@iampradeephr
@iampradeephr 5 ай бұрын
One of the best in depth explanations ever 🔥
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
Thank you 😊
@jeremiahnji6
@jeremiahnji6 11 күн бұрын
I agree!
@alcoverp
@alcoverp 2 ай бұрын
Great videos man! Unlike other tutorials, you go deep into Spring concepts and make things really clear. Congrats for the initiative!
@Bindas_Raja
@Bindas_Raja 4 ай бұрын
Bhai bahut badhia lagila au easy explanation. . Thanks from ODISHA ❤
@sourishravichandren3837
@sourishravichandren3837 18 күн бұрын
Explanation was Amazing!!! Greatest video on Multiple Datasource
@SohamDutta222
@SohamDutta222 Ай бұрын
you saved millions of students.. thanks from all of us
@MarceloGarciaPerfil
@MarceloGarciaPerfil 18 күн бұрын
2nd hasf done. Great video with deep concepts of ORM. Thank you
@jesuslovesyou8664
@jesuslovesyou8664 5 ай бұрын
Extraordinary teaching thank u soo much for clear explanation . Keep giving more videos like this
@harleyseixas8708
@harleyseixas8708 4 ай бұрын
Excelente conteúdo, muito bem explicado. Step by step...💯💯💯💯 Obrigado por compartilhar seu conhecimento.
@AnkitLadha-fo8em
@AnkitLadha-fo8em 5 ай бұрын
Appreciate your hard work and explaining meaning of the error messages at every step.
@tus62
@tus62 Ай бұрын
Amazing video and teaching style amazing I like how you shocase each steps and why behind of each step.
@shirokuma145
@shirokuma145 5 ай бұрын
1st Half Done, your explanations are very engaging and clear 😎
@shirokuma145
@shirokuma145 5 ай бұрын
2nd Half Done, many thanks for the tutorial!
@ujjwalpandey4721
@ujjwalpandey4721 4 ай бұрын
You are amazing... Not other word category suits you... You are incredible.
@srinivasulumannem4137
@srinivasulumannem4137 4 ай бұрын
Hi @Abhilash iam looking for kafka video series from your side .have been following you for the last 3 years on words .I have covered all your videos .
@priyanshu4016
@priyanshu4016 5 ай бұрын
absolutely great video . i am learning a lot from your videos , thanks for sharing
@avalagum7957
@avalagum7957 Ай бұрын
A very good video although it's a bit too long. Thank you very much for sharing your knowledge. You can use a smaller font size and we can still see it.
@SeleniumExpress
@SeleniumExpress Ай бұрын
@@avalagum7957 noted 😊
@virupakshak4746
@virupakshak4746 5 ай бұрын
Superb... Thanks, Abhilash for nicely explained it....
@pothinenivenkat
@pothinenivenkat 5 ай бұрын
ధన్యవాదాలు!
@msvchalapathy
@msvchalapathy 5 ай бұрын
Fabulous topic. Thank you for this session
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
My pleasure 😊
@AbhishekAnandDas
@AbhishekAnandDas 5 ай бұрын
I have used the same methods to connect to two databases in one of the production application I'm currently working on... 😊
@ashutoshsatapathy2477
@ashutoshsatapathy2477 2 ай бұрын
2nd Half Done, Thanks for this informative video.
@biswajeetsahoochintu2329
@biswajeetsahoochintu2329 5 ай бұрын
Best depth concept you explained abhilash Jay jaganath abhilash
@54nehatiwari96
@54nehatiwari96 Ай бұрын
2nd half done. Thank you so much .
@12345ms
@12345ms 2 ай бұрын
Really good @Abhilash, 2nd half done
@edgarangelveradelrio3645
@edgarangelveradelrio3645 4 ай бұрын
Hi, excellent video! I Have a question, in spring boot 3 what is the alternative to ChainedTransactionManager?
@RameshDornala-b3f
@RameshDornala-b3f 5 ай бұрын
Thanks Abhi🤝❤. as always you explained well
@DivyaShree-z3m
@DivyaShree-z3m 4 ай бұрын
Hi i want to connect two postgres database when both the postgres databases are up and running only primary database has to get and post the data secondary should be stand by when primary database goes down secondary database has to take over when primary database come back ideally primary should take over how can we achieve this as of now i have configured 2 postgres but both the postgres are able to get and post the data
@techsavy641
@techsavy641 2 ай бұрын
Bro next level editing and lessons too..Thanksssssss...
@dipeshvishwakarma5671
@dipeshvishwakarma5671 5 ай бұрын
Hi this owsm video Thanks so much!! One request: could you please make one video on spark data connection, reading data from parquet file from AWS S3 using spark.sql("") It would be greatly appreciated and very helpful. Thanks
@pavankumar-mt3gm
@pavankumar-mt3gm 4 ай бұрын
on multi datasource implementation in springboot I get Field ConfigurationRepository in ConfigurationService required a bean named 'entityManagerFactory' that could not be found.
@ritunjaykumar5428
@ritunjaykumar5428 4 ай бұрын
Hi, How can we manage the multiple transaction at the same time. suppose i am inserting data in Mysql DB but unable to insert in PG Db. then how to rollback for both....
@ophemtech
@ophemtech 4 ай бұрын
Hi Abhilash, thank you so much for this video. though i learnt this myself the hard way but your video really made me understand each blocks of code and why they even need to be written. but please there is still a problem i am trying to solve, how do i make it possible to make table name come from properties file like you use @ConfigurationProperties(). i want to make it possible that users of my product can specify the table name so my entity can just model the table directly other than me changing the code. for example any authentication database would have username , password, email columns, but they can be given diffreent names like auth_table, user_table, etc. so i want people to be able to specify that table name dynamically by themselves, more like for a saas product kind of thing. is it possible?
@sahukarinaveenkumar3188
@sahukarinaveenkumar3188 4 ай бұрын
Hi Ahbishek sir, can u please make one video on oauth internal? Like how resource server communicates with auth server internal classes and concepts?
@maharishi1
@maharishi1 4 ай бұрын
Thank you Abhilash...
@Lalitprasad1
@Lalitprasad1 2 ай бұрын
Hello Sir, In my case the EntityManagerFactoryBuilder is not getting created automatically, I'm getting the below error Consider defining a bean of type 'org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder' in your configuration.
@tomobrezami9781
@tomobrezami9781 28 күн бұрын
I have same issues but I add @Primary on one of DataSource than it work
@in_tyler_we_trust
@in_tyler_we_trust 5 ай бұрын
Sir Spring boot for beginners playlist is complete ? If not please please complete it so that we move on to the difficult topics Thank you!
@jaafarhamza3402
@jaafarhamza3402 4 ай бұрын
2nd half done. Thank you
@MarceloGarciaPerfil
@MarceloGarciaPerfil 19 күн бұрын
1st half done
@srinivasn7991
@srinivasn7991 5 ай бұрын
Clear understandng each and everthing
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
Thank you so much, Srinivasan ❤️
@kalaimaranmadhavan4182
@kalaimaranmadhavan4182 4 ай бұрын
Please make video for multitenant application with seperate schema. I am waiting for your video. I have searched in youtubes no videos related on this and i cannot understand those videos. Please make
@balakrishna9437
@balakrishna9437 5 ай бұрын
Great video, 🎉 one question can’t we write a single configuration file for each of the product and order entities?
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
Thank you Bala, Yes we can! But better to create one per db as we can keep things relevant to a specific db.
@arpansrivastava7537
@arpansrivastava7537 4 ай бұрын
Very nice 👍👍
@rahulbhatanagar6175
@rahulbhatanagar6175 4 ай бұрын
1st half done 👍
@ivorpersonal
@ivorpersonal Ай бұрын
I really like your videos and your approach. 😊 1. I find it confusing when mixing plural and singular. You always have to remember or check in which occasion which is used. Also for people who don't know English too well creating plural can be confusing because of complicated rules in English for creating plurals. Also when searching item you have to search both in plural and singular. Also because of plural table you now need this extra line @Table which makes the code more complicated. Like when at the end of the video you were writing SELECT * FROM ORDER instead of ORDERS :). 2. Why don't you use Lombok @Data for Setters, Getters & Constructors. All this extra code makes the code look more complicated. 3, If not using autogenerated Id you will probably have to constantly delete inserted records in order to insert new ones (as was the case in your other videos) which I think unnecessary adds to the length of the video, if you forget then things don't work and all in all it wastes time and breaks concentration from more important things. 4. Why do you call it ProductDAO instead of ProductRepository. It is confusing when using different name for the same thig DAO vs Repository. Now I have to remember to map DAO to Repository - so the DAO name isn't very descriptive that we are actually using Repository. When I watch other tutorials they usually name it like that. They use DAO in case they don't use Repository - for instance when they use JdbcTemplate to work with Database. 5. Maybe instead of different Databases we could try connecting to different Schemas in the same Database. 6. Also maybe to disable hints that liters the code with "no usages" to make the code more readable. 7. Why do we have to manfully create Datasource? How come previously Spring Boot was able to create it automatically from DatasourceProperties Bean. Why can't Spring Boot simply use our DatasourceProperties Bean to create Datasource as before. We have just changed how DatasourceProperties Bean is created. Why would Spring Boot care how DatasourceProperties Bean is created in order to use it to create Datasource Bean. 8. I don't think it makes sense to create a Package for every Class. Usually people create Package entity or entities and there they put ALL of their entities. And again I prefer using singular entitiy everywhere. So you did it to later use Package to define responsibility for different Entity managers? 9. Maybe to use simple English names like John when creating examples. Its easier to follow and remember. 10. How come Spring Boot looks for Bean with specific name rather then interfaces as in all other cases? Why is this different? 11, @EnableJPARepositores changes application so much. App becomes unmanageable. It can't automatically find and use repositories. Now you constantly have to align and configure whenever creating new repository. Instead of simply creating repos wherever you like and having them picked up by Spring Boot. I think this hugely increases complexity. Suddenly you can't use your app like you were used to use it. Isn't there a better way? The main point of Spring Boot is to reduce configuration and our configuration just exploded. 12. Why is save() falling under Transaction when we haven't used @Transactioanl anywhere? What I have seen is that @Transactioanl might have additional parameter specifying which transaction manager to use. So do we need Transaction Manager if @Transactional is not used?
@saruth
@saruth 5 ай бұрын
you are best!
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
@teklehaimanotatikilt1435
@teklehaimanotatikilt1435 5 ай бұрын
abhi how can we integrate fingerprint with spring security?by the way your videos are very helful
@pranjitmedhi6764
@pranjitmedhi6764 4 ай бұрын
great work
@priyanshu4016
@priyanshu4016 5 ай бұрын
first half done 👍
@debiprasaddash654
@debiprasaddash654 5 ай бұрын
Getting java job as a fresher is very difficult now a days 😢😢
@programmer_kt
@programmer_kt 2 ай бұрын
I like your shirt.
@srigakolapuatchuthasai6638
@srigakolapuatchuthasai6638 5 ай бұрын
Thanks Abhi ❤
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
❤️
@gowtham4383
@gowtham4383 3 ай бұрын
Thanks bro .
@mohammedirfan5744
@mohammedirfan5744 5 ай бұрын
Thanks sir
@TomarSahab
@TomarSahab 2 ай бұрын
I spent one day until I found you also have the same error 1:00:19
@premraj.m
@premraj.m 5 ай бұрын
47:30 keypoint
@mdnishat9560
@mdnishat9560 5 ай бұрын
Bro please complete the playlist of word guess game🤗🤗
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
Tomorrow you will get a new episode 🙂
@perkypleyar
@perkypleyar 7 күн бұрын
Hinglish
@PradeepKumar-sx6ms
@PradeepKumar-sx6ms 5 ай бұрын
If I give challenges you like to crack???
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
I can try 😀
@PradeepKumar-sx6ms
@PradeepKumar-sx6ms 5 ай бұрын
@@SeleniumExpress share your personal email id
@vlarunrajesh
@vlarunrajesh 4 ай бұрын
Bro. you are complicating simple things and make video lengthier.. keep it as simple.
@punitvishwakarma718
@punitvishwakarma718 4 ай бұрын
Bhai accent kyo badal raha Indian accent acha nahi lgta hai kya??? Banavati lagta hai
@kunwarrajneeshsingh3132
@kunwarrajneeshsingh3132 4 ай бұрын
2nd half done
@ayushsingh2431
@ayushsingh2431 5 ай бұрын
Getting error- Parameter 0 of method mySQLEntityManagerFactoryBean in org.ayushsingh.springdatamulitsoruce.config.MySQLEntityManagerConfiguration required a bean of type 'org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder' that could not be found.
@SeleniumExpress
@SeleniumExpress 5 ай бұрын
Hi Ayush ! Make one of your datasource as Primary.
@arpitrajput6424
@arpitrajput6424 5 ай бұрын
@@SeleniumExpress didn't work for me , now getting error related to mySqlTransactionalManager
@arpitrajput6424
@arpitrajput6424 5 ай бұрын
Parameter 0 of method mySqlTransactionalManager in com.example.SPringbootJpa.config.MySQLJPAConfiguration required a bean of type 'org.springframework.orm.jpa.LocalEntityManagerFactoryBean' that could not be found. The injection point has the following annotations: - @org.springframework.beans.factory.annotation.Qualifier("mySqlEntityManagerFactoryBean")
@ganirasafarli8646
@ganirasafarli8646 2 ай бұрын
Hi. Did you find the solution to this issue? I am getting exact problem.
@someshwarreddy8463
@someshwarreddy8463 17 күн бұрын
@sarathchandra941
@sarathchandra941 5 ай бұрын
1st half done
@someshwarreddy8463
@someshwarreddy8463 17 күн бұрын
@someshwarreddy8463
@someshwarreddy8463 17 күн бұрын
Spring boot Rest API's and Unit Test cases #springboot #codewithmani
4:00:01
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19
哈莉奎因怎么变骷髅了#小丑 #shorts
00:19
好人小丑
Рет қаралды 50 МЛН
Spring Data JPA - One to One mapping in spring boot | MySQL
1:20:27
Selenium Express
Рет қаралды 3,6 М.
Microservices in 60 mins | Learning Path & Interview Preparation
59:40
Selenium Express
Рет қаралды 28 М.
Do you choose Inside Out 2 or The Amazing World of Gumball? 🤔
00:19