ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Y. Bugaychenko" <DmitryBugayche...@tepkom.ru>
Subject Inverse relations and groupBy
Date Mon, 22 Oct 2007 13:36:20 GMT
Hi All

Is there a way to handle such situation:

Class relations look like this: 

 ______ Author     Books ____
|Author|<>--------------|Book|
|______|1           0..*|____|

And I'm loading Author object with Author.Books property using eager load
and groupBy="AuthorID" feature. Is there a way to tell iBATIS to set
Book.Author to the proper value (the same Author object for all books)? And
if this feature is not supported, are you going to support it in future?

Thanks for your answers.


Mime
View raw message