nested exception is org.hibernate.MappingException:No Dialect mapping for JDBC type -16解决方案 解决方案: 1.检查方言映射的配置文件 2.如果用的 是sqlserver数据库,hibernate映射不了nvarchar(MAX)类型