    PRE_TYPE        varchar(50),
    association     INTEGER,
 
-   CONSTRAINT pk_entity PRIMARY KEY(r_entitygraph, {4}),
-   CONSTRAINT fk_graph FOREIGN KEY (r_entitygraph) REFERENCES entity_graph(id)
+   CONSTRAINT j_pk_entity PRIMARY KEY(r_entitygraph, {4}),
+   CONSTRAINT j_fk_graph_e FOREIGN KEY (r_entitygraph) REFERENCES entity_graph(id)
 );
 
 CREATE INDEX ix_entity_brthdy ON entity (r_entitygraph, birthday, type);

   set_id          INTEGER NOT NULL,
   {0},

   CONSTRAINT pk_entity PRIMARY KEY(set_id, {4})
);

CREATE TABLE dependency

   {2},
   {3},   

   CONSTRAINT j_fk_graph_d FOREIGN KEY (r_entitygraph) REFERENCES entity_graph(id)
);

CREATE INDEX ix_dependency_from ON dependency (r_entitygraph, {5});
