I'm having some thoubles with a generated column 'Text' type, in SQL Server. Same class anotations work fine when using PostgreSQL.
I tried:
@Lob
@Column(name = Columns.largeJsonText)
protected String largeJsonText;
and this:
@Lob
@Column(name = Columns.largeJsonText, length = 1048576)
protected String largeJsonText;
But both generate 'text' column type.
I'm using the following version of Eclipse Link:
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.6.2</version>
Is it possible to generate a varchar(MAX) column for SQL Server? How? Thanks!