Hi Daniel Kleine-Albers,
Daniel Kleine-Albers wrote: > > What it does is that it creates a table with 4 columns: > USER_TO_USERGROUP > USERGROUP > USERGROUP_TO_USER > USER > > IMHO there should be only 2 columns in this table and in one of the > Hibernate definitions it should state inverse=true. > > Is there any way to get this to work? Should I use some stereotypes or > tagged values to achieve this? > You are right. In some cases it is more elegant to have bidirectional associations. But the Hibernate Cartridge do always the simplest thing. In the case of associations it generates always unidirectional associations. We plan to extend this behavior by bidirectional associations in the next releases. Right now, you can implement this behavir by yourself using AOP and overwrite the unsuitable Define-block(s). -- View this message in context: http://www.nabble.com/Many-To-Many-Relations-with-Hibernate-cartridge-tf3668533s17564.html#a10281594 Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
