![]() ![]() admin can either accept or reject the leave for Employee. DIRECTOR can either accept or reject the leave for Employee in his/her department. Employee can apply leaves and view their leave status. Public class User = GenerationType. Leave Management System This project is an interactive leave application portal which includes Employee login,DIRECTOR login and admin Login. Import = "user", uniqueConstraints = "email")) ![]() I’ve used the value “update” for this property. The property -auto is used for database initialization. Spring Boot uses Hibernate as the default JPA implementation. In the above properties file, the last two properties are for Hibernate. You will need to create a database named demo in MySQL, and change the & properties as per your MySQL installation. # Hibernate ddl auto (create, create-drop, validate, update) ![]() # The SQL dialect makes Hibernate generate better SQL for the chosen database ![]() =jdbc:mysql://localhost:3306/demo?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) Open the application.properties file and add the following properties to it. Demo project for Spring Boot Thymeleaf and Hibernate ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |