org.huiche:test

huiche framework Powered by spring-boot and querydsl

License

License

GroupId

GroupId

org.huiche
ArtifactId

ArtifactId

test
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

huiche framework Powered by spring-boot and querydsl

Download test

How to add to project

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

Dependencies

provided (3)

Group / Artifact Type Version
org.projectlombok : lombok jar
com.google.code.findbugs : jsr305 jar 3.0.2
org.jetbrains : annotations jar 17.0.0

test (5)

Group / Artifact Type Version
org.huiche : huiche-spring-boot-starter jar 1.2.0
org.springframework.boot : spring-boot-starter-test jar
org.huiche : huiche-sql-builder jar 1.2.0
mysql : mysql-connector-java jar
org.reflections : reflections jar 0.9.11

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.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7