|[Teneo] 3 way join, how to do? [message #615616]
||Thu, 06 March 2008 12:26
| David Wynter
Registered: July 2009
I am adapting a security service to use Teneo as the persistance layer.
The original system had a Role table, a Group table, a Permission table
and a User table. There was a table to join the Group, User and Role
information together. e.g. USER_GROUP_ROLE primary key (USER_ID,
I am using the teneo.jpa annotations but from the examples cannot work
out how I woudl represent this, or whether I need to create an element
that actually models this.
A couple of small things I noticed too.
is used int he examples, this no longer exist is and I cannot find it. I
wanted to see the full set of XMLType values.
A more general thing, I worked on a project (dentaku at codehaus.org)
where we use stereotypes and tagged values in the UML to specify column
types and lengths etc. Then generated the Hibernate file from that. With
ECore there does not seem to be a way to do this so you end up with a
messy process, UML model then hand edit the ECore created from it to add
teneo.jap annotations. Any way of improving this? A second difficulty is
that with large XSDs produced as part of a standard it would be nice
if you could have the teneo.jpa annotations in a separate file so that
when a new version of that standard is released it is easier to manage
the changes, the only way to automate this I can see now is to write a
mega XSLT script to merge two files to add the teneo annotations to the
Powered by FUDForum
. Page generated in 0.01827 seconds