I tried to import spring-orm.jar, but the import expects petal file(.ptl extension). If I define attribute type just as HibernateTemplate, it does not give any error and code gets generated but in the class it does not define full class name of HibernateTemplate, nor it adds import in
java class. So obviously compiler will give error. There must be some way but I don't know how to it. Even if I could do this with STARUml, I am still ok with it because I am just learning.