Skip to content

FlyInWind1/mybatis-3

 
 

Repository files navigation

MyBatis SQL Mapper Framework for Java

build Coverage Status Maven central Sonatype Nexus (Snapshots) License Stack Overflow Project Stats

mybatis

The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using an XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools.

Essentials

Maven

<dependency>
    <groupId>io.github.flyinwind1</groupId>
    <artifactId>mybatis</artifactId>
    <version>3.5.11.2</version>
</dependency>

Todo

  • Use jackson JavaType instead of Class to parse GenericType
  • Create an interface ResolvedType to hide JavaType
  • Impl ListTypeHandler SetTypeHandler
  • Compatible with spring-mybatis, mybatis-plus
  • Make xml resultType and resultMap not required
  • Register all handleable type of ArrayTypeHandler to TypeHandlerRegister
  • Pass ParamMap values`s type to SqlSourceBuilder
  • Cache ResolvedType and ResolvedMethod
  • Resolve types in xml tags like <foreach>
  • Impl SpringResolvedType wrap org.springframework.core.ResolvableType
  • Impl build in SimpleResolvedType

About

MyBatis SQL mapper framework for Java

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.4%
  • Other 0.6%