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
Could MyBatisBatchItemWriter supports additional parameter that is not part of the item to be written?
e.g. My target db table contains the "last updated by" field which is not part of the domain object (The object doesn't have the lastUpdatedBy property). In typical MyBatis usage, I could use @param to pass additional parameter. It would be nice if MyBatisBatchItemWriter could provide some alternatives like this.
The text was updated successfully, but these errors were encountered:
Hi @simonwg , Sorry for very late reply.
I think your suggestion is useful. I will suggest a way that customizes using a Converter interface provided by Spring Framework.
See e5eda0c.
kazuki43zoo
changed the title
MyBatisBatchItemWriter supports additional parameter to written
MyBatisBatchItemWriter supports converting a parameter
Jan 22, 2019
pulllock
pushed a commit
to pulllock/mybatis-spring
that referenced
this issue
Oct 19, 2023
Could MyBatisBatchItemWriter supports additional parameter that is not part of the item to be written?
e.g. My target db table contains the "last updated by" field which is not part of the domain object (The object doesn't have the lastUpdatedBy property). In typical MyBatis usage, I could use @param to pass additional parameter. It would be nice if MyBatisBatchItemWriter could provide some alternatives like this.
The text was updated successfully, but these errors were encountered: