To all those h2 db la table create agathavanga Change the User class name into something else apdi athuvum work agalana put all the main java files in same folder/package
For those whom table is not created in h2 db . Create a POJO with different class name. Exception throws when a POJO class is created with name "user".
For those who find h2 db table not created, please make sure it is inside the correct package for example, com.example.demo.model and inside the package create a class with a name other than User. Hope this helps.
Sir, I tried to do address book application. In that, if we have get phone number by providing name, what method should I have to use? I had given findByName(name) instead of findById, Its showing error. Also orELse method showing error. Kindly suggest and clear..
sir, I have an error while creating a h2 database. I create a code as same as your code but I still got this same error. This is that error "Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. [2m2023-11-27T15:39:49.738+05:30[0;39m [31mERROR[0;39m [35m23136[0;39m [2m---[0;39m [2m[ main][0;39m [2m[0;39m[36mo.s.boot.SpringApplication [0;39m [2m:[0;39m Application run failed". I can't understand why I got this error. so please explain me about this error
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
@@sujithac6339 yes i am trying to create a table in h2 database but not created the server was perfectly run if any idea to create a table in h2 database @Mohanraj N @V Balaji
Sir check once where you have created the corresponding package is under the src/main/java or else under src/test/java, we have to create the corresponding packages under src/main/java
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.@@vijayalakshmikrishnamoorth2705
@@albatross2576 For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
Sir user table is not creating in H2 database even i have tried all the remedies available in Google still I can't figure out what's the problem please help me out
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
H2 database ku puriyudhu.. ana MySQL use panumbothu UserDAO userdao nu oru reference create panradhu work agala.. null values tha add agudhu.. KINDLY EXPLAIN THE SPRING MVC WEBAPP WITH MYSQL
JPA is used to access, manage, and persist data between Java object and relational database. Here in POJO, we try to represent the table fields available in the Database. So we can do CRUD operations.
To all those h2 db la table create agathavanga Change the User class name into something else apdi athuvum work agalana put all the main java files in same folder/package
Really very easy to understand.thank you so much 🙏
Am waiting for next topic sir 🙏 thanks in advance
Thank very much sir , from jaffna
Sir, your video tutorial is awesome👏.. Its very useful for me.. Keep up the good work❤️❤️❤️
For those whom table is not created in h2 db .
Create a POJO with different class name.
Exception throws when a POJO class is created with name "user".
apdiyum aagala
its working, thank you
For those who find h2 db table not created, please make sure it is inside the correct package for example, com.example.demo.model and inside the package create a class with a name other than User. Hope this helps.
Tq
Thanks
still not working
just add
@Entity
@Table(name="users")
@@_sanjiv_sk301 now created .why this needed explain? And how he get table without this
Any one help me 21:33 I am give annotations I'd and entity and import also but H2 console la not that class created
21:50 db create agalana...pojo classla @Entity(name ="\"user\""). Create aitum. 👍
Sir I have changed the POJO class name but still the table is not created in H2 database. Can anyone help me on this please.?
Sir thanks for ur quick response ❤️
After adding the jasper dependency also i just get return.jsp what can i do sir?
Sir how to connect spring to mysql?
Thank you sir for ur video
Jasfer file mvn repository kamikaa mattikuthu bro
Spring boot application role based users eppadi usages Tamil la video ella neeinga poduinga sir
Sir,
I tried to do address book application. In that, if we have get phone number by providing name, what method should I have to use?
I had given findByName(name) instead of findById, Its showing error. Also orELse method showing error. Kindly suggest and clear..
Android mvvm Kotlin tutorial upload pannunga
Database is connecting,everything is fine.but how to solve the issues like file not found after request mapping
sir, I have an error while creating a h2 database. I create a code as same as your code but I still got this same error. This is that error "Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
[2m2023-11-27T15:39:49.738+05:30[0;39m [31mERROR[0;39m [35m23136[0;39m [2m---[0;39m [2m[ main][0;39m [2m[0;39m[36mo.s.boot.SpringApplication [0;39m [2m:[0;39m Application run failed". I can't understand why I got this error. so please explain me about this error
Sir, Application properties file open aaga mattikuthu . Failed to create the part's controls nu varuthu sir.
Sir in Spring boot every concepts covered ??? In this playlist....!?
Sir model role based video poduinga eppadi use panrathu nu
@Payilagam sir i have done the same as you.but user table is not created in the h2database.
please help me sir
Dont create table name with 'User'. Try any other name for table. Eg. Employee, Student. Error will be rectified.
@@PayilagamChennai Still not Working
@@PayilagamChennai ye sir,error rectified thank you
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
Hi sir
Do you have any course?
Yes, we have. Please reach out go Logesh 8344777333
Hi Sir, I am not able to create that table and Columns in H2 database as shown in 21:51
any reason for that sir?
Hi,
As am also unable to create table in h2 database. Kindly advise
Yes not able to create a table in db
@@sujithac6339 yes i am trying to create a table in h2 database but not created the server was perfectly run if any idea to create a table in h2 database @Mohanraj N @V Balaji
@@sujithac6339 Because User is reserved word in sql try to change the pojo class name and try it will work definetly
@@kuthalingarajs6678 Because User is reserved word in sql try to change the pojo class name and try it will work definetly
How to add japser dependency sir
${user} is not working for me. What should i do?
hi sir, idhu REST API ah?
No
I am waiting for next topic sir upload your videos sir
not show user table in h2 database why?
Sir check once where you have created the corresponding package is under the src/main/java or else under src/test/java, we have to create the corresponding packages under src/main/java
@@vijayalakshmikrishnamoorth2705 i have created it in correct directory.yet the user table is not showing in the h2 database.can anyone help me?
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.@@vijayalakshmikrishnamoorth2705
User in 21:51 not created...May I know why sir
Iam also facing this problem
@@albatross2576 For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
i did same as you...but i got white label error.. after submitting the details in jsp page? can u assist me please..
give path in url
A class in JSON creation from db would be great
Sir user table is not creating in H2 database even i have tried all the remedies available in Google still I can't figure out what's the problem please help me out
Start your Server and Confirm.
@@PayilagamChennai sir now again after restarting my sts I have started server but no use user table not created
@@santhoshkumae9767 Because User is reserved word in sql try to change the pojo class name and try it will work definetly
@@ajayr2893 bro not able to create
Thank you sir
thanks
Sir neenga panadhe apdiye follow pane ,, aana return index kudutha html page return aaga maatenguthu . index nu matu return aaguthu. Pls help
Add Jasper file in your pom.xml
For people following this tutorial and facing issue, first add @ComponentScan(basePackages="packagenames, package2") annotation with package names seperated by comma or semicolon in the main java file above @SpringBootApplication annotation since we are having the controllers and other things in different package names, second use a different name for the POJO class other than user since it is a reserved keyword in SQL.
@@gautampa7
Thank you sir
H2 database ku puriyudhu.. ana MySQL use panumbothu UserDAO userdao nu oru reference create panradhu work agala.. null values tha add agudhu..
KINDLY EXPLAIN THE SPRING MVC WEBAPP WITH MYSQL
class lam different package la place panna work table create aagamatinguthu sir
but same package la vacha aaguthu
thank you bro for your solution
Sir How to insert image to database?
Sir no videos😥😥😥😥
Sir ennakku konjam doutlam irukku sir eputi kekkurathunu konjam sollunga sir
Comment your questions here
48:13
sir what is the difference between POJO and JPA?
JPA is used to access, manage, and persist data between Java object and relational database.
Here in POJO, we try to represent the table fields available in the Database. So we can do CRUD operations.
Super
i tried a lot to create table in mysql and h2db but table is not created i cant find the solution
Create table with any other name. Dont create table as 'user'. This is restricted recently by H2 Database
👍👍👍👍👍👍👍
Sir class create aagamattithu (user class)
Check our pinned message. You should not give class name as User. Try some other name for table. It will work.