Support for this is now available in SVN. Jeff Butler
On Fri, Mar 20, 2009 at 6:57 AM, Jeff Butler <jeffgbut...@gmail.com> wrote: > Interesting idea. > > Ibator does not currently capture database field comments from the > metadata, so there's no simple way to do this now. > > It's a relatively simple change to add it. I'd need to change the > CommentGenerator interface to expose it - hopefully that won't cause > too much trouble for people. I'll look into it. > > Jeff Butler > > > On Thu, Mar 19, 2009 at 4:30 PM, Benjamin-Klatt <benja...@bar54.de> wrote: >> >> Hi all, >> >> I am trying to use the comment I modeled in my database to be automatically >> used in javadoc comment of the data fields within the java data model source >> code. >> >> I started to implement my own commentGenerator, but the method >> addFieldComment(Field field, FullyQualifiedTable, String columnName) >> does not provide the required information. There is no element that provides >> access to the comment of the appropriate column in the database. >> >> Does someone has implement a solution for this or at least does know this >> information could be accessed? >> >> Thanks in advance >> Benjamin >> -- >> View this message in context: >> http://www.nabble.com/iBator-CommentGenerator%3A-Java-Model-Class-with-database-column-comment-tp22608433p22608433.html >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >> >> >