Description of problem: Select from a table where an entity property maps to an NVARCHAR results in "org.hibernate.MappingException: No Dialect mapping for JDBC type: -9" when using the Microsoft SQL Server JDBC driver. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Test: https://github.com/hibernate/hibernate-orm/commit/e450e55bd96f923d4f8d87337700887cdadeef59 Fix: https://github.com/hibernate/hibernate-orm/commit/d7604aa55dd6a3448febe8d912a189a6c9b60999
Verified with EAP 6.4.17.CP.CR3
Released on 2017-09-05 as part of the EAP 6.4.17 release.