Wanted to create JSON field using Spring boot entity class in SQL Server. Below is the column name
@Column(name = "personalDetails", columnDefinition = "json")
@JsonRawValue
String personalDetails;
but I am getting the following error.
com.microsoft.sqlserver.jdbc.SQLServerException: Column, parameter, or variable #9: Cannot find data type json
nvarchar(MAX).