Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 16 авг 2020
  • Db configuration in application.properies file | JPA with Spring Boot | Spring boot tutorial
    #springboot #spring boot tutorial
    Download Source Code: learncodewithd...
    Spring-boot full playlist: • Spring Boot Tutorial i...
    Spring MVC playlist: • Spring MVC Tutorial St...
    Spring framework playlist: • Spring Framework Tutor...
    MySQL in one video: • Learn MySQL in one vid...
    Telegram Link for Doubt: t.me/learncode...
    Important Videos:
    ➡️React JS with Project: • 🔥 🔥 Complete React Js ...
    ➡️Learn JDBC in one video: • JDBC Crash Course in 1...
    ➡️Learn Python in One Video: • Learn Python in One Vi...
    ➡️Learn HTML in one video: • Jquery in one video in...
    ➡️Learn HTML form in one video: • Jquery in one video in...
    ➡️Learn JavaScript in one videos: • Learn JavaScript in O...
    ➡️Learn Form Validation using javascript and jquery: • Form Validation using ...
    ➡️Learn CSS in one video: • Jquery in one video in...
    ➡️Jquery in one video: • Jquery in one video in...
    ➡️Kotlin is one video: • Kotlin | Learn Kotlin ...
    ➡️Complete Python Project - RUclips downloader in one video: • Jquery in one video in...
    Important Playlist:
    ➡️Spring Boot Tutorial with Project : • Spring Boot Tutorial i...
    ➡️Spring MVC Tutorial: • Spring MVC Tutorial St...
    ➡️Complete Spring Framework Tutorial: • Spring Framework Tutor...
    ➡️Hibernate Tutorials: • Hibernate Tutorial for...
    ➡️E-Commerce Project using Java: • E-Commerce Project usi...
    ➡️AWS Free Java Hosting Playlist: • AWS Hosting Tutorial |...
    ➡️Hibernate Tutorial Playlist: • Hibernate Tutorial for...
    ➡️Learn Technology in One Vides: • Learn in one video : C...
    ➡️Programming Tips for Programmers: • Coding Tips and Discus...
    ➡️Complete Python for Beginners: • Complete Python Tutori...
    ➡️Important Python Projects: • Python Projects in Hindi
    ➡️Complete Servlet & JSP : • Servlet and Jsp (Serve...
    ➡️Complete JDBC ( Java Database Connectivity) : • JDBC(Java Database Con...
    ➡️Complete Java Project : TechBlog: • Full Java Advance Pro...
    ➡️Java Swing Projects: • Java Projects for begi...
    ➡️Java Core Concepts: • Java Core Tutorial
    ➡️Kya aap Jante hai Series: • kya app jante hai : s...
    Important Links:
    👉Official Website (Source Code): learncodewithd...
    👉Telegram Discussion Group: t.me/learncode...
    👉Follow me on Instagram: / durgesh_k_t
    👉Follow on Facebook / learncodewithdurgesh
    Gear that I use:
    Gears that I Use:
    Lenovo Ideapad S145 AMD Ryzen 5 15.6
    amzn.to/33Vvxu2
    Mic for Recording
    amzn.to/305hgtr
    amzn.to/2EyFMfa
    Disclaimer:
    All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Комментарии • 224

  • @KejriwalBhakt
    @KejriwalBhakt Год назад +23

    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.

  • @aishwaryadwani9365
    @aishwaryadwani9365 3 года назад +20

    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..

  • @bobyburman6763
    @bobyburman6763 2 года назад +9

    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

  • @aniketvitekar1221
    @aniketvitekar1221 10 месяцев назад +2

    The method save(S) in the type CrudRepository is not applicable for the arguments (User)

  • @codingstudy786
    @codingstudy786 8 месяцев назад +2

    Sir I have mysqlDialect problem.
    I have tried many time but I can't resolve this problem.

    • @poojarath7087
      @poojarath7087 Месяц назад

      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

  • @ece03abhisheksrivastava64
    @ece03abhisheksrivastava64 7 месяцев назад +2

    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 5 месяцев назад +1

      thanks man

    • @mogamboo_vlog
      @mogamboo_vlog 2 месяца назад +1

      Your solution is very helpful ❤

  • @therandomchannel02
    @therandomchannel02 9 месяцев назад +2

    "The method save(User) is undefined for the type UserRepository" this error comes at 6:38

    • @Ashish.YouTube.
      @Ashish.YouTube. 2 месяца назад +1

      userRepository (small 'u' . Method ko reference variable ke through access karo bhai.)

  • @shwetasinha2482
    @shwetasinha2482 2 года назад +5

    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 года назад +1

      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

  • @vinaykaple1663
    @vinaykaple1663 2 года назад

    Yaar Durgesh bhai, ek no. padhate ho aap!!

  • @mdimtiyaz2013
    @mdimtiyaz2013 Год назад +2

    Description:
    Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
    getting this error

  • @sameerkadam4830
    @sameerkadam4830 3 года назад +4

    User Entity class me each name and city ko column name and class name ko table name diye bina kaise kaam kiya?

  • @himanshujain_2817
    @himanshujain_2817 2 года назад +3

    @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 года назад +1

      same here

    • @anirbanmanna2897
      @anirbanmanna2897 2 года назад +1

      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 года назад +1

      @@anirbanmanna2897 thanks bro solved..What you have suggested ..We have to do it in main() method class..without deleting any import packages

  • @JayeshMali-er1yo
    @JayeshMali-er1yo Год назад +1

    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".

  • @KhushbooDailyVlogs0506
    @KhushbooDailyVlogs0506 Год назад +2

    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 Год назад +1

      @LearnCodeWithDurgesh sir, It's a common error being thrown and being faced. No solution was found after trying a lot.

    • @ganeshkokate5555
      @ganeshkokate5555 6 месяцев назад

      @@piyushmathpal4244 did you get solutions i also tried with @Repository on my interface

  • @PunjabiBoyz
    @PunjabiBoyz Год назад +2

    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

  • @GovindKumar-ui1vx
    @GovindKumar-ui1vx 2 года назад

    Thanks, sir. Today I am learn 100% about JPA because of You.

    • @Dhiraj-nd9vy
      @Dhiraj-nd9vy 3 месяца назад

      thora english bhi sikh lijie 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

  • @FAITH__2025
    @FAITH__2025 Месяц назад

    Getting error .... Exception in thread main no qualifying bean .....
    Please help to resolve.

  • @eshankyadav2354
    @eshankyadav2354 3 года назад

    Sad to see, such a knowledgeable video but has only 249 likes

  • @anirbanmanna2897
    @anirbanmanna2897 2 года назад +3

    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 Год назад

      sir, i am getting this error nd i import it in user but error not gone, help me

    • @anirbanmanna2897
      @anirbanmanna2897 Год назад

      @@akshayparsade9678 first import your own User class, not any predefined User class

    • @akshayparsade9678
      @akshayparsade9678 Год назад

      @@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

  • @madhumatiswami3446
    @madhumatiswami3446 Год назад +2

    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 .

  • @tabishquadri
    @tabishquadri Год назад +1

    "user" is a reserved keyword in postgresql. Change your table name to something else

  • @Kritida
    @Kritida 2 года назад +2

    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"

  • @shubhamtiwari-oz1dz
    @shubhamtiwari-oz1dz 3 года назад +9

    ctrl+ shift and ??????

  • @shubhi2648
    @shubhi2648 3 года назад +2

    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 2 года назад

      @@shubhamsinghal3326 giving me an error in the UserRepository line

  • @sagarpund6042
    @sagarpund6042 Год назад

    Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured...

  • @skdp3292
    @skdp3292 2 года назад +1

    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 !!

  • @sakshammishra2456
    @sakshammishra2456 5 месяцев назад

    the method setcity is undefined for the type security.properties
    Any solution?
    Please help!

  • @ishitakundu8129
    @ishitakundu8129 3 года назад +1

    I am getting driver class name not found instead of implementing every steps. How to resolve this sir?

  • @Vinu-Arts
    @Vinu-Arts 10 месяцев назад

    thank you so much sir..........

  • @prashantrai7047
    @prashantrai7047 2 года назад +1

    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 Год назад

      Add required plugins

  • @PRISOM1988
    @PRISOM1988 10 месяцев назад

    Good Video

  • @shankarraj3606
    @shankarraj3606 Год назад +1

    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

  • @aquibali6798
    @aquibali6798 2 года назад

    Great experience learning

  • @Venus.D
    @Venus.D 3 года назад +2

    I'm getting communication link failed error....please help!

  • @co_pratikshaahire9841
    @co_pratikshaahire9841 3 месяца назад

    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 Месяц назад

      Anywhere u have used static key word ?

  • @gajju652
    @gajju652 2 года назад +2

    why you have written '.class' in the code : context.getBean(UserRepo.class) ???
    because UserRepo is interface not a class time : 5:50

  • @akankshajain5978
    @akankshajain5978 Год назад +1

    My table is not created in mysql

  • @adityajaiswal5603
    @adityajaiswal5603 8 месяцев назад

    good

  • @mayankaggarwal4045
    @mayankaggarwal4045 Год назад +1

    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 11 месяцев назад +1

      i am facing same problem . please help

  • @niscurse
    @niscurse 3 месяца назад

    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

  • @jaysoni6292
    @jaysoni6292 3 года назад +2

    Sir how to find MySQL Dialect class in visual studio code ......

  • @aaqibperwez6761
    @aaqibperwez6761 3 года назад +3

    Sir please tell us how to create test database in MySQL

    • @akankshajain5978
      @akankshajain5978 Год назад

      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

  • @shriramkulkarni9756
    @shriramkulkarni9756 Год назад +1

    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

  • @RajaRaj-du6zm
    @RajaRaj-du6zm 3 года назад

    Nice explanation

  • @tanmaysenapati1328
    @tanmaysenapati1328 Год назад

    MySQL57Dialect and MySQL8Dialect are depricated so what to use??

  • @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.

  • @sagarray283
    @sagarray283 8 месяцев назад

    Spring Boot + Snowflake DB ka bhi playlist bnaiye sir....

  • @sunnyd9878
    @sunnyd9878 8 месяцев назад

    Just awesome

  • @sachinKumar-hu9gj
    @sachinKumar-hu9gj 4 года назад +1

    Sir jldi jldi videos laao sir Spring BOOT p

  • @afrida6672
    @afrida6672 2 года назад +1

    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.

  • @mukeshkumar-sc7bk
    @mukeshkumar-sc7bk 4 года назад

    Thank you sir

  • @debasisjena1210
    @debasisjena1210 Год назад

    awesome

  • @ajcoders6748
    @ajcoders6748 4 года назад +1

    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 года назад +1

      @@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 2 года назад

      @@atharvsingh6901 thanks bro

    • @atharvsingh6901
      @atharvsingh6901 2 года назад

      @@bainapalliakash7039 you are welcome bro

  • @ashfak6801
    @ashfak6801 Год назад

    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

  • @AbdulRahaman-zl8gv
    @AbdulRahaman-zl8gv Год назад

    Thanks bro

  • @UPlusPlus
    @UPlusPlus 2 года назад +1

    How to use jpa in mvc web app?

  • @GautamKumar-yv7li
    @GautamKumar-yv7li 3 года назад

    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 года назад +2

      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

  • @kanishkawadhwani7485
    @kanishkawadhwani7485 11 месяцев назад +1

    How to know dialect of my sql ?

    • @poojarath7087
      @poojarath7087 Месяц назад

      for me org.hibernate.dialect.MySQLDialect is working fine

  • @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..

  • @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

  • @shubhamjaiswal3743
    @shubhamjaiswal3743 3 года назад +2

    I am facing issue"No qualifying bean of type UserRepo available.

    • @shubhamjaiswal3743
      @shubhamjaiswal3743 3 года назад

      Please help me to sort out this problem

    • @pragatikamble9584
      @pragatikamble9584 3 года назад

      Check where is your main application. That should be in the root package

  • @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 Месяц назад

      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

  • @majidasgharofficial
    @majidasgharofficial 2 года назад

    Please make video on Spring microservices.

  • @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 Год назад +1

      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")

  • @sayakbanerjee9990
    @sayakbanerjee9990 Месяц назад

    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

  • @aqibishaq885
    @aqibishaq885 4 года назад

    sir g rest controller annotations laye aur spring boot ki baki annotations lao

  • @user-go9mo9ey6c
    @user-go9mo9ey6c Год назад

    pleased any one know how to solve jni exception pls help me...

  • @user-dj8un5bw5g
    @user-dj8un5bw5g 4 месяца назад

    I am getting user_seq table alongside with user table in DB

    • @poojarath7087
      @poojarath7087 Месяц назад

      yes , this is correct , because we are using Id to be auto generated

  • @amanmahour6542
    @amanmahour6542 Год назад

    Sir kisi bhi java file mei akar ctrl shift ke baad konsi key press krni h samajh ni ahh rha...

    • @neerajverma942
      @neerajverma942 4 месяца назад

      you can press these with together then you will get MySQL dilect: ctrl+shift+T

  • @seetesmallik5830
    @seetesmallik5830 Год назад

    🔥

  • @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

  • @anjeel1772
    @anjeel1772 Год назад

    4:07 -> ctrl + shift + p is not working in mac any alternative for mac ?

  • @lakshaykumar8691
    @lakshaykumar8691 4 года назад

    From where and how to download SQL yog??

  • @utkarshnamdev441
    @utkarshnamdev441 2 года назад

    sir please tell how to create test in mysql workbench and how to connect sts and workbench

    • @MOHAMMADSAIF-lv2yy
      @MOHAMMADSAIF-lv2yy Месяц назад

      bhai pta chala kya kaise krte hai ?agar ha to tu hi bta de 2 saal ho gye.. mereko nhi pta

  • @ViditChandraMathur
    @ViditChandraMathur 2 года назад

    try to use else User name class

  • @viswanadhuvaddadi1863
    @viswanadhuvaddadi1863 Год назад

    How will we know which SQL dialect version we have to use?

    • @aniketjha7606
      @aniketjha7606 Год назад +1

      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.

  • @abhishekkuwar1119
    @abhishekkuwar1119 Год назад

    My question is that You didn't pass the id so how did it show inside the table??

    • @Deep_Aman
      @Deep_Aman Год назад +1

      it's using auto-generated value for id. given by the annotation.

    • @abhishekkuwar1119
      @abhishekkuwar1119 Год назад +1

      @@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

  • @user-dj8un5bw5g
    @user-dj8un5bw5g 4 месяца назад

    How to use auto complete in application.properties file?

  • @sachinKumar-hu9gj
    @sachinKumar-hu9gj 4 года назад +1

    Sir jobs k liye bhi kuch daal do job kaise dhundee aur aapne kaise job Search ki thi

  • @prisinha
    @prisinha 3 года назад

    4:00 dialect

  • @shyamkumarrana5856
    @shyamkumarrana5856 4 года назад

    Sir payment gateway ka tutorial dijye java par

  • @Deepaksahu-zv3du
    @Deepaksahu-zv3du 4 года назад +1

    Error creating bean with name 'entitymanagerfactory'

  • @CreativeSamCS
    @CreativeSamCS Год назад

    My database is not showing in workbench Reason??

    • @567qbb
      @567qbb 10 месяцев назад

      same problem..can u help me?

  • @brtechvlogs2657
    @brtechvlogs2657 Год назад

    How to connect with db?

  • @prashantpuse6934
    @prashantpuse6934 3 года назад

    Kam se kam 20 munits ka video banaiye sir

  • @anuragarora2960
    @anuragarora2960 2 года назад

    Ye Id 5 kyun ha 1 se shru nhi hoga ?

  • @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

  • @aqibishaq885
    @aqibishaq885 3 года назад

    Sir userrepository aik interface ha iska object kasa ban ra aur hama kasa mil ra help help help

    • @LearnCodeWithDurgesh
      @LearnCodeWithDurgesh  3 года назад +1

      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

  • @souravmahinia9174
    @souravmahinia9174 2 года назад

    good but sir code ka link v post kr dete

  • @anurag9110
    @anurag9110 3 года назад

    Nice video 👍. How can we store database password in production?

    • @RupeshSaxena
      @RupeshSaxena Год назад

      use password hashing and salting

  • @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 !!

  • @tuhinjana9853
    @tuhinjana9853 11 месяцев назад

    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 11 месяцев назад

      check import class name i also got same error but now resolved

  • @prisinha
    @prisinha 3 года назад

    1:18 voice disappeared

  • @sonalichatterjee4610
    @sonalichatterjee4610 10 месяцев назад

    Some video are very improper😢😢😢...

  • @AjayKumar-fm7oh
    @AjayKumar-fm7oh 9 месяцев назад

    BIG RED FLAG
    It is not recommended for Beginners.

  • @mohitpatil5673
    @mohitpatil5673 3 года назад

    please help

  • @neerajverma942
    @neerajverma942 4 месяца назад

    Unable to resolve name [org.hibernate.dialect.MySQL57Dialect] as strategy [org.hibernate.dialect.Dialect]
    how can i remove this error

  • @AnilDas-uz1nu
    @AnilDas-uz1nu Год назад +1

    Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.springproject.dao.UserRepositery' available....plz sir give me solution how to slove this exception

    • @piyushmathpal4244
      @piyushmathpal4244 Год назад

      hey, did you find any solution to this?

    • @fire_aag
      @fire_aag Год назад

      ​@@piyushmathpal4244 Plz check ur package name. The package name should be in a hierarchical manner.
      like
      com.jpa.test
      com.jpa.test.dao
      com.jpa.test.entities

    • @mahammadrafeeqsasanoor9370
      @mahammadrafeeqsasanoor9370 Месяц назад

      ​@@fire_aagits in the hierarchical manner but also getting error

  • @yashvardhan786
    @yashvardhan786 10 месяцев назад

    ctrl+shift+what?