on-internet
← Community

How to not make quoted column names using liquibase for multiword field names

Stack Overflow ·

Let's say I have class like this: public class Inductor { private String inductivity; private String nominalCurrent; private String nominalVoltage; private String icth; private String ith; private String idin; private String placement; } When I use liquibase diff I get this part of migration: CREATE TABLE inductors ( icth VARCHAR(255), idin VARCHAR(255), inductivity VARCHAR(255), ith VARCHAR(255), "nominalCurrent" VARCHAR(255), "nominalVoltage" VARCHAR(255), placement VARCHAR(255), CONSTRAINT "inductorsPK" PRIMARY KEY (id) ); I was getting an error that column "nominalCurrent" does not exist.

Comments

Sign in or sign up to comment and upvote.

No comments yet.