ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corné A" <tri...@gmail.com>
Subject Re: javaModelGenerator order of members
Date Mon, 10 Mar 2008 17:52:23 GMT
Jeff,

You're absolutely right I looked at a table view instead of a table, hence ...

Thanks.

> Abator generates fields first, then getters/setters for each field.  The
> order of members is the order in which the columns are returned from the
> JDBC driver (should be based on the ordinal position of the column in the
> table unless there's a bug in your JDBC driver).
>
> This could be overridden by primary key and BLOB columns.  Primary key
> columns will always be first, BLOB columns will always be last, other
> columns in the middle.
>
> Jeff Butler
>
>
> On Mon, Mar 10, 2008 at 10:06 AM, Corné A <tricae@gmail.com> wrote:
>
> > The order of the generated members are not in exact table order.
> > I can't make out a logical explanation of this behaviour.
> >
> > This would be handy for me in my WDSC or Rational Development Studio.
> >
> > How can I accomplish this ?
> >
>
>

Mime
View raw message