Grokbase Groups Cayenne user May 2015
FAQ
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 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 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


Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
groupuser @
categoriescayenne
postedMay 12, '15 at 5:51p
activeMay 13, '15 at 8:39a
posts4
users3
websitecayenne.apache.org

People

Translate

site design / logo © 2021 Grokbase