I am using spring boot(1.4),spring data and jpa. And using @Repository
(CrudRepository)
One of my Table/Entity, the ID column, I want to generate customised string.
Start with some specific string plus creation data and time, and end with next value from db.
so here I can't use @TableGenerator
, I need some native query like "select nextvalue "
Is there better way can achieve this.