o.h.engine.jdbc.spi.SqlExceptionHelper : Unknown column ‘dtype’ in ‘field list’
好像是 jpa映射的那些类不能继承吧,可能也不是不能,只是要继承的话,就会有各种麻烦,也许有人能弄好吧,我还是不继承了
转载自
https://stackoverflow.com/questions/27594552/error-unknown-column-dtype-in-field-list
Do you have inheritance in your hibernate model? The name of the discriminator column in hibernate defaults to “DTYPE” hence the confusion. Go through your project model again and reply back.
您的hibernate模型中有继承吗?hibernate中鉴别器列的名称默认为“DTYPE”,因此会产生混淆。再次检查您的项目模型并回复。