Changed mapped-superclass definition by adding the table attribute with value 'ap_products' (NOTE: THIS IS A HACK!)