Write a Method called InsertBike - Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task :

Summary 

Create a new Spring Boot Project and name it “Assignment 3_Your_name” Develop a SymphonyUsedBikes Web App with the following  functionality, 

1. Insert, Update and Delete a record into the Bike table in using H2  database. 

2. The delete page is secured using Spring Security with Database  

 

Part 1 

Create index.html which will have links to three html forms for Insert, Update and Delete records in Bike Table. 

a) In insert.html form, accept manufacturerID, model, year, color and  price from the user and add a button called insert. Here, populate the  manufacturer ID from manufacturer in a dropdown. 

b) In update.html form, accept model and price from the user and  add a button called Update. 

c) In delete.html form, accept bikeID from the user and add a button  called Delete. Here, populate the bikeID from the database in a dropdown. 

 

Part 2 

In your DatabaseAccess class,  

Add the following three methods, 

a) Write a method called insertBike that takes manufacturerID, model, year, color and price as  parameters. (check datatypes from schema.sql ) Write SQL to insert a new record into your bike table.  

b) Write a method called updateBike that takes model, price as parameters. (check datatypes from  schema.sql)Write SQL to update existing records in the bike table. 

c) Write a method called deleteBike that takes bikeID as parameter. (check datatypes from  schema.sql) Write SQL to delete a record into your Bike table.  

 

This Computer Science Assignment has been solved by our Computer Science  Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.