Closed JamesGay closed 9 years ago
Previously, an annotated method with a parameter type of String, Date or byte[] would fail with exception.
@Column(COL_FIRSTNAME) public void setFirstname(String firstName) { this.firstname = firstname; }
Error:(38, 15) error: Unsupported type java.lang.String as parameter...
This was caused by MethodCodeFactory using the method type (return type?) instead of the parameter type.
MethodCodeFactory
There was also a closing bracket missing when generating ContentValues builder methods for Date fields.
Thanks!
I have release your fix in 0.2.2. May takes some hours to be synced with maven central
0.2.2
Awesome - thanks :)
Previously, an annotated method with a parameter type of String, Date or byte[] would fail with exception.
This was caused by
MethodCodeFactory
using the method type (return type?) instead of the parameter type.There was also a closing bracket missing when generating ContentValues builder methods for Date fields.