Does mybatis + MySQL 5.7 support database Json type mapping Java objects?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Does mybatis + MySQL 5.7 support database Json type mapping Java objects?

lerryli
I need to map the Json type column of Mysql database to Java objects, 
But I don't want to have too many configurations in the XML file.
Do Mybatis have a better solution now?

It's not very satisfying.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Does mybatis + MySQL 5.7 support database Json type mapping Java objects?

Erwan Letessier
Statements do not look too complex. They can likely be moved as they are into annotations.

On Fri, Nov 30, 2018, 19:02 <[hidden email] wrote:
I need to map the Json type column of Mysql database to Java objects, 
But I don't want to have too many configurations in the XML file.
Do Mybatis have a better solution now?

It's not very satisfying.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.