Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@minotaur.apache.org Received: (qmail 34642 invoked from network); 7 Jan 2010 10:38:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 10:38:27 -0000 Received: (qmail 85751 invoked by uid 500); 7 Jan 2010 10:38:27 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 85667 invoked by uid 500); 7 Jan 2010 10:38:27 -0000 Mailing-List: contact empire-db-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-dev@incubator.apache.org Received: (qmail 85494 invoked by uid 99); 7 Jan 2010 10:38:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:38:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of francisdb@gmail.com designates 209.85.220.214 as permitted sender) Received: from [209.85.220.214] (HELO mail-fx0-f214.google.com) (209.85.220.214) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 10:38:17 +0000 Received: by fxm6 with SMTP id 6so5280019fxm.20 for ; Thu, 07 Jan 2010 02:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XeDJHh8kCMjIMwgwdNKRuAFIPOoXP6oi4/qj9E9CUvk=; b=OhWK0iGDTIGg1pEom/vEOiKLtxCBA9oNLnHyIZ5PcnUqYGkJHyu4KqyGynqXCMQ24e /FUC5m7IOH7ysEwaaof/Yk04cFqjXGj4v4U9DtCgb5T67i2uMVw9pVNmRYAAqvVHOnkf B7xc0GnH/5H+vvxFgUyAVAMm3hrT6kIBXSOa4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FsgmF+smKn7D88QUkDXk2AWaT2w78fp6o1qL6PO7urSTSp/0TFyCq2+4zmck8yVkQO tTMCYHcgCzdJ9uATXLtlIV5cZ85ldMYysRDws+yMh7PtZ7fXyRnum7v6eHSlFcJ2gK3v 1n+trtLd482DG8DoaQs3JVlQrfYXnnCyJg2rw= MIME-Version: 1.0 Received: by 10.239.156.193 with SMTP id n1mr3128023hbc.187.1262860675008; Thu, 07 Jan 2010 02:37:55 -0800 (PST) In-Reply-To: <4B45388D.4050704@arcor.de> References: <4B45388D.4050704@arcor.de> Date: Thu, 7 Jan 2010 11:37:54 +0100 Message-ID: <3ab983231001070237m39b7e992gb6b0e5f7efd9cbf4@mail.gmail.com> Subject: Re: view generation support in codegen From: Francis De Brabandere To: empire-db-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Welcome to the team! strange, I did not get a svn commit mail for these changes On Thu, Jan 7, 2010 at 2:27 AM, Benjamin Venditti wrote: > Hi there, > > i am glad to announce that I've become a committer to empire-db and i'm > looking forward to work with the empire-db team. > With this announcement i also submitted my first commit in svn. Here is a > overview of my changes: > > - new feature: it is now possible to generate views, however they are not > fully functional as the function "createCommand" is not implemented > - bugfix: column names with whitespaces caused the generator to create > uncompilable classes (status: fixed) > - added mysql dependency in pom.xml > - added new configuration options in config.xml > =A0"viewClassSuffix", "tablePackageName", "recordPackageName", > "viewPackageName" > > I tested my changes with MySQL and its sample database "sakila" > (http://dev.mysql.com/doc/sakila/en/sakila.html). > > Does anyone know if there is a way to retrieve the SQL commands for the > views of a database that it holds? > > Best regards, > =A0 =A0Benjamin > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house.