ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javaguy44 <javagu...@yahoo.com>
Subject Re: ibator - generate all tables for a schema w/out defining <table> element for each table
Date Wed, 22 Apr 2009 21:07:31 GMT

Excellent - that does the trick.  Thx v much



Jeff Butler-2 wrote:
> 
> You can do this:
> 
> <table schema="MySchema" tableName="%" />
> 
> This will pick all tables in the schema.
> 
> Jeff Butler
> 
> 
> On Mon, Feb 2, 2009 at 3:39 AM, javaguy44 <javaguy44@yahoo.com> wrote:
>>
>> Hi,
>>
>> I've been a happy ibatis, abator, ibator user for a little while now, but
>> there is one feature missing that I think would make my life a lot
>> easier...and possibly others.  Is there a way to generate all tables for
>> a
>> schema w/out specifying <table> element in ibator config.xml?
>>
>> My current workflow when doing DDL changes is as follows:
>> 1.  use GUI datamodeling tool to define / modify columns etc.
>> 2.  actually create schema + tables in DB via script run etc.
>> 3.  modify my ibator config by adding a new <table> element per new
>> table.
>> 4.  generate my classes.
>>
>> It would be SUPER if we can eliminate step 3.  I can appreciate the need
>> to
>> override default behavior via <table> elements, but for some of us who
>> don't
>> need step 3, it seems anti DRY.
>>
>> Perhaps this functionality is already available and I don't know about
>> it?
>> Would love to hear that.
>>
>> Many thanks
>> --
>> View this message in context:
>> http://www.nabble.com/ibator---generate-all-tables-for-a-schema-w-out-defining-%3Ctable%3E-element-for-each-table-tp21786658p21786658.html
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/ibator---generate-all-tables-for-a-schema-w-out-defining-%3Ctable%3E-element-for-each-table-tp21786658p23175862.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message