Question
-- Table structure for table `community` -- CREATE TABLE IF NOT EXISTS `community` ( `member_id` int(10) NOT NULL, `name` varchar(30) NOT NULL, `email` varchar(30) NOT
-- Table structure for table `community` --
CREATE TABLE IF NOT EXISTS `community` ( `member_id` int(10) NOT NULL, `name` varchar(30) NOT NULL, `email` varchar(30) NOT NULL, `phone` int(9) NOT NULL, PRIMARY KEY (`member_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- --------------------------------------------------------
-- -- Table structure for table `registration` --
CREATE TABLE IF NOT EXISTS `registration` ( `register_id` int(10) NOT NULL AUTO_INCREMENT, `code` int(5) NOT NULL, `registration_date` date DEFAULT NULL, `user_id` varchar(128) NOT NULL, PRIMARY KEY (`register_id`), KEY `member_id` (`code`), KEY `code` (`code`), KEY `user_id` (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;
Choose any 2 tables from your DB that are related by one to many relationship and then do the following: 1. Create the Entity classes that correspond to these tables. 2. Create JSF pages for the Entity classes you have created to do the CRUD operations. 3. At the end of the test, you have to demonstrate the working of your applicationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started