Se agrega el id secuencial en ModelUzyTavPlanVPrograma

parent 6ea5f287
...@@ -12,6 +12,8 @@ import javax.persistence.*; ...@@ -12,6 +12,8 @@ import javax.persistence.*;
public class ModelUzyTavPlanVPrograma { public class ModelUzyTavPlanVPrograma {
@Id @Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavplan_v_programa_seq")
@SequenceGenerator(name = "uzytavplan_v_programa_seq", sequenceName = "SEQ_UZYTAVPLAN_V_PROGRAMA", allocationSize = 1)
@Column(name = "uzytavplan_v_programa_id") @Column(name = "uzytavplan_v_programa_id")
private Long uzytavplan_v_programa_id; private Long uzytavplan_v_programa_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