User 6135131fe5
15-01-2009 20:22:09
Hi All,
This may be a "don't try this at home, kids!" sort of topic, but nonetheless here goes...
So I'm in a situation where I need to add relationships between many (~30) tables into an existing IJC schema in Oracle, and I don't want to do it manually because I will need to repeat the process at some point.
I understand the format of entries in the ITEM_VALUE column and have written PL/SQL to insert my own (GENERIC_TYPE) 'RELATIONSHIP' rows. IJC seems to understand these entries and doesn't complain on startup.
I was, however, unable to deduce the structure of values in the ITEM_INDEX column, so I used a sequential integer for each new entry just to get things going.
So I have two questions:
- Ryan
This may be a "don't try this at home, kids!" sort of topic, but nonetheless here goes...
So I'm in a situation where I need to add relationships between many (~30) tables into an existing IJC schema in Oracle, and I don't want to do it manually because I will need to repeat the process at some point.
I understand the format of entries in the ITEM_VALUE column and have written PL/SQL to insert my own (GENERIC_TYPE) 'RELATIONSHIP' rows. IJC seems to understand these entries and doesn't complain on startup.
I was, however, unable to deduce the structure of values in the ITEM_INDEX column, so I used a sequential integer for each new entry just to get things going.
So I have two questions:
- What does ITEM_INDEX do or mean? -and-
- How can I roll my own?
- Ryan