不能創建表
我的是在postgres這個數據庫,配置有問題,Unsuccessful: create table user (id int4 not null, age int4, name varchar(255), primary key (id)) ? org.hibernate.tool.hbm2ddl.SchemaExport ?: 錯誤: 語法錯誤 在 "user" 或附近的,確實我直接在數據庫操作也是有問題,要自己加public模式。create table "public".user才行,這個怎么解決
2018-01-10
user是個關鍵字,換個表名吧