Show IDs in Xml response
Required in client
This commit is contained in:
parent
c4ea40899a
commit
a6f24dbbc2
@ -32,7 +32,7 @@ import java.time.LocalDate;
|
||||
public class Actor {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@XmlTransient
|
||||
@XmlAttribute
|
||||
private Long id;
|
||||
|
||||
@Column(length = 100, nullable = false)
|
||||
|
@ -27,7 +27,7 @@ import java.util.List;
|
||||
public class Movie {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@XmlTransient
|
||||
@XmlAttribute
|
||||
private Long id;
|
||||
|
||||
@Column(length = 100, nullable = false)
|
||||
|
@ -30,7 +30,7 @@ import javax.xml.bind.annotation.XmlTransient;
|
||||
public class Studio {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@XmlTransient
|
||||
@XmlAttribute
|
||||
private Long id;
|
||||
|
||||
@Column(length = 100, nullable = false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user