I have a spring 4 app where I\'m trying to delete an instance of an entity from my database. I have the following entity:
@Entity public class Token impleme
Your initial value for id is 500. That means your id starts with 500
@SequenceGenerator(name = "seqToken", sequenceName = "SEQ_TOKEN", initialValue = 500, allocationSize = 1)
And you select one item with id 1 here
Token deleted = tokenRepository.findOne(1L);
So check your database to clarify that