Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

-- 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

image text in transcribed

-- 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 application

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

What are the risks associated with fundinggap risk?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago