cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: The "Datamap" class?
Date Wed, 13 May 2015 08:35:26 GMT
Correct. Datamap class may have more good stuff in the future, but for now it is of limited
use. And IIRC we made its generation optional in the latest versions of 4.0 Modeler (and it
is not generated from Ant / Maven unless you explicitly tell Cayenne to do it). 

Andrus

> On May 12, 2015, at 9:59 PM, John Huss <johnthuss@gmail.com> wrote:
> 
> Yes.  The only thing it does currently is it will contain constants for the
> query names for any queries you define IN CayenneModeler.
> 
> On Tue, May 12, 2015 at 12:51 PM Hugi Thordarson <hugi@karlmenn.is> wrote:
> 
>> Hi all,
>> 
>> I’m curious—what is the purpose of the “Datamap” class generated by
>> Cayenne? I gave the docs an (admittedly superficial) glance but couldn't
>> find anything about it. In all of my cayenne projects, it's just a class
>> with one method “getInstance()”, that returns a lazily generated instance
>> of itself. Can I delete it?
>> 
>> - hugi
>> 
>> // Hugi Thordarson
>> // http://www.loftfar.is/ <http://www.loftfar.is/>
>> // s. 895-6688
>> 
>> 
>> 
>> 


Mime
View raw message