>What would be involved in adding support for this in Hibernate?  I don't
>need update capablities (at least not yet :) ).

Hey, if you don't need update/insert, why not just define a database view
and map the class to that view as if it were a normal table...

Otherwise you would need to implement your MessageViewList class as a
facade on top of three persistent classes with one-to-one associations.
If you enable outerjoin fetching on the associations, you will end up
with essentially what you are looking for (ie MessageViewList will be
fetched in a single query).

I think fully working single-class-to-multiple-table mappings will take
quite a while to implement.



-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to