Hibernate5's new way of creating SessionFactory, using Hibernate4's method to report exception XXX is not mapped

NoSuchKey

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326983271&siteId=291194637