The key question is: Is the table name really part of the primary key?
Because if TYPE.TYPE_ID is already (or can be made) unique it would be bad design to use
the combination of table_name and type_id as primary key because this would violate the
requirements of the 3rd NF. TABLE_NAME would be fully dependend on TYPE_ID and therefore
it does not have to be saved in the store table again.
Just mentioning this to give you some arguments so you don't have to do what you are
told :-)
Regards
Felix
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034436#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...