当前位置:网站首页>Adding, deleting, modifying and querying databases with JDBC

Adding, deleting, modifying and querying databases with JDBC

2022-06-10 14:07:00 CSDN Q & A

Use Java Programming with language , Database connection utilization JDBC technology
requirement (1) User login and registration
Prompt the user to enter the user name and password for account login , You can perform other operations after logging in .
(2) Product information addition
Prompt the user to enter product related information , Add data to the database after user input , If an exception occurs during program operation , Rollback the data .
(3) Commodity information query
Commodity information query includes unconditional query 、 Fuzzy query according to commodity name 、 There are three types of commodity price range query .
(4) Modification of commodity information
Prompt the user to enter the product information to be modified , After user input, modify the data stored in the database to the data entered by the user .
(5) Delete commodity information
Prompt the user to select the product information to delete , Delete the relevant data in the database after the user selects .

原网站

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206032257163500.html