[ http://jira.andromda.org/browse/HIB-72?page=history ] Carlos Cuenca closed HIB-72: ----------------------------
Resolution: Fixed Fix Version: 3.1-RC1 > 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 > Fix For: 3.1-RC1 > > 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 the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Andromda-devel mailing list Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel