Hibernate with NVARCHAR2
问题 I have table with a column as NVARCHAR2 , and I have build my object with hibernate annotations, When i want to insert into DB or fetch from DB the result is something like that "???????", I have implemented a custom Dialect as follows but it did not work. public class CustomOracleDialect extends Oracle10gDialect{ public CMSCustomOracleDialect() { registerHibernateType( Types.NVARCHAR, Hibernate.STRING.getName() ); registerColumnType( Types.VARCHAR, "nvarchar2($1)" ); registerColumnType(