You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jeff Butler (JIRA)" <ib...@incubator.apache.org> on 2006/07/27 03:47:15 UTC

[jira] Created: (IBATIS-328) Add Ability to Generate a Flat Domain Model to Abator

Add Ability to Generate a Flat Domain Model to Abator
-----------------------------------------------------

                 Key: IBATIS-328
                 URL: http://issues.apache.org/jira/browse/IBATIS-328
             Project: iBatis for Java
          Issue Type: New Feature
          Components: Tools
         Environment: All
            Reporter: Jeff Butler
         Assigned To: Jeff Butler


Finally getting back to this...

Following a discussion on the dev list, it seems that there are two distinct preferences for the types of "domain" objects generated by Abator.  Some like the current paractice of separate classes for primary key and BLOB fields, others prefer that only one class is generated for each table.

Both options are valid, and both may have a place at different times.  Since this is more a style issue than something that has a "right" or "wrong" answer, we should provide code and configuration options to allow generation of either style of domain objects.

This should be configurable on a table-by-table basis, and there should also be the ability to set a default style for an entire context.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (IBATIS-328) Add Ability to Generate a Flat Domain Model to Abator

Posted by "Jeff Butler (JIRA)" <ib...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/IBATIS-328?page=all ]

Jeff Butler closed IBATIS-328.
------------------------------

    Resolution: Fixed

Fixed in SVN

> Add Ability to Generate a Flat Domain Model to Abator
> -----------------------------------------------------
>
>                 Key: IBATIS-328
>                 URL: http://issues.apache.org/jira/browse/IBATIS-328
>             Project: iBatis for Java
>          Issue Type: New Feature
>          Components: Tools
>         Environment: All
>            Reporter: Jeff Butler
>         Assigned To: Jeff Butler
>
> Finally getting back to this...
> Following a discussion on the dev list, it seems that there are two distinct preferences for the types of "domain" objects generated by Abator.  Some like the current paractice of separate classes for primary key and BLOB fields, others prefer that only one class is generated for each table.
> Both options are valid, and both may have a place at different times.  Since this is more a style issue than something that has a "right" or "wrong" answer, we should provide code and configuration options to allow generation of either style of domain objects.
> This should be configurable on a table-by-table basis, and there should also be the ability to set a default style for an entire context.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira