Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 42bc67f

Browse files
committed
There is a limit on the VARCHAR size of about 800 characters, and I am uncertain how these are counted as we have UTF-8 encoding. 200 characters should be enough for identities.
1 parent adc7bef commit 42bc67f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • extensions/entitystore-sql/src/main/java/org/apache/polygene/entitystore/sql

extensions/entitystore-sql/src/main/java/org/apache/polygene/entitystore/sql/SqlType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private static DataType<String> varCharType( SQLDialect dialect, boolean referen
181181
{
182182
if( reference )
183183
{
184-
return SQLDataType.VARCHAR.length(1000).nullable(false);
184+
return SQLDataType.VARCHAR.length(200).nullable(false);
185185
}
186186
else
187187
{

0 commit comments

Comments
 (0)