There is a generics template on the wiki:
http://objectstyle.org/confluence/display/CAY/Generics+Superclass+Template
I don't know if anybody else has used it, but I've been using it with
great success for a while now. As far as 1.5 in general - you should
know that it is not possible to use Cayenne without generic warnings
(even though you can genericize the class wrappers, performQuery is
not genericized). Shouldn't matter though.....uppressWarnings is your
friend :)
Other than that, it works great. I've used both 1.1 and 1.2
successfully for a good long while now.
On 2/13/06, Jeff de Vries <jdevrie..frog.com> wrote:
> Is it safe to use Cayenne with Java 1.5? Based on other comments I
> think it is, but is there anything you need to do or watch out for?
>
> Can the auto-generated classes create "genericized" methods (e.g.
> List<Foo> getFooArray())?
>
> Thanks again,
> Jeff de Vries
>
>
This archive was generated by hypermail 2.0.0 : Tue Feb 14 2006 - 00:12:46 EST