Hi Scott,
Weaver, Scott wrote:
> I'm accessing legacy data that has some of it's tables using composite
> (multiple) primary keys. How is this accomplished in OJB?
That's quite easy:
For each attribute in your persistent class representing a Primary key
column in your DB add a <primaryKey>true</primaryKey> elements to their
respective FieldDescriptors in the Repository.
That's all!
Details for Reference- and CollectionDescriptors are mentioned in
tutorial 3.
HTH,
Thomas
>
> Thanks,
> Scott
>
|