I have a field defined like this
private java.sql.NClob details;
When I try to build to create an entity manager, I get the following exception :
Caused by: org.hibernate.MappingException: Could not determine type for: java.sql.NClob, at table: messages, for columns: [org.hibernate.mapping.Column(details)]
The table doesn’t exist yet in the database.
What should I tell Hibernate ?
Here how I solve my problem :