sorry no. But we use JDO/JPA and we have helper methods that look much
like that, but not as concise.. but really easy to create a HQL, JDOQL,
JPQL from a method like this:
List<Book> books = dao.findByFields( Book.class, "firstname", "Howard
Lewis", "lastname", "Ship" );
Otho wrote:
Hi all,
I am just in the process of deciding which framework to use for an internal
business app.
The choices are spring rcp, tap5 and grails. The latter mainly because of
the really nifty ORM. Especially the dynamic finders are neat, since they
are readable and make daos redundant in most cases. The UI part is - for my
personal taste - much better in Tap5.
With hibernate integrarion already there. Is there something in the pipeline
which would resemble dynamic finders in GORM?
In case the concept is unknown: Entity classes in grails (groovy) are
dynamically instrumented so that I could for example just write:
def books = Book.findByAuthorFirstnameAndLastname("Howard Lewis", "Ship")
and would get the List of books with a backing sql along the lines of
Select * from book key join author where author.firstname ="Howard Lewis"
and author.lastname="Ship"<<
Regards,
Otho
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]