You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Kevin Meyer - KMZ <ke...@kmz.co.za> on 2011/12/13 17:33:41 UTC

Support for Cayenne almost in Isis

Just a quick note.

I'm almost done with implementing support for Cayenne[1] as a data 
object store in Isis[2].

I'll not support extra Isis Objectstore query methods, rather I'll expose 
the Cayenne query interface as a service.

Additionlly, I'll not support ant datatypes other than  those native to 
Java / Cayenne.

Regards,
Kevin

[1] http://cayenne.apache.org/ 
[2] http://incubator.apache.org/isis/

Re: Support for Cayenne almost in Isis

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 13 December 2011 19:36, Kevin Meyer - KMZ <ke...@kmz.co.za> wrote:

> It's the compound data types that might be more challenging, which is
> why I'm not going to support them (e.g. Money, which requires 2 fields
> in the SQL object store).
>

as a cheap-and-cheerful first-cut, you could just save them as strings
using the EncodableFacet.  This is how the XML object store works, if I
recall.




>
> > I'm slowly working towards v0.2.0 (site stuff etc); do we think this is
> > something we'll want to release in 0.2.0?
>
>
> In short, it'll be nice, but don't let it hold you up.
>

okee dokee.

Dan

Re: Support for Cayenne almost in Isis

Posted by Kevin Meyer - KMZ <ke...@kmz.co.za>.
On 13 Dec 2011 at 17:18, Dan Haywood wrote:

> Crikey, that's impressive.  Good job.

Once I figured out how Cayenne created tables and fields, it was 
relatively straght forward to use ObjectSpecification.getAssociations() 
to make further progress.

My initial implementation is only going to work for value types, I'll have 
to see how it goes for entity relationships. Cayenne has methods to 
support these, so I'm not expecting major issues.

It's the compound data types that might be more challenging, which is 
why I'm not going to support them (e.g. Money, which requires 2 fields 
in the SQL object store).
 
> I'm slowly working towards v0.2.0 (site stuff etc); do we think this is
> something we'll want to release in 0.2.0?

I currently need to sort out seeding the SerialOid with values from 
Cayenne, entities, better tests and documentation. But first I need to 
document one of my paying projects, which will take a few days.

In short, it'll be nice, but don't let it hold you up.

Regards,
Kevin


Re: Support for Cayenne almost in Isis

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Crikey, that's impressive.  Good job.

I'm slowly working towards v0.2.0 (site stuff etc); do we think this is
something we'll want to release in 0.2.0?

Cheers
Dan
~~~~~~~~


On 13 December 2011 16:33, Kevin Meyer - KMZ <ke...@kmz.co.za> wrote:

> Just a quick note.
>
> I'm almost done with implementing support for Cayenne[1] as a data
> object store in Isis[2].
>
> I'll not support extra Isis Objectstore query methods, rather I'll expose
> the Cayenne query interface as a service.
>
> Additionlly, I'll not support ant datatypes other than  those native to
> Java / Cayenne.
>
> Regards,
> Kevin
>
> [1] http://cayenne.apache.org/
> [2] http://incubator.apache.org/isis/
>