[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] Re: Teneo/Hibernate - key conflicts
|
- From: duschl@xxxxxxxxxxxx (JD )
- Date: Tue, 15 Sep 2009 09:12:33 +0000 (UTC)
- Newsgroups: eclipse.tools.emf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Well it's not so much about keys in the model itself or in XML for that
matter. It's about getting indexes into the generated hibernate mapping
and thus into the database, to speed things up. Is there maybe a teneo.jpa
annotation which does the same thing, that I can use instead of the keys?
Martin Taal wrote:
Hi Josef,
I am not that familiar with the keys attribute in an EReference but maybe
there are other ways to achieve what you want
instead of using the keys. If it is to get an id as the reference in the xml
then there are also other ways afaik.
Or you can maybe override the validation to prevent this specific validation
from triggering. Ed would know this.
gr. Martin