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 Жыл бұрын
you only focus on writing business logic, is what the intentions of Spring Boot framework developers wanted to solve..
@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 Жыл бұрын
The method save(S) in the type CrudRepository is not applicable for the arguments (User)
@vinaykaple16632 жыл бұрын
Yaar Durgesh bhai, ek no. padhate ho aap!!
@sagarray28311 ай бұрын
Spring Boot + Snowflake DB ka bhi playlist bnaiye sir....
@rahul-java-dev4 жыл бұрын
G Sir..bahut achhe se smjh aa rhi h. Thank u so much. Spring boot me security bata dijiyega Sir ji
@Anshika03262 жыл бұрын
Thanks, sir. Today I am learn 100% about JPA because of You.
@Dhiraj-nd9vy6 ай бұрын
thora english bhi sikh lijie sir
@sameerkadam48303 жыл бұрын
User Entity class me each name and city ko column name and class name ko table name diye bina kaise kaam kiya?
@therandomchannel0211 ай бұрын
"The method save(User) is undefined for the type UserRepository" this error comes at 6:38
@Ashish.YouTube.4 ай бұрын
userRepository (small 'u' . Method ko reference variable ke through access karo bhai.)
@sakshammishra24568 ай бұрын
the method setcity is undefined for the type security.properties Any solution? Please help!
@eshankyadav23543 жыл бұрын
Sad to see, such a knowledgeable video but has only 249 likes
@nishcurse696 ай бұрын
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
@megalifehack1432 ай бұрын
Same problem
@megalifehack1432 ай бұрын
Bhai Jo package user ka hai use hata do uski jagah Import com.jpa.test.entities.User Lagao sahi ho jayega
@utkarshsinghrajput4522Ай бұрын
@@megalifehack143nhi ho rha bhai
@Vinu-Arts Жыл бұрын
thank you so much sir..........
@kanchandeshmukh713114 күн бұрын
What is ctrl shift for dialect
@FAITH__20254 ай бұрын
Getting error .... Exception in thread main no qualifying bean ..... Please help to resolve.
@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".
@bobyburman67632 жыл бұрын
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
@rohanmohite87412 жыл бұрын
yes it's working Thanks.
@rohanmohite87412 жыл бұрын
i got this Exception.
@vinaykumard13862 жыл бұрын
Tanx a lot man ..i resolved my issue ...tq a lot
@vasusrivastav2 жыл бұрын
Thanks bro
@siddharthsahu87632 жыл бұрын
for loose coupling how to do?
@ece03abhisheksrivastava6410 ай бұрын
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 )
@prasad21368 ай бұрын
thanks man
@mogamboo_vlog5 ай бұрын
Your solution is very helpful ❤
@raghubansal4143Ай бұрын
Where is solution?
@PRISOM1988 Жыл бұрын
Good Video
@Kritida3 жыл бұрын
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 Жыл бұрын
Use {jakarta.persistence}. "the javax namespace changed to jakarta for frameworks whose APIs have moved to Jakarta EE"
@tabishquadri2 жыл бұрын
"user" is a reserved keyword in postgresql. Change your table name to something else
@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 Жыл бұрын
hey did you find any solution to this?
@raushankr1156 Жыл бұрын
@LearnCodeWithDurgesh sir, It's a common error being thrown and being faced. No solution was found after trying a lot.
@ganeshkokate55559 ай бұрын
@@piyushmathpal4244 did you get solutions i also tried with @Repository on my interface
@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 Жыл бұрын
How to resolve this?
@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 didn't work, tried all the stackoverflow suggestion
@codingstudy78611 ай бұрын
Sir I have mysqlDialect problem. I have tried many time but I can't resolve this problem.
@poojarath70874 ай бұрын
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
@sagarsoni198328 күн бұрын
@@poojarath7087 ty
@mdimtiyaz2013 Жыл бұрын
Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. getting this error
@sagarpund6042 Жыл бұрын
Same Error ...
@aaqibperwez67613 жыл бұрын
Sir please tell us how to create test database in MySQL
@akankshajain59782 жыл бұрын
Write a query Create database test And execute it
@ashishdevnani Жыл бұрын
ensure that you are in correct user of mysql and fire the command create database test
@akankshajain59782 жыл бұрын
My table is not created in mysql
@UPlusPlus2 жыл бұрын
How to use jpa in mvc web app?
@tanmaysenapati1328 Жыл бұрын
MySQL57Dialect and MySQL8Dialect are depricated so what to use??
@Prince-sq7ro Жыл бұрын
use MYSQLDialect instead
@shubhi26483 жыл бұрын
In UserRepository we have not added any @component, any @Repository etc.. how it's bean is getting created ? Pls help sir.
@shubhamsinghal33263 жыл бұрын
we dont need to add @controller and @repository all objects are created by main class which are within the package
@arnabsarkar22243 жыл бұрын
@@shubhamsinghal3326 giving me an error in the UserRepository line
@skdp32922 жыл бұрын
Hi ..when I am going for user.setCity there is no option Comming for city name what should i do
@O_c.478 Жыл бұрын
check that you mention the String city as a field in the entity class or generate a getter setter of it !!
@adityajaiswal560310 ай бұрын
good
@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 .
@saurabhmishra689311 ай бұрын
Hii brother, I fixed the issue
@ishitakundu81293 жыл бұрын
I am getting driver class name not found instead of implementing every steps. How to resolve this sir?
@himanshujain_28172 жыл бұрын
@6.00 i m getting error in user.setCity and user.setStaus. I only get recommendation of user.setName..........plz reply(anyone...)
@anirbanmanna28972 жыл бұрын
same here
@anirbanmanna28972 жыл бұрын
delete all other import of 'User' and include the below one import com.example.demo.entity.User;
@himanshujain_28172 жыл бұрын
@@anirbanmanna2897 thanks man👍👍
@skdp32922 жыл бұрын
@@anirbanmanna2897 this i have to do in user class na
@skdp32922 жыл бұрын
@@anirbanmanna2897 thanks bro solved..What you have suggested ..We have to do it in main() method class..without deleting any import packages
@IsitaGhosh-e2j7 ай бұрын
I am getting user_seq table alongside with user table in DB
@poojarath70874 ай бұрын
yes , this is correct , because we are using Id to be auto generated
@sachinKumar-hu9gj4 жыл бұрын
Sir jldi jldi videos laao sir Spring BOOT p
@prashantrai70472 жыл бұрын
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 🙏
@shqnz2 жыл бұрын
Add required plugins
@sunnyd987811 ай бұрын
Just awesome
@IsitaGhosh-e2j7 ай бұрын
How to use auto complete in application.properties file?
@laflame18964 ай бұрын
CTRL+Space
@shwetasinha24822 жыл бұрын
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
@akritimishra49712 жыл бұрын
hii..i am also facing the same error ? have u got the sol?
@ABHISHEKSHARMABCE-cv1kr2 жыл бұрын
@@akritimishra4971 did anyone get the solution to this problem?
@DeepakYadav-hv8ln Жыл бұрын
have you got the solution? i am also facing same problem.
@saurabh7nt Жыл бұрын
@@DeepakYadav-hv8ln anyone got the solution????????
@DeepakYadav-hv8ln Жыл бұрын
Just update the project and restart sts
@ajcoders67484 жыл бұрын
Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "user" Position: 13 I am using postgresql
@atharvsingh69013 жыл бұрын
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
@mohitpatil56733 жыл бұрын
@@atharvsingh6901 nhi hua yar
@atharvsingh69013 жыл бұрын
@@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
@bainapalliakash70393 жыл бұрын
@@atharvsingh6901 thanks bro
@atharvsingh69013 жыл бұрын
@@bainapalliakash7039 you are welcome bro
@jaysoni62923 жыл бұрын
Sir how to find MySQL Dialect class in visual studio code ......
@muskanjain14133 жыл бұрын
Do you know now???
@muskanjain14133 жыл бұрын
If yes, then please tell
@anirbanmanna28972 жыл бұрын
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
@skdp32922 жыл бұрын
bro help me getting same problem still didn't getting
@akshayparsade96782 жыл бұрын
sir, i am getting this error nd i import it in user but error not gone, help me
@anirbanmanna28972 жыл бұрын
@@akshayparsade9678 first import your own User class, not any predefined User class
@akshayparsade96782 жыл бұрын
@@anirbanmanna2897 yes i import my own user, nd deleted all this @Entity @Id @GeneratedValue import but error comes again in it.
@sanamsahu9836 Жыл бұрын
@@akshayparsade9678 have you resolved that problem im getting the same problem
@AbdulRahaman-zl8gv Жыл бұрын
Thanks bro
@RajaRaj-du6zm3 жыл бұрын
Nice explanation
@co_pratikshaahire98416 ай бұрын
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
@poojarath70874 ай бұрын
Anywhere u have used static key word ?
@kanishkawadhwani7485 Жыл бұрын
How to know dialect of my sql ?
@poojarath70874 ай бұрын
for me org.hibernate.dialect.MySQLDialect is working fine
@sagarpund6042 Жыл бұрын
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured...
@majidasgharofficial3 жыл бұрын
Please make video on Spring microservices.
@debasisjena12102 жыл бұрын
awesome
@ViditChandraMathur2 жыл бұрын
try to use else User name class
@aquibali67982 жыл бұрын
Great experience learning
@amanmahour6542 Жыл бұрын
Sir kisi bhi java file mei akar ctrl shift ke baad konsi key press krni h samajh ni ahh rha...
@neerajverma9427 ай бұрын
you can press these with together then you will get MySQL dilect: ctrl+shift+T
@akshayshahasane72902 ай бұрын
@@neerajverma942 For intellij??
@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 Жыл бұрын
i am facing same problem . please help
@afrida66722 жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
For databases above 5.1, running the FLUSH HOSTS command may help monitoring to be re-established.
@lakshaykumar86914 жыл бұрын
From where and how to download SQL yog??
@supriyaargade89913 жыл бұрын
Hellosir,I have followed all steps, table is created in database but data was not inserted... could you please suggest any solution for this
@muskanjain14133 жыл бұрын
Same problm
@allunique91712 жыл бұрын
Same problem
@PriyeshGupta-s3m Жыл бұрын
pleased any one know how to solve jni exception pls help me...
@ashfak68012 жыл бұрын
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 Жыл бұрын
brother beacuse he makes the object of repo interface in class
@aqibishaq8854 жыл бұрын
sir g rest controller annotations laye aur spring boot ki baki annotations lao
@mukeshkumar-sc7bk4 жыл бұрын
Thank you sir
@shyamkumarrana58564 жыл бұрын
Sir payment gateway ka tutorial dijye java par
@viswanadhuvaddadi18632 жыл бұрын
How will we know which SQL dialect version we have to use?
@aniketjha7606 Жыл бұрын
That depends on which version of Sql you are using. As I have mysql 8.0.31 version I will use MySql8Dialect.
@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.
@shriramkulkarni97562 жыл бұрын
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 Жыл бұрын
Ctrl+shift+T
@abhishekkuwar1119 Жыл бұрын
My question is that You didn't pass the id so how did it show inside the table??
@Deep_Aman Жыл бұрын
it's using auto-generated value for id. given by the annotation.
@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.D3 жыл бұрын
I'm getting communication link failed error....please help!
@BharatReacts2292 жыл бұрын
Error gya ya nhi
@samarpitgupta80004 ай бұрын
how did you resolve it ?
@dixitnadda3380 Жыл бұрын
Solution for BeanCreation Exception: When we copy paste dialect , in properties file , remove ~package~ keyword and only use package name . Save And run..
@anuragarora29602 жыл бұрын
Ye Id 5 kyun ha 1 se shru nhi hoga ?
@souravmahinia91742 жыл бұрын
good but sir code ka link v post kr dete
@utkarshnamdev4412 жыл бұрын
sir please tell how to create test in mysql workbench and how to connect sts and workbench
@MOHAMMADSAIF-lv2yy4 ай бұрын
bhai pta chala kya kaise krte hai ?agar ha to tu hi bta de 2 saal ho gye.. mereko nhi pta
@shubhamtiwari-oz1dz4 жыл бұрын
ctrl+ shift and ??????
@rashid74493 жыл бұрын
t
@sachinKumar-hu9gj4 жыл бұрын
Sir jobs k liye bhi kuch daal do job kaise dhundee aur aapne kaise job Search ki thi
@CreativeSamCS Жыл бұрын
My database is not showing in workbench Reason??
@567qbb Жыл бұрын
same problem..can u help me?
@akshayshahasane72902 ай бұрын
@@567qbb Same problem
@brtechvlogs2657 Жыл бұрын
How to connect with db?
@anjeel1772 Жыл бұрын
4:07 -> ctrl + shift + p is not working in mac any alternative for mac ?
@comedybro716 Жыл бұрын
ctrl+shift+t
@yashvardhan786 Жыл бұрын
@@comedybro716 no it's wrong
@sheetallarya2 ай бұрын
Command+ shift + T
@aj11anuj19 күн бұрын
@@sheetallarya I'm using vs code and it's not working
@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
@poojarath70874 ай бұрын
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
@anurag91103 жыл бұрын
Nice video 👍. How can we store database password in production?
@RupeshSaxena Жыл бұрын
use password hashing and salting
@GautamKumar-yv7li4 жыл бұрын
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
@atharvsingh69013 жыл бұрын
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
@abhijeetbasfore68163 жыл бұрын
@@atharvsingh6901 thank you so much brother
@noushadkhan3602 жыл бұрын
Would you please tell us the solution
@gajju6522 жыл бұрын
why you have written '.class' in the code : context.getBean(UserRepo.class) ??? because UserRepo is interface not a class time : 5:50
@prashantpuse69343 жыл бұрын
Kam se kam 20 munits ka video banaiye sir
@aqibishaq8854 жыл бұрын
Sir userrepository aik interface ha iska object kasa ban ra aur hama kasa mil ra help help help
@LearnCodeWithDurgesh4 жыл бұрын
Implementation claass ka object bantna
@akritimishra49712 жыл бұрын
@@LearnCodeWithDurgesh sir still i have not understood how getBean is used with interface "UserRepository".Kindly explain it.
@factoffacts4500 Жыл бұрын
@@akritimishra4971 give package name like this com.jpa.test com.jpa.test.dao com.jpa.test.entities
@seetesmallik5830 Жыл бұрын
🔥
@shubhamjaiswal37434 жыл бұрын
I am facing issue"No qualifying bean of type UserRepo available.
@shubhamjaiswal37434 жыл бұрын
Please help me to sort out this problem
@pragatikamble95843 жыл бұрын
Check where is your main application. That should be in the root package
@Deepaksahu-zv3du4 жыл бұрын
Error creating bean with name 'entitymanagerfactory'
@amitraaz72313 жыл бұрын
Solution mila bhai?
@pratibhadhekale21633 жыл бұрын
Plz tell me ...I also found same eri
@pratibhadhekale21633 жыл бұрын
@@amitraaz7231 plz tell me I have also found same error
@Santoshkumar-bp2up3 жыл бұрын
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..
@shqnz2 жыл бұрын
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-hw5gc3 жыл бұрын
Table is created in database but the data not interested
@pankajpandey18623 жыл бұрын
u got it solved ?? what was the error ?? same issue mine !!
@eset770823 күн бұрын
10:46
@kvnagendra53543 жыл бұрын
I've followed the same steps but it showing dialect error
@O_c.478 Жыл бұрын
you can also use h2 database instead of using mySql
@prisinha3 жыл бұрын
4:00 dialect
@prisinha3 жыл бұрын
1:18 voice disappeared
@sonalichatterjee4610 Жыл бұрын
Some video are very improper😢😢😢...
@AjayKumar-fm7oh Жыл бұрын
BIG RED FLAG It is not recommended for Beginners.
@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 Жыл бұрын
check import class name i also got same error but now resolved
@mohitpatil56733 жыл бұрын
please help
@neerajverma9427 ай бұрын
Unable to resolve name [org.hibernate.dialect.MySQL57Dialect] as strategy [org.hibernate.dialect.Dialect] how can i remove this error
@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-sp9jq13 сағат бұрын
Bhai mila solution ?? Please mila toh btaao
@sayakbanerjee99904 ай бұрын
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