openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Mutdosch <tom...@gmail.com>
Subject Re: possible to write a JPA Query to that filters both an Entity and its relationship entities?
Date Mon, 26 Feb 2007 14:51:46 GMT
Very cool.  That sounds like the direction that I might want to go for 
this particular scenario. 
Thanks again to everyone for the helpful info and suggestions!

Tom

Patrick Linskey wrote:
> Cool!
>
> So to implement something like the constructor stuff Craig was referring
> to, you'd do:
>
> select new com.example.jpa.MyDataTransferObject(dept, oldTimers) from
> ...
>
> This should return a List<MyDataTransferObject>, populated lazily if so
> configured.
>
> -Patrick
>
>   


Mime
View raw message