pasha wrote:
you can map your classes multiple times using different logical names (in Hibernate 3.2+),
so map it once on table, and once on view....
Thank you for your reply, it's a good idea, but I'm afraid of it made the project more complex. I've modified the DAO class and using the JDBC to control the insert,update and delete, I tested it by invoke the DAO.insert and DAO.update and DAO.delete, no problem in here, I try to invoke it by Session.save(obj), I think it maybe not pass, can anybody give me more information? Thanks again!