unknown entity with a sub class, inheritance.


(Jacinta Gichuhi) #1

hello all i have a class called ProcedureOrder that extends Order class. here is the class definition https://pastebin.com/t63vyheV the class hibernate mapping file is as follow: https://pastebin.com/mVLkU4YJ when I do a post request to populate the table i’m getting the following error https://pastebin.com/syyTQfux could someone kindly help me identify which error i have in my hibernate mapping file @dkayiwa @rickysilas @corneliouzbett @mssavai @darius


(Jacinta Gichuhi) #2

solved this by adding ProcedureOrder.hbm.xml in confix.xml as a mapping file, everyday is a day of learning