You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Andrus Adamchik <an...@objectstyle.org> on 2008/05/30 09:47:18 UTC

[ANN] Cayenne 3.0M4 Released

As some of you watching the website and/or the dev list may have  
noticed, we just posted 3.0M4 release. It is a very big improvement  
over M3 and earlier versions in performance and usability. Also M3  
Modeler was broken, so upgrade is highly recommended anyways :-)

For details check out the full release announcement on the site:

http://cayenne.apache.org/2008/05/29/cayenne-30m4-released.html

Cheers,
Andrus

Re: [ANN] Cayenne 3.0M4 Released

Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 30, 2008, at 12:09 PM, Andrus Adamchik wrote:

>>
>> One other thing.Looking at
>> http://cayenne.apache.org/doc/api/org/apache/cayenne/query/DeleteQuery.html 
>> ,
>> is there a typo in class comment saying: "*Deprecated.* *since 3.0.  
>> Should
>> be replaced either with EJBQL update query or SQLTemplate.*" Should  
>> there be
>> EJBQLDelete?
>
> Good catch. There is no EJBQLDelete (for whatever reason JPA spec  
> does not define it, and we followed it here)... I guess we just need  
> to clarify the javadocs.

Umm... sorry I misled you. There is no EJBQL *INSERT*, but there is  
most certainly a DELETE.

EJBQLQuery delete = new EJBQLQuery("delete from Artist a where a.id in  
(1, 2, 3)");

(id has to be an object property).

Andrus

Re: [ANN] Cayenne 3.0M4 Released

Posted by Andrus Adamchik <an...@objectstyle.org>.
On May 30, 2008, at 11:55 AM, Borut Bolčina wrote:

> I tried launching Cayenne Modeler within Eclipse by clicking on  
> cayenne.xml
> (I associated cayenne-3.0M4-win\bin\CayenneModeler.exe with  
> cayenne.xml
> before at General/Editors/File Associations in Eclipse preferences)  
> and it
> still does not open a project in the modeler, although the modeler  
> starts
> (as in M3). This worked in some previous versions (I don't remember  
> which
> ones).

Probably it worked back in 1.2.x when we used a different technology  
for .exe wrapper that we had to drop in favor of NSIS for licensing  
reasons. I think this is achievable with NSIS as well, we may just  
need somebody versed into Windows programming to help us fix it (I  
think it has something to do with CLASPATH definition relying on  
relative path in japplication plugin that produces the .exe: [1])


> One other thing.Looking at
> http://cayenne.apache.org/doc/api/org/apache/cayenne/query/DeleteQuery.html 
> ,
> is there a typo in class comment saying: "*Deprecated.* *since 3.0.  
> Should
> be replaced either with EJBQL update query or SQLTemplate.*" Should  
> there be
> EJBQLDelete?

Good catch. There is no EJBQLDelete (for whatever reason JPA spec does  
not define it, and we followed it here)... I guess we just need to  
clarify the javadocs.

Andrus

[1] https://svn.objectstyle.org/repos/woproject/trunk/woproject/woproject-ant-tasks/src/resources/japplication/windows/app.nsi

Re: [ANN] Cayenne 3.0M4 Released

Posted by Borut Bolčina <bo...@gmail.com>.
Great! Thank to all!

Maven download went with success on the first try, can you imagine :-)
I also downloaded the win distribution manually.

I tried launching Cayenne Modeler within Eclipse by clicking on cayenne.xml
(I associated cayenne-3.0M4-win\bin\CayenneModeler.exe with cayenne.xml
before at General/Editors/File Associations in Eclipse preferences) and it
still does not open a project in the modeler, although the modeler starts
(as in M3). This worked in some previous versions (I don't remember which
ones).

One other thing.Looking at
http://cayenne.apache.org/doc/api/org/apache/cayenne/query/DeleteQuery.html,
is there a typo in class comment saying: "*Deprecated.* *since 3.0. Should
be replaced either with EJBQL update query or SQLTemplate.*" Should there be
EJBQLDelete?

Thanks again,
Borut


2008/5/30 Andrus Adamchik <an...@objectstyle.org>:

> As some of you watching the website and/or the dev list may have noticed,
> we just posted 3.0M4 release. It is a very big improvement over M3 and
> earlier versions in performance and usability. Also M3 Modeler was broken,
> so upgrade is highly recommended anyways :-)
>
> For details check out the full release announcement on the site:
>
> http://cayenne.apache.org/2008/05/29/cayenne-30m4-released.html
>
> Cheers,
> Andrus
>