Greetings to all!
I try to insert data in table by using Spring Data JPA + Hibernate.
Before I created table
And populate with:
I pass as a genIntColumn-parameter the following: new GenIntColumn(null, 3, 2, 3). Null-value for id, because this data in table does not exist yet.
But log return:
As I know, JpaRepository.save-method enable to generate id, while inserting data, if id does not exist, and inserts (updates) values by id, if id exists.
When I realise UPDATE by this method, everything is well: method updates value, although move the updated row to the end of sequence....