Hi Guy, I'm glad you are finding some value from Ibator.
I have no plans to do a generate from a select statement. I'm not opposed to it philosophically - I just have limited time right now. Feel free to work on a patch if you are interested. Jeff Butler On Thu, Nov 12, 2009 at 1:34 AM, Guy Rouillier <guyr-...@burntmail.com> wrote: > Jeff Butler wrote: >> >> Ibator updates for iBATIS3 are now in SVN. > > ... >> >> Let me know if you encounter any difficulties. > > Jeff, thanks for your work on this. I've been using iBATIS 3 and Ibator > 1.2.2 on a new project and the capabilities are great! I have one issue. > Just yesterday, I had a complex SELECT statement I was trying to use. I > started typing up the result map by hand and that got tedious. So, I took > the easy way out and in the database, did a CREATE TABLE AS SELECT... ; this > is Oracle, btw. That worked fine; I was then able to run Ibator against the > table. > > My question is, with Ibator 3 will we be able to ask it to generate output > based on a supplied SELECT statement? Or is it still restricted to tables > (and views)? I took a quick look at the SVN repository online and the DTD > still only shows "table" as the way to generate artifacts. > > Hmm, another thought. I typed up the SELECT statement in the iBATIS mapper > file after first testing it in Oracle. I then started working on the result > map. Would it be possible to tell Ibator to use an iBATIS SQL statement ID > as the source for generating artifacts? > > Thanks. > > -- > Guy Rouillier > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org > For additional commands, e-mail: user-java-h...@ibatis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org