The way my pojo classes have been created is that I have Form Class which actually is a container for all the datasets. The dataset are basically collections in the Form class. Unfortunately, I haven't defined a .hbm.xml file for Form because it doesn't have any table. When I tried to insert the POJO, I get an error saying unknown entity Form. I know a lot of people might have faced this situation, how can I handle this case