These are chat archives for hibernate/hibernate-orm

13th
Dec 2016
Giovanni Lovato
@heruan
Dec 13 2016 08:29
I need to switch to SQL Server, and I'm doing some tests with Hibernate. I see the Hibernate creating tables using varchar which in SQL Server does not support Unicode character, while nvarchar does. I've found a workaround in old forum posts using a custom dialect to map Types.VARCHAR to nvarchar, but… is this really necessary with the latest Hibernate versions?
I assume Unicode should be the standard these days.
Giovanni Lovato
@heruan
Dec 13 2016 08:52
Okay, found hibernate.use_nationalized_character_data property to set in persistence.xml!