In hibernate mapping file, The method is used to generate
the Object for accessing the database
the foreign key for the new record
the primary key for the new record
the Composite key for the new record