You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
What version of the MyBatis are you using?
mybatis-generator 1.3.2
mybatis 3.1.1
Please describe the problem. Unit tests are best!
I configed the table element in my generatorConfig.xml like this:
<table tableName="TBL_ONLINE_TXN_LOG_DAILY"
domainObjectName="OnlineTxnLogDaily"/>
and the generated interface "OnlineTxnLogDailyMapper.java" has a compile error:
the return type of the method "selectByPrimaryKey" has a suffix of "WithBLOBs",
but there is no class named "OnlineTxnLogDailyWithBLOBs"
What is the expected output? What do you see instead?
the expected output is the reture type of "selectByPrimaryKey" has no suffix.
I see the return type of "selectByPrimaryKey" has a suffix of "WithBLOBs" and
it cause a compile error.
Can you provide stack trace, logs, error messages that are displayed?
no more information.
Please provide any additional information below.
after reading the source code of mybatis-generator,I found the default
modelType "Conditional" will cause this error, and when I changed it to "FLAT"
it worked properly.
Original issue reported on code.google.com by joesun1...@gmail.com on 17 Mar 2013 at 4:05
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
joesun1...@gmail.com
on 17 Mar 2013 at 4:05The text was updated successfully, but these errors were encountered: