如何创建并克隆和类型化对象?
Public int createObjec(Object object, String className) {
//object may be User, Role or UserRole
// className is The Name of The Class
sessionFactory.getCurrentSession().save(dynamicObject); //dynamicObject may be User, Role or UserRole
}