Re: Generating source code from sql statement

2008-11-20 Thread Alex Shneyderman
r-java@ibatis.apache.org > Subject: Re: Generating source code from sql statement > > Hi Ben, > > You can't generate from a query, but you can generate from a view. > > I don't know if that will help in your case, but it is an option. > > Regards, > Dan Turk

Re: Generating source code from sql statement

2008-11-20 Thread Larry Meadors
On Thu, Nov 20, 2008 at 3:25 AM, Ben Shory <[EMAIL PROTECTED]> wrote: > Is there any way to generate the domain object from a query (from multiple > tables) and not from a table? That's kind of an interesting idea - you could do that from JDBC's resultset metadata...someone ought to build that. :

RE: Generating source code from sql statement

2008-11-20 Thread Ben Shory
Thanks, i will automate a view creation form my queries and than generate the sources. From: Dan Turkenkopf [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2008 2:51 PM To: user-java@ibatis.apache.org Subject: Re: Generating source code from sql statement

Re: Generating source code from sql statement

2008-11-20 Thread Dan Turkenkopf
7;ve always pointed A(I)Bator at one the tables in the query and then hand > coded the rest - Doesn't take very long. > > > --- On Thu, 20/11/08, Ben Shory <[EMAIL PROTECTED]> wrote: > > > From: Ben Shory <[EMAIL PROTECTED]> > > Subject: Generating source co

Re: Generating source code from sql statement

2008-11-20 Thread charlie bird
Don't think so. I've always pointed A(I)Bator at one the tables in the query and then hand coded the rest - Doesn't take very long. --- On Thu, 20/11/08, Ben Shory <[EMAIL PROTECTED]> wrote: > From: Ben Shory <[EMAIL PROTECTED]> > Subject: Generating source c

Generating source code from sql statement

2008-11-20 Thread Ben Shory
Hi, Is there any way to generate the domain object from a query (from multiple tables) and not from a table?