cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zeigler <>
Subject Re: my first cayenne project
Date Sat, 14 Dec 2013 22:53:14 GMT
Hi Michael,

I haven't tried grails, so I don't know whether there is any interaction there.
But my code is littered with:

SelectQuery q = new SelectQuery(SomeEntity.class);

And it all works.

So it sounds like there may be some issue with your environment?

What version of Cayenne are you using?


On Dec 14, 2013, at 12/1412:24 PM , Michael Hatch <> wrote:

> Hello developers,
> I just started my first project utilizing cayenne (and grails). I was
> surprised that following the tutorial was not working for me, by which I
> mean I could not get a simple SelectQuery(Class) to return anything other
> than null. I downloaded the source to the server jar and identified that
> the non-default constructor did nothing. I modified the source to have the
> non-default construct that accepts a class or a string to call "this()"
> before calling init and all was well. I have no idea how you have had so
> many releases and tutorial documentation stating that a simple
> SelectQuery(Class) would return anything, when clearly it doesn't.

View raw message