Skip to content

codimiracle/mybatis-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend Componet - MyBatis Contract

Build Status

provides very useful class definitions for mybatis persistence framework.

Features

  • Basic PO Support
  • Extends VO Support
  • MyBatis integrated
    • MyBatis PageHelper
  • LogicDelete Enhanced

Installation

Maven:

<dependency>
    <groupId>com.codimiracle.web</groupId>
    <artifactId>mybatis-contract</artifactId>
    <version>1.0.1-SNAPSHOT</version>
</dependency>

Gradle: (TODO)

Manual:

  1. clone the repo
  2. using maven compile and install
  3. import in the project

Usages

Basically, you can extends the AbstractService (VO supported in the support.vo package.)

// ExampleService
// omits MyBatis Mapper class and Mapper.xml
class ExampleService extends AbstractService<Long, Example> {}

Releases

No releases published

Packages

No packages published