What is the maximum limit of long varchar in Mysql

hibernate, mysql, sql

Solution

`LONG VARCHAR` datatype is just a synonym for `MEDIUMTEXT` (thus is for compatibility reasons for ODBC). The length is `16,777,215` bytes for this data type.

You can also refer to the manual: The BLOB and TEXT Types

Problem

What is the maximum limit of long varchar in Mysql? I am using hibernate 3.2 When I tried to save a large value, and failed to save.

Original source

Related problems