Fixed a bug in saving entities via PUT.
This commit is contained in:
@@ -100,7 +100,7 @@ This would result in a link value of:
|
||||
|
||||
### Hiding certain Repositories, query methods, or fields
|
||||
|
||||
You may not want a certain Repository, a query method on a Repository, or a field of your entity to be exported at all. To tell the exporter to not export your these items, annotate them with `@RestResource` and set `exported = false`.
|
||||
You may not want a certain Repository, a query method on a Repository, or a field of your entity to be exported at all. To tell the exporter to not export these items, annotate them with `@RestResource` and set `exported = false`.
|
||||
|
||||
For example, to skip exporting a Repository:
|
||||
|
||||
@@ -121,7 +121,6 @@ To skip exporting a query method:
|
||||
Or to skip exporting a field:
|
||||
|
||||
@Entity
|
||||
@RestResource(exported = false)
|
||||
public class Person {
|
||||
@Id @GeneratedValue private Long id;
|
||||
@OneToMany
|
||||
|
||||
Reference in New Issue
Block a user