HuiChe Framework


License

License

GroupId

GroupId

com.github.jmjlbmn
ArtifactId

ArtifactId

huiche
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

HuiChe Framework
HuiChe Framework
Project URL

Project URL

https://github.com/jmjlbmn/huiche
Source Code Management

Source Code Management

https://github.com/jmjlbmn/huiche

Download huiche

Filename Size
huiche-1.1.0.pom 9 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jmjlbmn/huiche/ -->
<dependency>
    <groupId>com.github.jmjlbmn</groupId>
    <artifactId>huiche</artifactId>
    <version>1.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.jmjlbmn/huiche/
implementation 'com.github.jmjlbmn:huiche:1.1.0'
// https://jarcasting.com/artifacts/com.github.jmjlbmn/huiche/
implementation ("com.github.jmjlbmn:huiche:1.1.0")
'com.github.jmjlbmn:huiche:pom:1.1.0'
<dependency org="com.github.jmjlbmn" name="huiche" rev="1.1.0">
  <artifact name="huiche" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.jmjlbmn', module='huiche', version='1.1.0')
)
libraryDependencies += "com.github.jmjlbmn" % "huiche" % "1.1.0"
[com.github.jmjlbmn/huiche "1.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • huiche-core
  • huiche-config
  • huiche-extra

HuiChe

build maven FOSSA Status

基于SpringBoot和QueryDsl的快速开发框架

主要功能

  • 基于QueryDsl的快速,类型安全的SQL查询
  • 涵盖大部分单表查询场景的通用Dao
  • 方便实用的关联查询
  • 基于java.util.function编写的函数式编程方式的动态数据筛选功能
  • 基于jsr-303(Bean Validation)的注解式验证
  • 基于jsr-305的静态分析
  • 提供restful和传统单post两种方式的常用增删改查功能的BaseController
  • huiche-spring-boot-starter快速搭建项目
  • 基于实体类注解的Sql建表支持,可独立框架外使用,支持修改字段和删除字段,详细参考: sql-builder

使用参考

快速开始

一、parent方式(推荐)

<project>
    <parent>
        <groupId>org.huiche</groupId>
        <artifactId>huiche</artifactId>
        <version>${huiche.version}</version>
    </parent>
    <dependencies>
        <dependency>
            <groupId>org.huiche</groupId>
            <artifactId>huiche-spring-boot-starter</artifactId>
            <version>${huiche.version}</version>
        </dependency>
    </dependencies>
</project>

二、dependencyManagement方式

<project>
    <properties>
        <!--使用此方式,需要额外指定java版本(>=8)-->
        <java.version>1.8</java.version>
        <maven.compiler.source>${java.version}</maven.compiler.source>
        <maven.compiler.target>${java.version}</maven.compiler.target>
    </properties>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.huiche</groupId>
                <artifactId>huiche</artifactId>
                <version>${huiche.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.huiche</groupId>
            <artifactId>huiche-spring-boot-starter</artifactId>
        </dependency>
    </dependencies>
</project>

如果使用SNAPSHOT版本,需要额外配置SNAPSHOT仓库

<repositories>
  <repository>
      <id>oss</id>
      <name>oss snapshots</name>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
      <releases>
          <enabled>false</enabled>
      </releases>
      <snapshots>
          <enabled>true</enabled>
      </snapshots>
  </repository>          
</repositories>

License

FOSSA Status

Versions

Version
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0