Reputation: 1355
I read that need to use "nvarhar" for utf8 fields. But how to define it through Hibernate & Spring?
@Column(name = "TITLE", nullable = false)
private String title;
Upvotes: 0
Views: 424
Reputation: 1087
If you want to make this change globally you can override the hibernate default mapping using the hibernate type registry: http://docs.jboss.org/hibernate/orm/3.6/reference/en-US/html/types.html#types-registry
Upvotes: 1