Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui に、 LocalDateHandler が必要な理由は? #17

Closed
masuda220 opened this issue Jun 25, 2015 · 4 comments
Closed

ui に、 LocalDateHandler が必要な理由は? #17

masuda220 opened this issue Jun 25, 2015 · 4 comments
Labels

Comments

@masuda220
Copy link
Contributor

ui にも、 MyBatis の LocalDateHandler がありますが、これ、必要な理由はなんでしょうか?

@haljik
Copy link
Contributor

haljik commented Jun 25, 2015

MyBatisのバグで、ネストしたJarファイルにあるTypeHandlerを見つけられない為です。
core側にはテストで使うので必要。ui側でも必要となります。

mybatis/mybatis-3#325

@kazuki43zoo
Copy link

packageスキャンではなく、個別に指定する方式はどうでしょうか?
kazuki43zoo/spring-boot-mybatis-sample@adf9b24

TypeHandlerはそんなに大量に作るものではないと思うので、バグの回避策としては個別指定にしておいて、MyBatisが直るのを待つのがよい気がします。

@haljik
Copy link
Contributor

haljik commented Jun 25, 2015

ありがとうございます!
なるほどです。

@masuda220 masuda220 changed the title ui に、 LocalDateHandler は必要な理由は? ui に、 LocalDateHandler が必要な理由は? Jun 26, 2015
@haljik
Copy link
Contributor

haljik commented Jun 26, 2015

個別指定して回避し、uiに配置していたTypeHandlerを削除しました。

@haljik haljik closed this as completed Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants