Se agregan los ids secuenciales en los ModelUzyTavPrograma_Eplanv,…

Se agregan los ids secuenciales en los ModelUzyTavPrograma_Eplanv, ModelUzyTavObjPlanVinvula y ModelUzyTavEstrategiasVPlan
parent 8760299c
......@@ -15,6 +15,8 @@ import java.util.Set;
public class ModelUzyTavEstrategiasVPlan {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavestrategias_v_plan_seq")
@SequenceGenerator(name = "uzytavestrategias_v_plan_seq", sequenceName = "SEQ_UZYTAVESTRATEGIAS_V_PLAN", allocationSize = 1)
@Column(name = "uzytavestrategias_v_plan_id")
private Long uzytavestrategias_v_plan_id;
......
......@@ -15,6 +15,8 @@ import java.util.Set;
public class ModelUzyTavObjPlanVinvula {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavobj_plan_vinvula_seq")
@SequenceGenerator(name = "uzytavobj_plan_vinvula_seq", sequenceName = "SEQ_UZYTAVOBJ_PLAN_VINVULA", allocationSize = 1)
@Column(name = "uzytavobj_plan_vinvula_id")
private Long uzytavobj_plan_vinvula_id;
......
......@@ -11,6 +11,8 @@ import javax.persistence.*;
public class ModelUzyTavPrograma_Eplanv {
@Id
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "uzytavprograma_eplanv_seq")
@SequenceGenerator(name = "uzytavprograma_eplanv_seq", sequenceName = "SEQ_UZYTAVPROGRAMA_EPLANV", allocationSize = 1)
@Column(name = "uzytavprograma_eplanv_id")
private Long uzytavprograma_eplanv_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