Hi,
I have an entity which store serialized value. I map this property to database column of type nvarchar(MAX) in SQL Server 2008 database.
The application is working but when I deploy the application with hibernate.hbm2ddl.auto property set to validate I get the following error:
Code:
org.hibernate.HibernateException: Wrong column type in Aurora.dbo.ActivityPropertyValue for column serializedValue. Found: text, expected: varchar(MAX)
I even try drop the table and run the deployment with hbm2ddl of update which create the table with the exact same column type which again does not pass the validation phase.
Thank you,
Ido.