• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

Spring data rest POST dosen't work for foreign keys

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please I created a REST api using Spring data rest JPA but I have a real big problem :
when I try to post to my REST api everything works except that the foreign key value doesn't get updated ...
I tried to send the value more than once but it doesn't work at all

The value that don't get updated is : "photoprofilid" it's a foreign key from another table
what I tried is :

Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic