I am new to Spring Data JDBC, and I am struggling to create a simple Dto and get it persisted on the DB.
I am using Spring-Boot 2.1.1.RELEASE and and Oracle 12 Database.
I think you need to declare the USR_ID field and corresponding sequence in your entity
@Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "XXXX") @SequenceGenerator(sequenceName = "YYYY", allocationSize = 1, name = "XXXX") Long USR_ID;