Se agregan los ids secuenciales a los modelos de ModelUzyTavLinea y ModelUzyTavSubLinea

parent 6f7aea4a
......@@ -15,6 +15,8 @@ import java.util.Set;
public class ModelUzyTavLinea {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavlinea_seq")
@SequenceGenerator(name = "uzytavlinea_seq", sequenceName = "SEQ_UZYTAVLINEA", allocationSize = 1)
@Column(name = "uzytavlinea_ID")
private Long uzytavlinea_ID;
......
......@@ -15,6 +15,8 @@ import java.util.Set;
public class ModelUzyTavSubLinea {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavsublinea_seq")
@SequenceGenerator(name = "uzytavsublinea_seq", sequenceName = "SEQ_UZYTAVSUBLINEA", allocationSize = 1)
@Column(name = "uzytavsublinea_ID")
private Long uzytavsublinea_ID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment