Annotation Type Lob


@Retention(CLASS) @Target(FIELD) public @interface Lob

Marks a String, char[] or byte[] field as a large object, as JPA's @Lob does.

It changes nothing about the column, because every string and byte column is already one: MySQL gets LONGTEXT and LONGBLOB, and SQLite and PostgreSQL leave TEXT and BLOB/BYTEA unbounded. It exists so an entity ported from JPA keeps the annotation, and the build rejects it on a field of any other type, as JPA would.