opensubscriber
   Find in this group all groups
 
Unknown more information…

a : andromda-devel@lists.sourceforge.net 15 August 2005 • 7:34PM -0400

[Andromda-devel] AndroMDA/JIRA Closed: (SPRING-100) loadAll() method within DAO´s
by Chad Brandon (JIRA)

REPLY TO AUTHOR
 
REPLY TO GROUP




     [ http://jira.andromda.org/browse/SPRING-100?page=history ]
    
Chad Brandon closed SPRING-100:
-------------------------------

     Resolution: Fixed
    Fix Version: 3.1RC1

> loadAll() method within DAO´s
> -----------------------------
>
>          Key: SPRING-100
>          URL: http://jira.andromda.org/browse/SPRING-100
>      Project: Spring Cartridge
>         Type: New Feature
>     Versions: 3.1M1
>     Reporter: Andreas Spankus
>     Assignee: Chad Brandon
>     Priority: Minor
>      Fix For: 3.1RC1

>
> Adding a method for easily getting all objects of a class. Suggestions for the templates:
> SpringDao.vsl:
> /**
> * Loads all instances of $entity.fullyQualifiedEntityName from the persistent store.
> */
> public java.util.List loadAll();
> SpringHibernateDaoBase.vsl:
> /**
> * @see ${entity.fullyQualifiedDaoName}#loadAll()
> */
> public java.util.List loadAll()
> {
>   try
>   {
>     return this.getHibernateTemplate().loadAll(
>        ${entity.fullyQualifiedEntityImplementationName}.class);
>   }
>   catch (org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException ex)
>   {
>   }
>   return null;
> }

--
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@list...
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.