Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议自动生成代码模块完善对MyBatis的支持 #79

Open
GoogleCodeExporter opened this issue Aug 11, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

新建问题前你可以搜索是否已经存在该问题或是查看google
group

rapid版本:4.0

好像新的mybatis要求mapper中对于允许为空的字段,必须注明jdbc
Type,例如:
#{email,jdbcType=VARCHAR} ,
否则在增加、修改数据时会出现错误:
### Error updating database.  Cause: org.apache.ibatis.type.TypeException: 
Error setting null parameter.  Most JDBC drivers require that the JdbcType must 
be specified for all nullable parameters. Cause: java.sql.SQLException: 
无效的列类型: 1111
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### Cause: org.apache.ibatis.type.TypeException: Error setting null parameter.  
Most JDBC drivers require that the JdbcType must be specified for all nullable 
parameters. Cause: java.sql.SQLException: 无效的列类型: 1111



建议完善这部分的支持。

另外发现在最近好长时间rapid都没有代码更新了,很是担心,
希望作者能坚持下去。

Original issue reported on code.google.com by Leap...@gmail.com on 3 Aug 2011 at 8:01

@GoogleCodeExporter
Copy link
Author

多谢鼓励.希望能坚持下去,发布一个版本.

Original comment by bad...@gmail.com on 3 Aug 2011 at 4:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant