After the user is logining to the application, there is a tab called user management,in that clicking on create user link.It will display New Create User Form with all the fields(Example we will take 2 fields for firstname,gender etc..).
After filling all the details and clicking the 'Save' button. The data is getting stored in 'o_userproperty' table with key-value pairs and has fields like 'first-name and gender' etc.
see the screen shot-1
I had created another table 'o_userproperty_dummy' which has the column names as'first-name' and 'gender'
But Remember,'first-name and 'gender' are the fields of 'o_userproperty' table.
So my issue is I want to write a java code and hbm files
where while filling the create user form of'first-name' and 'gender'.The same details should also be stored in 'o_userproperty_dummy'table with row wise i.e. forieng_key , Firstname and Gender with values .
see the screen shot -2
My concern is that we need to save in 1 row only in the o_userproperty_dummy table..as shown in
screen-shot3.
So can you please tell me in which java files and hibernate files i need to make changes.So i can store the only single row records in o_userproperty_dummy for columns 'first-name' and 'gender'
Please go through the attached screenshots for your reference.
Thanks in advance.
Regards,
Hemant