Hi,
The key thing you need to know about here is that Hibernate will be generating the DDL statements based on what it knows about the particular RDBMS that you are using. That is configured through a Dialect.
A Google search showed up the following blog post:
http://blog.cherouvim.com/sql-server-hbm2ddl-unicode-columns/which describes exactly what you have asked about.
Basically you:
- create a subclass of the Dialect for the RDBMS that you are using and make it override the existing default data type mappings
- specify your new class as hibernate.dialect in your Hibernate configuration
--
Stephen Souness
blog:
http://elegant-solutions.blogspot.com/