I have encountered an issue, I am using SQL SERVER 2012 with Hibernate 4.3 
and in the database schema we have both VARCHAR & NVARCHAR columns. 
Entities having column string type are being mapped with NVARCHAR, and all 
the native queries when get parameterized (equate) are also 
equating/joining with VARCHAR type columns with NVARCHAR parameter. I, then 
used sendStringParametersAsUnicode=false it now started to assumed all 
string type columns as VARCHAR and also equating/joining (in native 
queries) with VARCHAR.

Is there a way hibernate mapped columns with related their data types?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to