I'm working with Oracle and table have no pk. On entity I'm using ROWID as Id
@Id
@Column(name="ROWID")
private String id;
@Column(name="phone_number")
private String phoneNumber;
All I want to do is to save a new row to table using save() method of repository. Here comes the problem. How can I skip generating id(rowid) for table and make oracle to do it by itself?
Same question, I added @GeneratedValue(strategy = GenerationType.IDENTITY) but getting error:
IdentityColumnSupportImpl does not support identity key generation