I have an application built with Sprigboot (2.4.5) Spring JPA and Eclipselink. It connects to MariaDB. The CREATE table statements the application is generating are structured as VARCHAR without a size. However, I would have expected expect VARCHAR(255). MariaDB rejects the VARCHAR statements and fails to create tables. I am sure I am missing something really really obvious here - so I apologize in advance! But hoping for some guidance. This is an example of the generated code:
CREATE TABLE api_user (ID NUMBER(19) NOT NULL, apiKey VARCHAR, assignDate TIMESTAMP, code VARCHAR UNIQUE, disabled VARCHAR, expiryDate TIMESTAMP, name VARCHAR, version NUMBER(19), PRIMARY KEY (ID))
eclipselinkDdlGeneration=drop-and-create-tables
eclipselinkDdlGenerationOutputMode=database
eclipselinkJdbcUppercaseColumns=false
eclipselinkWeaving=false
dbDriver=org.mariadb.jdbc.Driver