optimize some code for hibernate
Merge branch 'master' of https://github.com/mikema90/EAS

Conflicts:
	WebContent/webs/uploadThesis.html
	src/cn/edu/tongji/uploadFile.java