Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

isxcode/spring-oxygen

spring-oxygen

Spring Oxygen

πŸ¦„ Spring rapid development integration framework.

Github Build Maven Version Language grade: Java Coverage Status FOSSA Status

PRs Welcome Gitpod ready-to-code Discussions on github

Github Watch Github Star Github Fork

🐣 Introduce

Spring Oxygen is rapid development integration framework for Spring . Important statement, enterprise-level development is recommended to be used with caution! For instructions on use, please check the website carefully. Welcome to develop and maintain together, please follow the GitHub development specification.

πŸ“¦ Installation

Maven Version

  • For Gradle
dependencies {
    implementation 'com.isxcode.oxygen:oxygen-spring-boot-starter:1.9.1'
}
  • For Maven
<dependency>
    <groupId>com.isxcode.oxygen</groupId>
    <artifactId>oxygen-spring-boot-starter</artifactId>
    <version>1.10.3</version>
</dependency>

πŸ”¨ Usage

spring:
  datasource:
    driver-class-name: org.h2.Driver
    url: jdbc:h2:~/h2
    username: root
    password: root
@Repository
public class MetaDataRepository {

    private final Flysql flysql;

    public MetaDataRepository(Flysql flysql) {
        this.flysql = flysql;
    }
    

    public List<MetaData> queryJdbcMetaData() {

        return flysql.build().select(MetaData.class)
            .select("col1", "col2", "col3")
            .eq("col4", "val1")
            .between("col2", 0, 1)
            .like("col3", "green")
            .orderBy("col4", OrderType.DESC)
            .query();
    }
}

πŸ“’ Documentation

Check out the Getting Started page for a quick overview.

πŸ‘ Contributing

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Spring Oxygen.


Thanks for free JetBrains Open Source license

jetbrains