I'm using org.hibernate.Session#saveOrUpdate(myObj)
to do insert and updates. Using MSSQL.
If a field is a non-Latin character, the raw SQL update MyTable set myfield=N'myFieldValue' where id = 12345;
is needed.
Is there a way to automate this escape value in Hibernate so that non Latin columns are saved correctly?