How to change the @GeneratedValue used by Spring through Spring's AbstractPersistable class?

2

I'd like to use @GeneratedValue(strategy = GenerationType.SEQUENCE, ... ... when I'm extending the class AbstractPersistable , but I do not know if that's possible.

From what I saw in the documentation, the class AbstractPersistable has the Id attribute with the @GeneratedValue annotation but does not tell you which strategy the @GeneratedValue annotation is used to create the sequence used by the Spring framework.

How do I use GenerationType.SEQUENCE specifically extending the AbstractPersistable class to have greater productivity?

    
asked by anonymous 19.05.2018 / 12:41

0 answers