Hi Joerg,hi thomas,
Joerg Lensing wrote:
Hi,
junit: Article - Produktgroup
Article holds an ID from Productgroup. In the example it is the primaryKey from table Kategorien.
foreign keys from one table alway reference primary keys of another (or the same in case of self-join) table.
Can I use different field for it?
only by declaring it as primary key in the repository.
Thomas
i get the message:
WARN: OJB broker could not materialize ....AbstractPersistent{1332}
The number shown is the fieldvalue i want to use for referencing the productgroup.
But the IndirectionHanler uses the primaryKey (which in my case can't fit)
joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
is the primary key in the repository allways primary key of the database-table?
or do they only have to be unique values?
joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
