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 {
|
public class Actor {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@XmlTransient
|
@XmlAttribute
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Column(length = 100, nullable = false)
|
@Column(length = 100, nullable = false)
|
||||||
|
@ -27,7 +27,7 @@ import java.util.List;
|
|||||||
public class Movie {
|
public class Movie {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@XmlTransient
|
@XmlAttribute
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Column(length = 100, nullable = false)
|
@Column(length = 100, nullable = false)
|
||||||
|
@ -30,7 +30,7 @@ import javax.xml.bind.annotation.XmlTransient;
|
|||||||
public class Studio {
|
public class Studio {
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
@XmlTransient
|
@XmlAttribute
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Column(length = 100, nullable = false)
|
@Column(length = 100, nullable = false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user