The reason you don't get the column name that is causing the issue is
that the driver doesn't tell us - it's not a mybatis thing, it's just
how the driver works.
Sucks, but true.
I'd look at the data you're inserting to see which fields are null -
it's one of them. Change your mapped statement to provide jdbc types
for them, and you should be good to go.
Larry
log4j.logger.java.sql.ResultSet=DEBUG
log4j.logger.org.apache=DEBUG
log4j.logger.java.sql.Connection=DEBUG
log4j.logger.java.sql.Statement=DEBUG
log4j.logger.java.sql.PreparedStatement=DEBUG
Larry
--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
root cause
java.sql.SQLException: Invalid column type: 1111
Thanks,
Srini
for PHONE_EXT if i can give some no its working fine when i gave empty its throwing the exception (jdbcType i have tried with NUMBERIC AND BIGINT both are getting the problem. Same problem for Phone 1, 2 3