@Entity
@Table(name = "SUBSCRIPTIONFILE", schema = "SUBSCRIPTIONSERVICES")
public class SUBSCRIPTIONFILE {
@Id
@GeneratedValue(strategy=GenerationType.AUTO)
private Long id;
private String PRODUCTSKU;
private String VERSION;
private String PLATFORM;
private String FILENAME;
private String DESCRIPTION;
protected SUBSCRIPTIONFILE() {
};
//setter & getters
我得到了-
Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "SUBSCRIPTI0_"."ID": invalid identifier
所以我删除了ID字段-
`No identifier specified for entity:` `com.siemens.plm.it.aws.connect.entitys.SUBSCRIPTIONFILE`
拆卸后
@Entity
-
Caused by: java.lang.IllegalArgumentException: Not a managed type: class com.siemens.plm.it.aws.connect.entitys.SUBSCRIPTIONFILE
,正在删除
@Table
No identifier specified for entity: com.siemens.plm.it.aws.connect.entitys.SUBSCRIPTIONFILE
.