nelsonf
(Nelson Florez)
October 9, 2017, 3:12pm
#1
It would be good for the framework especially to Studio to be able to incorporate in some way the use of secondary tables. It is currently a manual process.
@SecondaryTables({
@SecondaryTable(name="DOG_SECONDARY_A", pkJoinColumns={@PrimaryKeyJoinColumn(name="DOG_ID")}),
@SecondaryTable(name="DOG_SECONDARY_B", pkJoinColumns={@PrimaryKeyJoinColumn(name="DOG_ID")})
})
Regards
Nelson F.
nelsonf
(Nelson Florez)
October 9, 2017, 3:23pm
#2
This is what is currently generated from Studio
@NamePattern("%s|codigo")
@Table(name = "CIL_PRY_PROYECTO", uniqueConstraints = {
@UniqueConstraint(name = "IDX_CIL_PROYECTO_UNQ", columnNames = {"COD_PROYECTO"})
})
@SecondaryTables({
@SecondaryTable(name="CIL_PRY_PROYECTO_ADICIONAL",
pkJoinColumns=)
})