I am using MYSQL Database.
I having problem adding object to POJO (Class created by Hibernate reverse engineering).
I have two tables customer and title. I have created One-to-Many relationship in MYSQL between this two tables.
titleId is foreign key in customer table. so one to many relation exist.
Here is my hibernate-reverse-engineering file.
JAVA object it created
I don't understand why it is creating titleId as integer. It suppose to be object for table sTitle.