JPA exception: Object: … is not a known entity type

后端 未结 11 646

I\'m new to JPA and I\'m having problems with the autogeneration of primary key values.

I have the following entity:

package jpatest.entities;

impor         


        
11条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-10 03:02

    As far as I know, whenever I get this error, I just re-start glassfish. Works everytime.

提交回复
热议问题