fixing ambigius database definition (avoiding the usage of hibernate
specific properties)