You will need to declare a primary key for the table if you want to map it as an entity. However, if the only columns in the table are fk’s to other tables, is this not just a many-to-many relation? Hibernate has other ways to manage these that do not involve mapping them directly as an entity. I would check the Hibernate docs for many-to-many relationships.