json - Spring Data Rest. PUT for Projection -
i have problems put method. have entity: @data @entity public class idea { @id @generatedvalue private long id; private string title; @onetoone private style style; private double posx; private double posy; private long parentid; @onetomany(mappedby="parentid") private collection<idea> children; private idea() { } } projection: @projection(name="ideasummary", types = {idea.class}) public interface ideasummary { string gettitle(); style getstyle(); double getposx(); double getposy(); long getparentid(); collection<ideasummary> getchildren(); } repository: @repositoryrestresource(excerptprojection = ideasummary.class) public interface idearepository extends crudrepository<idea, long> { } the command json: curl -i -x put -h "content-type:application/json" -d '{"title":"chsild note","style":{"bold":fals...