|
I'm developing a project using spring boot and hibernate as a JPA provider for MySql.
Since I've some problems defining unique indexes due to reserved words I set the property hibernate.globally_quoted_identifiers to true.
This solves that problem but creates another when using columnDefinitions because hibernate put quotes on them too.
For example if I add columnDefinition="blob" then hibernate tries to execute this DDL:
create table `name` (`id` integer not null auto_increment, `myfield` `blob`, primary key (`id`))
i.e.: it puts "`" around the "blob" keyword, while it should not.
|