HuiChe Framework Core Java

HuiChe Framework

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.github.jmjlbmn
ArtifactId

ArtifactId

huiche-core-java
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

HuiChe Framework Core Java
HuiChe Framework

Download huiche-core-java

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
com.github.jmjlbmn : huiche-core-annotation jar 1.1.0
org.slf4j : slf4j-api jar
com.google.code.findbugs : jsr305 jar 3.0.2
org.jetbrains : annotations jar 16.0.1

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar

Project Modules

There are no modules declared in this project.

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