Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1C152E04 for ; Tue, 3 May 2011 18:20:24 +0000 (UTC) Received: (qmail 11039 invoked by uid 500); 3 May 2011 18:20:24 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 11016 invoked by uid 500); 3 May 2011 18:20:24 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 10995 invoked by uid 99); 3 May 2011 18:20:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 18:20:24 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 May 2011 18:20:18 +0000 Received: (qmail 16665 invoked from network); 3 May 2011 18:19:56 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 3 May 2011 18:19:56 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Pojos generation From: Andrus Adamchik In-Reply-To: <1304429126912-2894233.post@n3.nabble.com> Date: Tue, 3 May 2011 21:19:55 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1304429126912-2894233.post@n3.nabble.com> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org If you want custom Java code based on the Cayenne model, then yes, = "cgen" + custom template is the way to go.=20 Andrus On May 3, 2011, at 4:25 PM, felix wrote: > Hi, >=20 > We have created a new template pojo.vm in order to generate the pojos > automatically, using the cayenne cgen goal of the cayenne maven = plugin. It > is more or less working but we developed it on our own (not cayenne > standard). >=20 > (We are trying to evaluate whether a DTO layer is suitable or not) >=20 > does anybody know other better way to generate those pojos? >=20 >=20 > Thanks a lot in advance > Felix >=20 > -- > View this message in context: = http://cayenne.195.n3.nabble.com/Pojos-generation-tp2894233p2894233.html > Sent from the Cayenne - User mailing list archive at Nabble.com. >=20