Skip to content
This repository was archived by the owner on Dec 30, 2018. It is now read-only.

Conversation

@raupachz
Copy link
Contributor

@raupachz raupachz commented Aug 4, 2016

We are using this YearMonthTypeHandler in production for a while and it might be a good addition to mybatis/typehandler-jsr310.

Since YearMonth depends upon a year value and a month value we expect column values as Strings in the format 'uuuu-mm'. We just feed this value YearMonth.parse.

Maybe someone could have a look at the UnitTests. I don't use Mockito so I had to look on the other unit test classes to make it work.

@hazendaz hazendaz merged commit 4fb9653 into mybatis:master Dec 29, 2016
@kazuki43zoo kazuki43zoo added this to the 1.0.2 milestone Dec 30, 2016
kazuki43zoo added a commit that referenced this pull request Dec 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants