|
I found 2 problems when use the mybatis-generator,
1. when using the java mode, it don't show anything when there are errors or exceptions 2. it generate too much useless comments, such as /** * This method was generated by MyBatis Generator. * This method returns the value of the database column szstd.dbo.std3.a108 * * @return the value of szstd.dbo.std3.a108 * * @mbggenerated Fri Apr 20 14:00:33 CST 2012 */ is there some config parameter that I missing or could it be solved? thanks |
|
If the comments cause you heartburn, you can disable them. See here:
http://www.mybatis.org/generator/configreference/commentGenerator.html I don't know what you mean about errors/exceptions. Can you be more specific? Jeff Butler On Fri, Apr 20, 2012 at 2:09 AM, qq <[hidden email]> wrote: > I found 2 problems when use the mybatis-generator, > 1. when using the java mode, it don't show anything when there are > errors or exceptions > 2. it generate too much useless comments, such as > /** > * This method was generated by MyBatis Generator. > * This method returns the value of the database column > szstd.dbo.std3.a108 > * > * @return the value of szstd.dbo.std3.a108 > * > * @mbggenerated Fri Apr 20 14:00:33 CST 2012 > */ > is there some config parameter that I missing or could it be solved? > thanks |
|
yeah, I found it, I appreciated your timely response very much. As for the errors/exceptions, I mean, I run the java program to generate the pojos etc, it didn't output anything because the output folder was existed, then I used the ant to generate the pojos, it tolds me that the folder
I supplied was not exist, you can replay this situation yourself easily
On Fri, Apr 20, 2012 at 8:10 PM, Jeff Butler <[hidden email]> wrote: If the comments cause you heartburn, you can disable them. See here: |
|
sorry, a typo on my last letter, so I rewrite it again
yeah, I found it, I appreciated your timely response very much. As for the errors/exceptions, I mean, I run the java program to generate the pojos etc, it didn't output anything because the output folder was existed, then I used the ant to generate the pojos, it tolds me that the folder
I supplied was not exist, you can replay this situation yourself easily On Fri, Apr 20, 2012 at 9:52 PM, chenqiang <[hidden email]> wrote:
|
|
I just tried it to be sure and I see warning messages about a missing
directory in the console output. Jeff Butler On Fri, Apr 20, 2012 at 9:58 AM, chenqiang <[hidden email]> wrote: > sorry, a typo on my last letter, so I rewrite it again > yeah, I found it, I appreciated your timely response very much. As for the > errors/exceptions, I mean, I run the java program to generate the pojos etc, > it didn't output anything because the output folder was existed, then I used > the ant to generate the pojos, it tolds me that the folder > I supplied was not exist, you can replay this situation yourself easily > > On Fri, Apr 20, 2012 at 9:52 PM, chenqiang <[hidden email]> wrote: >> >> yeah, I found it, I appreciated your timely response very much. As for the >> errors/exceptions, I mean, I run the java program to generate the pojos etc, >> it didn't output anything because the output folder was not existed, then I >> used the ant to generate the pojos, it tolds me that the folder >> I supplied was not exist, you can replay this situation yourself easily > > |
|
Jeff, Thank your for your precious time and efforts, anyway, I use ant to generate the pojo etc, and it can give me a hint if anything goes wrong
On Sat, Apr 21, 2012 at 12:53 AM, Jeff Butler <[hidden email]> wrote: I just tried it to be sure and I see warning messages about a missing |
| Powered by Nabble | Edit this page |
