Db configuration in application.properies file | JPA with Spring Boot | Spring boot tutorial

  Рет қаралды 217,112

Learn Code With Durgesh

Learn Code With Durgesh

Күн бұрын

Пікірлер: 237
@aishwaryadwani9365
@aishwaryadwani9365 3 жыл бұрын
The reason spring boot framework is used because it saves much time and developer efforts , on the top of that you are using IDE's intellisense feature which means now you don't have to write even a single line as a whole. If we were capable of understanding at such speed then why we were here ?. Please try to cover broad topics also so that newbies know why and how things are working behind the scenes. Dileact ? Crud Repository ? Why that generic is used ?.
@RupeshSaxena
@RupeshSaxena Жыл бұрын
you only focus on writing business logic, is what the intentions of Spring Boot framework developers wanted to solve..
@KejriwalBhakt
@KejriwalBhakt Жыл бұрын
Bhai tu khud ki videos ke neeche ke comments dekhta hai kya? 2 saal se bando ko error aa rakka hai and you haven't replied them. I thought of going for your paid course but bhai tu bass ek baar vdeo bana karr choor deta hai... Last 3 hours se ek hi error parr hoon jo common error hai bando ki comment section mein.
@aniketvitekar1221
@aniketvitekar1221 Жыл бұрын
The method save(S) in the type CrudRepository is not applicable for the arguments (User)
@vinaykaple1663
@vinaykaple1663 2 жыл бұрын
Yaar Durgesh bhai, ek no. padhate ho aap!!
@sagarray283
@sagarray283 11 ай бұрын
Spring Boot + Snowflake DB ka bhi playlist bnaiye sir....
@rahul-java-dev
@rahul-java-dev 4 жыл бұрын
G Sir..bahut achhe se smjh aa rhi h. Thank u so much. Spring boot me security bata dijiyega Sir ji
@Anshika0326
@Anshika0326 2 жыл бұрын
Thanks, sir. Today I am learn 100% about JPA because of You.
@Dhiraj-nd9vy
@Dhiraj-nd9vy 6 ай бұрын
thora english bhi sikh lijie sir
@sameerkadam4830
@sameerkadam4830 3 жыл бұрын
User Entity class me each name and city ko column name and class name ko table name diye bina kaise kaam kiya?
@therandomchannel02
@therandomchannel02 11 ай бұрын
"The method save(User) is undefined for the type UserRepository" this error comes at 6:38
@Ashish.YouTube.
@Ashish.YouTube. 4 ай бұрын
userRepository (small 'u' . Method ko reference variable ke through access karo bhai.)
@sakshammishra2456
@sakshammishra2456 8 ай бұрын
the method setcity is undefined for the type security.properties Any solution? Please help!
@eshankyadav2354
@eshankyadav2354 3 жыл бұрын
Sad to see, such a knowledgeable video but has only 249 likes
@nishcurse69
@nishcurse69 6 ай бұрын
what is the solution for this error please help The method setCity(String) is undefined for the type SecurityProperties.User The method setStatus(String) is undefined for the type SecurityProperties.User
@megalifehack143
@megalifehack143 2 ай бұрын
Same problem
@megalifehack143
@megalifehack143 2 ай бұрын
Bhai Jo package user ka hai use hata do uski jagah Import com.jpa.test.entities.User Lagao sahi ho jayega
@utkarshsinghrajput4522
@utkarshsinghrajput4522 Ай бұрын
​@@megalifehack143nhi ho rha bhai
@Vinu-Arts
@Vinu-Arts Жыл бұрын
thank you so much sir..........
@kanchandeshmukh7131
@kanchandeshmukh7131 14 күн бұрын
What is ctrl shift for dialect
@FAITH__2025
@FAITH__2025 4 ай бұрын
Getting error .... Exception in thread main no qualifying bean ..... Please help to resolve.
@JayeshMali-er1yo
@JayeshMali-er1yo Жыл бұрын
hello sir how to add php database to spring bootapp and sir there issue to source path how to solve error is "Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class".
@bobyburman6763
@bobyburman6763 2 жыл бұрын
For Exception: "Bean not available" --> create only one package and put all the classes(pojo, main) and interface(UserRepository) inside that package (Forget about loose coupling for a bit and do that ). Update ur project and restart it again..try it
@rohanmohite8741
@rohanmohite8741 2 жыл бұрын
yes it's working Thanks.
@rohanmohite8741
@rohanmohite8741 2 жыл бұрын
i got this Exception.
@vinaykumard1386
@vinaykumard1386 2 жыл бұрын
Tanx a lot man ..i resolved my issue ...tq a lot
@vasusrivastav
@vasusrivastav 2 жыл бұрын
Thanks bro
@siddharthsahu8763
@siddharthsahu8763 2 жыл бұрын
for loose coupling how to do?
@ece03abhisheksrivastava64
@ece03abhisheksrivastava64 10 ай бұрын
Got error Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] due to: Unable to resolve name [org.hibernate.dialect.MySQL5Dialect] as strategy [org.hibernate.dialect.Dialect] Solution : Remove that dialect property ( Using spring 3.2.2 )
@prasad2136
@prasad2136 8 ай бұрын
thanks man
@mogamboo_vlog
@mogamboo_vlog 5 ай бұрын
Your solution is very helpful ❤
@raghubansal4143
@raghubansal4143 Ай бұрын
Where is solution?
@PRISOM1988
@PRISOM1988 Жыл бұрын
Good Video
@Kritida
@Kritida 3 жыл бұрын
Hi, Amazing, your video is really helping me in our project. How do I utilize my existing database and table in sql server. Can you please create a video on that too. I've my project in jsp+servlet and now converting them to spring boot, so, I've my existing database, how can I utilize it.
@parasbillore
@parasbillore Жыл бұрын
Use {jakarta.persistence}. "the javax namespace changed to jakarta for frameworks whose APIs have moved to Jakarta EE"
@tabishquadri
@tabishquadri 2 жыл бұрын
"user" is a reserved keyword in postgresql. Change your table name to something else
@KhushbooDailyVlogs0506
@KhushbooDailyVlogs0506 Жыл бұрын
I am getting error: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type. please help! I have coded exactly same step by step as shown in the video.
@piyushmathpal4244
@piyushmathpal4244 Жыл бұрын
hey did you find any solution to this?
@raushankr1156
@raushankr1156 Жыл бұрын
@LearnCodeWithDurgesh sir, It's a common error being thrown and being faced. No solution was found after trying a lot.
@ganeshkokate5555
@ganeshkokate5555 9 ай бұрын
@@piyushmathpal4244 did you get solutions i also tried with @Repository on my interface
@shankarraj3606
@shankarraj3606 Жыл бұрын
Hi, This video is nice but the "url' attribute is not specified and no embedded datasource could be configured ". tried all of the steps, None of them works, Is there anything you can do
@anuraaagistan5173
@anuraaagistan5173 Жыл бұрын
How to resolve this?
@PunjabiBoyz
@PunjabiBoyz Жыл бұрын
Getting this error Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class tried everything from google , stackoverflow, quora etc but problem remained same
@saurabhkumarjha2370
@saurabhkumarjha2370 Жыл бұрын
got any solution for this error?
@saurabhkumarjha2370
@saurabhkumarjha2370 Жыл бұрын
Try this configuration spring.datasource.url=jdbc:mysql://localhost:3306/dbName spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver spring.datasource.username= spring.datasource.password= spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.datasource.initialization-mode=always spring.jpa.defer-datasource-initialization= true spring.sql.console.enabled=true spring.jpa.hibernate.ddl-auto=update
@paragnaik5097
@paragnaik5097 Жыл бұрын
same error
@saurabhkumarjha2370
@saurabhkumarjha2370 Жыл бұрын
​@@paragnaik5097 do try above configuration
@paragnaik5097
@paragnaik5097 Жыл бұрын
@@saurabhkumarjha2370 didn't work, tried all the stackoverflow suggestion
@codingstudy786
@codingstudy786 11 ай бұрын
Sir I have mysqlDialect problem. I have tried many time but I can't resolve this problem.
@poojarath7087
@poojarath7087 4 ай бұрын
i was facing same issue .. Now i m using spring.hibernate.dialect=org.hibernate.dialect.MySQLDialect spring.jpa.hibernate.ddl-auto=update in Application.Properties file and the issue solved .. i m able to get data in table
@sagarsoni1983
@sagarsoni1983 28 күн бұрын
@@poojarath7087 ty
@mdimtiyaz2013
@mdimtiyaz2013 Жыл бұрын
Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. getting this error
@sagarpund6042
@sagarpund6042 Жыл бұрын
Same Error ...
@aaqibperwez6761
@aaqibperwez6761 3 жыл бұрын
Sir please tell us how to create test database in MySQL
@akankshajain5978
@akankshajain5978 2 жыл бұрын
Write a query Create database test And execute it
@ashishdevnani
@ashishdevnani Жыл бұрын
ensure that you are in correct user of mysql and fire the command create database test
@akankshajain5978
@akankshajain5978 2 жыл бұрын
My table is not created in mysql
@UPlusPlus
@UPlusPlus 2 жыл бұрын
How to use jpa in mvc web app?
@tanmaysenapati1328
@tanmaysenapati1328 Жыл бұрын
MySQL57Dialect and MySQL8Dialect are depricated so what to use??
@Prince-sq7ro
@Prince-sq7ro Жыл бұрын
use MYSQLDialect instead
@shubhi2648
@shubhi2648 3 жыл бұрын
In UserRepository we have not added any @component, any @Repository etc.. how it's bean is getting created ? Pls help sir.
@shubhamsinghal3326
@shubhamsinghal3326 3 жыл бұрын
we dont need to add @controller and @repository all objects are created by main class which are within the package
@arnabsarkar2224
@arnabsarkar2224 3 жыл бұрын
@@shubhamsinghal3326 giving me an error in the UserRepository line
@skdp3292
@skdp3292 2 жыл бұрын
Hi ..when I am going for user.setCity there is no option Comming for city name what should i do
@O_c.478
@O_c.478 Жыл бұрын
check that you mention the String city as a field in the entity class or generate a getter setter of it !!
@adityajaiswal5603
@adityajaiswal5603 10 ай бұрын
good
@madhumatiswami3446
@madhumatiswami3446 Жыл бұрын
Hi Durgesh sir, I am getting APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active). this error.(added correct properties in application.properties file ) but still I am facing this issue . Please, help me 🙏 to solve this error .
@saurabhmishra6893
@saurabhmishra6893 11 ай бұрын
Hii brother, I fixed the issue
@ishitakundu8129
@ishitakundu8129 3 жыл бұрын
I am getting driver class name not found instead of implementing every steps. How to resolve this sir?
@himanshujain_2817
@himanshujain_2817 2 жыл бұрын
@6.00 i m getting error in user.setCity and user.setStaus. I only get recommendation of user.setName..........plz reply(anyone...)
@anirbanmanna2897
@anirbanmanna2897 2 жыл бұрын
same here
@anirbanmanna2897
@anirbanmanna2897 2 жыл бұрын
delete all other import of 'User' and include the below one import com.example.demo.entity.User;
@himanshujain_2817
@himanshujain_2817 2 жыл бұрын
@@anirbanmanna2897 thanks man👍👍
@skdp3292
@skdp3292 2 жыл бұрын
@@anirbanmanna2897 this i have to do in user class na
@skdp3292
@skdp3292 2 жыл бұрын
@@anirbanmanna2897 thanks bro solved..What you have suggested ..We have to do it in main() method class..without deleting any import packages
@IsitaGhosh-e2j
@IsitaGhosh-e2j 7 ай бұрын
I am getting user_seq table alongside with user table in DB
@poojarath7087
@poojarath7087 4 ай бұрын
yes , this is correct , because we are using Id to be auto generated
@sachinKumar-hu9gj
@sachinKumar-hu9gj 4 жыл бұрын
Sir jldi jldi videos laao sir Spring BOOT p
@prashantrai7047
@prashantrai7047 2 жыл бұрын
Sir auto suggestion is not working in sts (only when writing code in application.properties file).I have tried many solutions but none of them worked for me.please if have some solution regarding this then tell me... thanks 🙏
@shqnz
@shqnz 2 жыл бұрын
Add required plugins
@sunnyd9878
@sunnyd9878 11 ай бұрын
Just awesome
@IsitaGhosh-e2j
@IsitaGhosh-e2j 7 ай бұрын
How to use auto complete in application.properties file?
@laflame1896
@laflame1896 4 ай бұрын
CTRL+Space
@shwetasinha2482
@shwetasinha2482 2 жыл бұрын
Facing the issue "no qualifying bean of type User Repository" available.. Please help.. I have spent hours figuring this out.. P. S I HAVE ALREADY TRIED BY KEEPING THE POJO, DAO AND MAIN CLASS IN SAME PACKAGE.. IT DIDN'T WORK
@akritimishra4971
@akritimishra4971 2 жыл бұрын
hii..i am also facing the same error ? have u got the sol?
@ABHISHEKSHARMABCE-cv1kr
@ABHISHEKSHARMABCE-cv1kr 2 жыл бұрын
@@akritimishra4971 did anyone get the solution to this problem?
@DeepakYadav-hv8ln
@DeepakYadav-hv8ln Жыл бұрын
have you got the solution? i am also facing same problem.
@saurabh7nt
@saurabh7nt Жыл бұрын
@@DeepakYadav-hv8ln anyone got the solution????????
@DeepakYadav-hv8ln
@DeepakYadav-hv8ln Жыл бұрын
Just update the project and restart sts
@ajcoders6748
@ajcoders6748 4 жыл бұрын
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "user" Position: 13 I am using postgresql
@atharvsingh6901
@atharvsingh6901 3 жыл бұрын
bro guarranted solution for postgresql db. just go via this stackoverflow link below try to change user table name with @table , as user is reserved key in postgres stackoverflow.com/questions/40399460/psqlexception-error-syntax-error-at-or-near/40399758
@mohitpatil5673
@mohitpatil5673 3 жыл бұрын
@@atharvsingh6901 nhi hua yar
@atharvsingh6901
@atharvsingh6901 3 жыл бұрын
@@mohitpatil5673 bro User table ka naam change kardo using @Table(name="user_details") bcz User name is a reserved keyword in postgresql. i spent a whole day resolving this issue
@bainapalliakash7039
@bainapalliakash7039 3 жыл бұрын
@@atharvsingh6901 thanks bro
@atharvsingh6901
@atharvsingh6901 3 жыл бұрын
@@bainapalliakash7039 you are welcome bro
@jaysoni6292
@jaysoni6292 3 жыл бұрын
Sir how to find MySQL Dialect class in visual studio code ......
@muskanjain1413
@muskanjain1413 3 жыл бұрын
Do you know now???
@muskanjain1413
@muskanjain1413 3 жыл бұрын
If yes, then please tell
@anirbanmanna2897
@anirbanmanna2897 2 жыл бұрын
Solution of etting error in user.setCity and user.setStaus etc :- ------------------------------------------------------------------------------------------------ delete all other import of 'User' and include the below one import com.example.demo.entity.User; // or your own entity user class
@skdp3292
@skdp3292 2 жыл бұрын
bro help me getting same problem still didn't getting
@akshayparsade9678
@akshayparsade9678 2 жыл бұрын
sir, i am getting this error nd i import it in user but error not gone, help me
@anirbanmanna2897
@anirbanmanna2897 2 жыл бұрын
@@akshayparsade9678 first import your own User class, not any predefined User class
@akshayparsade9678
@akshayparsade9678 2 жыл бұрын
@@anirbanmanna2897 yes i import my own user, nd deleted all this @Entity @Id @GeneratedValue import but error comes again in it.
@sanamsahu9836
@sanamsahu9836 Жыл бұрын
@@akshayparsade9678 have you resolved that problem im getting the same problem
@AbdulRahaman-zl8gv
@AbdulRahaman-zl8gv Жыл бұрын
Thanks bro
@RajaRaj-du6zm
@RajaRaj-du6zm 3 жыл бұрын
Nice explanation
@co_pratikshaahire9841
@co_pratikshaahire9841 6 ай бұрын
User user1=UserRepo.save(userm); Ihave Error this line "Cannot make a static reference to the non-static method save(User) from the type CrudRepository" please help me
@poojarath7087
@poojarath7087 4 ай бұрын
Anywhere u have used static key word ?
@kanishkawadhwani7485
@kanishkawadhwani7485 Жыл бұрын
How to know dialect of my sql ?
@poojarath7087
@poojarath7087 4 ай бұрын
for me org.hibernate.dialect.MySQLDialect is working fine
@sagarpund6042
@sagarpund6042 Жыл бұрын
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured...
@majidasgharofficial
@majidasgharofficial 3 жыл бұрын
Please make video on Spring microservices.
@debasisjena1210
@debasisjena1210 2 жыл бұрын
awesome
@ViditChandraMathur
@ViditChandraMathur 2 жыл бұрын
try to use else User name class
@aquibali6798
@aquibali6798 2 жыл бұрын
Great experience learning
@amanmahour6542
@amanmahour6542 Жыл бұрын
Sir kisi bhi java file mei akar ctrl shift ke baad konsi key press krni h samajh ni ahh rha...
@neerajverma942
@neerajverma942 7 ай бұрын
you can press these with together then you will get MySQL dilect: ctrl+shift+T
@akshayshahasane7290
@akshayshahasane7290 2 ай бұрын
​@@neerajverma942 For intellij??
@mayankaggarwal4045
@mayankaggarwal4045 Жыл бұрын
Hi, I am facing problem while configuring "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository' defined in com.jpa.test.dao.UserRepository defined in @EnableJpaRepositories declared on BootJpaExampleApplication: Not a managed type: class com.jpa.test.entities.User". Please help me to continue further
@aryanV10G
@aryanV10G Жыл бұрын
i am facing same problem . please help
@afrida6672
@afrida6672 2 жыл бұрын
i will subscribe you if you answer my question?. my question my sql data base stored and how to set my sql work bench part is not underrstood.
@271000abhi1
@271000abhi1 Жыл бұрын
I am getting ": CLIENT_PLUGIN_AUTH is required" error while running the program. I have been following your tutorials of Spring core, Spring MVC and now Spring boot. But there i am facing this error. Please try to help me out.
@O_c.478
@O_c.478 Жыл бұрын
For databases above 5.1, running the FLUSH HOSTS command may help monitoring to be re-established.
@lakshaykumar8691
@lakshaykumar8691 4 жыл бұрын
From where and how to download SQL yog??
@supriyaargade8991
@supriyaargade8991 3 жыл бұрын
Hellosir,I have followed all steps, table is created in database but data was not inserted... could you please suggest any solution for this
@muskanjain1413
@muskanjain1413 3 жыл бұрын
Same problm
@allunique9171
@allunique9171 2 жыл бұрын
Same problem
@PriyeshGupta-s3m
@PriyeshGupta-s3m Жыл бұрын
pleased any one know how to solve jni exception pls help me...
@ashfak6801
@ashfak6801 2 жыл бұрын
hello sir plz ans my question how do u directly call this user repository.class inside of getbean method , even if this is interface and u r not @Autowired any where
@O_c.478
@O_c.478 Жыл бұрын
brother beacuse he makes the object of repo interface in class
@aqibishaq885
@aqibishaq885 4 жыл бұрын
sir g rest controller annotations laye aur spring boot ki baki annotations lao
@mukeshkumar-sc7bk
@mukeshkumar-sc7bk 4 жыл бұрын
Thank you sir
@shyamkumarrana5856
@shyamkumarrana5856 4 жыл бұрын
Sir payment gateway ka tutorial dijye java par
@viswanadhuvaddadi1863
@viswanadhuvaddadi1863 2 жыл бұрын
How will we know which SQL dialect version we have to use?
@aniketjha7606
@aniketjha7606 Жыл бұрын
That depends on which version of Sql you are using. As I have mysql 8.0.31 version I will use MySql8Dialect.
@ashishdevnani
@ashishdevnani Жыл бұрын
​@@aniketjha7606 Yes. org.hibernate.dialect.MySQL8Dialect is correct for the above version. i too have MySQL8 and the version you mentioned works for me.
@shriramkulkarni9756
@shriramkulkarni9756 2 жыл бұрын
can anyone plss how can i see my my hybernate dialect version in my sts pls what should i type in class sir talked that fast crtl+shift +what plss tell me
@gourvigupta4991
@gourvigupta4991 Жыл бұрын
Ctrl+shift+T
@abhishekkuwar1119
@abhishekkuwar1119 Жыл бұрын
My question is that You didn't pass the id so how did it show inside the table??
@Deep_Aman
@Deep_Aman Жыл бұрын
it's using auto-generated value for id. given by the annotation.
@abhishekkuwar1119
@abhishekkuwar1119 Жыл бұрын
@@Deep_Aman Thanks for reply to me,,, later that que i read about it on web then realised that there are several strategies to create id in the table. Spring boot really is a powerful framework. Thanks again
@Venus.D
@Venus.D 3 жыл бұрын
I'm getting communication link failed error....please help!
@BharatReacts229
@BharatReacts229 2 жыл бұрын
Error gya ya nhi
@samarpitgupta8000
@samarpitgupta8000 4 ай бұрын
how did you resolve it ?
@dixitnadda3380
@dixitnadda3380 Жыл бұрын
Solution for BeanCreation Exception: When we copy paste dialect , in properties file , remove ~package~ keyword and only use package name . Save And run..
@anuragarora2960
@anuragarora2960 2 жыл бұрын
Ye Id 5 kyun ha 1 se shru nhi hoga ?
@souravmahinia9174
@souravmahinia9174 2 жыл бұрын
good but sir code ka link v post kr dete
@utkarshnamdev441
@utkarshnamdev441 2 жыл бұрын
sir please tell how to create test in mysql workbench and how to connect sts and workbench
@MOHAMMADSAIF-lv2yy
@MOHAMMADSAIF-lv2yy 4 ай бұрын
bhai pta chala kya kaise krte hai ?agar ha to tu hi bta de 2 saal ho gye.. mereko nhi pta
@shubhamtiwari-oz1dz
@shubhamtiwari-oz1dz 4 жыл бұрын
ctrl+ shift and ??????
@rashid7449
@rashid7449 3 жыл бұрын
t
@sachinKumar-hu9gj
@sachinKumar-hu9gj 4 жыл бұрын
Sir jobs k liye bhi kuch daal do job kaise dhundee aur aapne kaise job Search ki thi
@CreativeSamCS
@CreativeSamCS Жыл бұрын
My database is not showing in workbench Reason??
@567qbb
@567qbb Жыл бұрын
same problem..can u help me?
@akshayshahasane7290
@akshayshahasane7290 2 ай бұрын
​@@567qbb Same problem
@brtechvlogs2657
@brtechvlogs2657 Жыл бұрын
How to connect with db?
@anjeel1772
@anjeel1772 Жыл бұрын
4:07 -> ctrl + shift + p is not working in mac any alternative for mac ?
@comedybro716
@comedybro716 Жыл бұрын
ctrl+shift+t
@yashvardhan786
@yashvardhan786 Жыл бұрын
@@comedybro716 no it's wrong
@sheetallarya
@sheetallarya 2 ай бұрын
Command+ shift + T
@aj11anuj
@aj11anuj 19 күн бұрын
@@sheetallarya I'm using vs code and it's not working
@aarifislam9956
@aarifislam9956 Жыл бұрын
when executing the code the table is getting created as expected and data is also getting stored in the table but one other table is getting created named user_seq with a single column next_val can anyone let me know why is it happening
@poojarath7087
@poojarath7087 4 ай бұрын
Yes , this is because we are making Id column as Auto generate , so , Fisrt hibernate is generating Sequence table in DB and than updating User Table
@anurag9110
@anurag9110 3 жыл бұрын
Nice video 👍. How can we store database password in production?
@RupeshSaxena
@RupeshSaxena Жыл бұрын
use password hashing and salting
@GautamKumar-yv7li
@GautamKumar-yv7li 4 жыл бұрын
when i run this program it show error org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution its show sql error also please tell me what to do without this program we can't perfor crud operation
@atharvsingh6901
@atharvsingh6901 3 жыл бұрын
bro guarranted solution for postgresql db. just go via this stackoverflow link below try change user table name via @table stackoverflow.com/questions/40399460/psqlexception-error-syntax-error-at-or-near/40399758
@abhijeetbasfore6816
@abhijeetbasfore6816 3 жыл бұрын
@@atharvsingh6901 thank you so much brother
@noushadkhan360
@noushadkhan360 2 жыл бұрын
Would you please tell us the solution
@gajju652
@gajju652 2 жыл бұрын
why you have written '.class' in the code : context.getBean(UserRepo.class) ??? because UserRepo is interface not a class time : 5:50
@prashantpuse6934
@prashantpuse6934 3 жыл бұрын
Kam se kam 20 munits ka video banaiye sir
@aqibishaq885
@aqibishaq885 4 жыл бұрын
Sir userrepository aik interface ha iska object kasa ban ra aur hama kasa mil ra help help help
@LearnCodeWithDurgesh
@LearnCodeWithDurgesh 4 жыл бұрын
Implementation claass ka object bantna
@akritimishra4971
@akritimishra4971 2 жыл бұрын
@@LearnCodeWithDurgesh sir still i have not understood how getBean is used with interface "UserRepository".Kindly explain it.
@factoffacts4500
@factoffacts4500 Жыл бұрын
@@akritimishra4971 give package name like this com.jpa.test com.jpa.test.dao com.jpa.test.entities
@seetesmallik5830
@seetesmallik5830 Жыл бұрын
🔥
@shubhamjaiswal3743
@shubhamjaiswal3743 4 жыл бұрын
I am facing issue"No qualifying bean of type UserRepo available.
@shubhamjaiswal3743
@shubhamjaiswal3743 4 жыл бұрын
Please help me to sort out this problem
@pragatikamble9584
@pragatikamble9584 3 жыл бұрын
Check where is your main application. That should be in the root package
@Deepaksahu-zv3du
@Deepaksahu-zv3du 4 жыл бұрын
Error creating bean with name 'entitymanagerfactory'
@amitraaz7231
@amitraaz7231 3 жыл бұрын
Solution mila bhai?
@pratibhadhekale2163
@pratibhadhekale2163 3 жыл бұрын
Plz tell me ...I also found same eri
@pratibhadhekale2163
@pratibhadhekale2163 3 жыл бұрын
@@amitraaz7231 plz tell me I have also found same error
@Santoshkumar-bp2up
@Santoshkumar-bp2up 3 жыл бұрын
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepo' defined in com.jpa.test.dao.UserRepo defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.jpa.entities.User getting this error...any solution plz..
@shqnz
@shqnz 2 жыл бұрын
not a managed type meant that either you have not declared your Entity as entity using annotation (@entity) or you have not added type generics to the CRUDRepository interface( it should be extended as public YourRepository extends CRUDRepository ) ---> here entity type is a type of your entity you want to do crud operations on. Ex : Student or User etc if its still not working, then let spring boot scan the entity package by using @componentscan(basePackages="com.entities")
@SachinKumar-hw5gc
@SachinKumar-hw5gc 3 жыл бұрын
Table is created in database but the data not interested
@pankajpandey1862
@pankajpandey1862 3 жыл бұрын
u got it solved ?? what was the error ?? same issue mine !!
@eset7708
@eset7708 23 күн бұрын
10:46
@kvnagendra5354
@kvnagendra5354 3 жыл бұрын
I've followed the same steps but it showing dialect error
@O_c.478
@O_c.478 Жыл бұрын
you can also use h2 database instead of using mySql
@prisinha
@prisinha 3 жыл бұрын
4:00 dialect
@prisinha
@prisinha 3 жыл бұрын
1:18 voice disappeared
@sonalichatterjee4610
@sonalichatterjee4610 Жыл бұрын
Some video are very improper😢😢😢...
@AjayKumar-fm7oh
@AjayKumar-fm7oh Жыл бұрын
BIG RED FLAG It is not recommended for Beginners.
@tuhinjana9853
@tuhinjana9853 Жыл бұрын
The method setCity(String) is undefined for the type Security properties.User I got the error for setCity and setStatus can anybody help me Also can anybody tell in com.jpa.test which packages are imported?
@shubhamrasal388
@shubhamrasal388 Жыл бұрын
check import class name i also got same error but now resolved
@mohitpatil5673
@mohitpatil5673 3 жыл бұрын
please help
@neerajverma942
@neerajverma942 7 ай бұрын
Unable to resolve name [org.hibernate.dialect.MySQL57Dialect] as strategy [org.hibernate.dialect.Dialect] how can i remove this error
@rajpervi
@rajpervi Жыл бұрын
received below error Error creating bean with name 'userRepository' defined in com.jpa.test.dao.UserRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Not a managed type: class com.jpa.test.entities.User
@TusharGupta-sp9jq
@TusharGupta-sp9jq 13 сағат бұрын
Bhai mila solution ?? Please mila toh btaao
@sayakbanerjee9990
@sayakbanerjee9990 4 ай бұрын
if you are getting errors still like file not found or shutdown @EnableJpaRepositories("com.jpa.test.dao") @EntityScan("com.jpa.test.entities") use this in the main file and also in dialect the dialect is- spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect now the version needn't be given anymore
Custom Finder methods | Derived Query methods in Spring data JPA in hindi
22:10
Learn Code With Durgesh
Рет қаралды 153 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 51 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 1,8 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 23 МЛН
Boost Your Spring Boot Application Performance with Redis Cache
25:39
Java Tech Solutions
Рет қаралды 6 М.
What is the use of application.properties file in Spring Boot] | Spring Boot Tutorial
10:53
jpa spring boot practical create project create entity create repository
13:47
Learn Code With Durgesh
Рет қаралды 244 М.
Java Spring Boot 2.9 Years Interview Experience
35:52
GenZ Career
Рет қаралды 16 М.
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 51 МЛН