I have a problem with MyBatis mapping. I have a domain class like this:
public class MyClass { private Long id; private Date create; private String
You can use the @ConstructorArgs instead as follows:
@ConstructorArgs
@ConstructorArgs({ @Arg(column = "id", javaType = Long.class) ,@Arg(column = "create", javaType = Date.class) ,@Arg(column = "content", javaType = String.class) })