How to pass JSON Object and return Object from Spring rest controller

I have an entity class like below: public class InputData { byte[] nameBytes; InputType inputType; InputType outputType; String inputName; Description desc; } Here is my rest …

Spring generate progressive unique int for entity

I am working on a REST api in Spring, and I’m required to save an entity Document with a protocol number which consists in: progressiveInt/currentyear Here is the model: @Entity public class …

Spring Pageable does not translate @Column name

I have Entity object : @Entity(name = “table”) public class SomeEntity { @Id @Column(name = “id_column_name”) public final BigDecimal entityId; @Column(name = “table_column_name”) …