MySQL 5.5.
@Column(columnDefinition = "CHAR", length = 32) private String contentHash;
Created query:
create table texydoc (id INT UNSIGNED not null auto_increment, added datetime, content TEXT, contentHash CHAR, origPath varchar(255) unique, parsingException TEXT, renderedHtml TEXT, author_id bigint, primary key (id))
MySQL interprets this as `CHAR(1)`.
IMO the length should be used for column length:
(Optional) The column length. (Applies only if a string-valued column is used.)