[ http://jira.andromda.org/browse/HIB-72?page=history ] Work on HIB-72 started by Carlos Cuenca
> Add lazy attribute to class tag > ------------------------------- > > Key: HIB-72 > URL: http://jira.andromda.org/browse/HIB-72 > Project: Hibernate Cartridge > Type: New Feature > Versions: 3.0RC1 > Reporter: Peter Wyngaard > Assignee: Carlos Cuenca > > It would be nice to be able to set the 'lazy' attribute of the Hibernate > 'class' tag to true. > I have a many-to-one relationship from a "Document" entity to a "ClobStore" > entity which stores multiple Clob fields for a given document. This was > encouraged by the DBA on the project so that he could "do the right thing" in > the database. > Anyway, there are many scenarios where I don't want the Clobs to be loaded > when I load a Document. So, I need two things: > 1. Turn off outer join fetching on queries > 2. Enable lazy loading of the Clobs > #1 was easy to set up using the @andromda.hibernate.outerjoin tagged value on > the association ends. > The only way I know of to implement #2, for a many-to-one relationship, is by > setting the 'lazy' attribute to 'true' on the 'class' tag in > ClobStore.hbm.xml. > Problem is, can't do that in AndroMDA (yet)! > Sound like a good idea to add an @andromda.hibernate.lazy tagged value to > Entities? > Thanks, > Peter -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
