JPA mapping(joining) a table with one column that contains multiple key values to another table with each key defined -


i have scenario in table contains multiple key values in single character column. other table has keys seperate columns, e.g.,

table1 (multiple key values in single column) column1 value = "113908765"

table2 (keys defined in seperate columns, integer values): column1 value = 113
column2 value = 908765

that's not normalized design, either:

  • merge split keys

..or

  • split combined key pieces

..or

  • add merged key too

Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -