[ http://jira.andromda.org/browse/SPRING-86?page=comments#action_11755 ] Paul Pavlidis commented on SPRING-86: -------------------------------------
Here is the related forum discussion http://galaxy.andromda.org/forum/viewtopic.php?p=2173 > allow code generation for find(Entity) methods to use query.setProperties > ------------------------------------------------------------------------- > > Key: SPRING-86 > URL: http://jira.andromda.org/browse/SPRING-86 > Project: Spring Cartridge > Type: New Feature > Components: CRUD > Versions: 3.1RC1 > Reporter: Paul Pavlidis > Assignee: Chad Brandon > > I posted this as a feature request on the hibenate jira, and Christian Bauer > pointed me to the following as an alternative (which doesn't solve the > problem): > http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Query.html#setProperties(java.lang.Object) > (here is the issue: > http://opensource.atlassian.com/projects/hibernate/browse/HHH-715) > So the question now becomes, can Andromda support using that method, somehow? > There could be a tagged value to indicate that the finder method needs to use > that method, and the template would need a corresponding change to use the > query.setProperty(Entity) method. Alternatively, you could do it without a > tagged value, and just figure out that if the finder takes as an argument the > same type as the return value (or the owning entity), that it has to try to > fill in the named parameters in the HQL. -- 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
