Joined: Thu Nov 27, 2008 10:58 pm Posts: 1
|
Hi.. let me apologize for asking maybe banal question but I'm trying to solve this for at least 5 hours and I'm getting little bit desperate..
I'm trying to map pojo to oracle 10g database table which contains nvarchar2 fields. I'm getting Wrong column type, expected: nvarchar error.. I hope I'm close to solution - I found that it can be done using:
connectionProperties="defaultNChar=true"
in ( I think ) hibernate.properties file..
so then only thing I need is to write it to hibernate configuration.
What is hibernate.cfg.xml alternative of this command? or I don't understand it correctly?
thanks you a lot.. you'll save a student's another night spent googling :)
have a nice day..
|
|