cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Feshbach <>
Subject Re: For those of us who want getters without the get-prefix (e.g. EOF fugitives)
Date Sun, 17 Apr 2016 17:00:22 GMT
I think that will break PropertyUtils/BeanAccessor. BeanAccessor uses
JavaBeans naming conventions but doesn't look at BeanInfo.

On Thu, Apr 14, 2016 at 5:34 PM, Hugi Thordarson <> wrote:

> Hi all,
> if you’d like to drop the “get"-prefix from your DataObject accessor
> methods, here’s a pom-file and a template to help. The pom/template
> combination generates a BeanInfo class for each entity that java reads to
> check the names of getter and setter methods. If you use this, Cayenne will
> function perfectly with getter methods that don’t include the “get”-prefix.
> I included the wosuperclass-template which generate EOF style DataObject
> classes, just to make the example complete.
> - hugi

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message