cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Meyer - KMZ" <>
Subject Re: Is it possible/easy to integrate cayenne with other frameworks?
Date Fri, 09 Dec 2011 16:58:02 GMT
Indeed - The Isis SQL objectstore itself works by making assumptions 
about jdbc type, etc. The defaults can be altered at runtime, but most 
work out-of-the-box against MySQL, PostgreSQL and HSQLDB.

On 8 Dec 2011 at 9:10, John Huss wrote:

> > I was hoping that I could merely require that Cayenne-managed
> > POJOs extend a Cayenne-compatible base class, and no more, and
> > that only getXXX/setXXX methods would be used to map XXX into the
> > ORM. In Isis, a getXXX-only implies a read-only property, and setYYY
> > only is for injecting services. Neither of which are passed to the Isis
> > ORM.
> >
> You could probably reverse-engineer a model by introspecting specific
> classes, but you would have to make assumptions about the database mapping
> information (jdbc type, width, scale precision) unless that is available
> via annotations in your classes.

View raw message