diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 00000000..9308dc19
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,41 @@
+name: "CodeQL"
+
+on:
+ push:
+ branches: [ "master", "1.x.x" ]
+ pull_request:
+ branches: [ "master" ]
+ schedule:
+ - cron: "26 11 * * 3"
+
+jobs:
+ analyze:
+ name: Analyze
+ runs-on: ubuntu-latest
+ permissions:
+ actions: read
+ contents: read
+ security-events: write
+
+ strategy:
+ fail-fast: false
+ matrix:
+ language: [ java ]
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: ${{ matrix.language }}
+ queries: +security-and-quality
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2
+ with:
+ category: "/language:${{ matrix.language }}"
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 61937267..86e15a12 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@
- Feature: startsWith, contains, endsWith, notStartsWith, notContains and notEndsWith for like and notLike
- Feature: Group By for Simple DSL
- Feature: Having for Simple DSL
+- Feature: Simple one type read for Simple DSL
- Feature: SQL Ansi Aggregation Functions (COUNT, SUM, MIN, MAX, AVG)
- Feature: Quarkus Extension module
- Feature: FrameworkIntegrationService for Integration with external framework like Quarkus or Micronaut
@@ -16,10 +17,32 @@
- Feature: Support for Metrics using MetricsTracker
- Feature: DB2 Sql Specifics
- Feature: Bean Provider for Bean Validation
+- Feature: Cascade delete on not initialized lazy entities
+- Feature: UUID SqlAccessor
+- Feature: Merge for Entities
+- Feature: Simple DSL distinct select
+- Feature: Added missing methods from Optional to Result
+- Feature: Count and hasResults for DSL
+- Feature: Distinct for DSL Entity Select
+- Feature: Distinct for DSL SubQuery
+- Feature: Simple EnumConverter
+- Feature: InlineValue with Alias
+- Feature: Support WITH for Query Annotation
- Removal: Removed notLike and like
- Refactor: Refactor of IT Tests
- Bugfix: Fix missing upsert for entities with relationships
- Bugfix: Fix dev mode reloading issues for Quarkus
+- Bugfix: Fix event dispatch on unsupported relationships
+- Bugfix: Fix missing setEntity for projections with inherited classes
+- Bugfix: Fix NPE on where checker for Simple DSL
+- Bugfix: Fix IllegalArgumentException for invalid Vendor Function params
+- Bugfix: Fix wrong exceptions on Update/Remove Event
+- Bugfix: Removed useless update on Entities with a false modified flag
+- Bugfix: Fix auto-set inverse execution
+- Bugfix: Fix match of custom functions (like ::date) for named parameters in @Query
+- Bugfix: Fix delete cascade order on one-to-one entities
+- Bugfix: Copy annotations from entity methods on override
+- Bugfix: Removed spaced before validation/generation of custom queries
## 1.10.0
- Feature: BeanProvider for Dependency Injection Extensions
diff --git a/README.md b/README.md
index 787493a9..1ae78054 100644
--- a/README.md
+++ b/README.md
@@ -28,14 +28,16 @@ JAORM is divided in modules that are used from main module using **Java SPI**
- MySql
- MS SQL Server
- PostgreSQL
+ - DB2
- Validation
- Extensions
- ANSI SQL Build Extensions
- - Dependency Injection Extensions
+ - Framework and Dependency Injection Extensions
- Micronaut Extension
- Jakarta CDI Extension
- Javax CDI Extension
- Spring DI Extension
+ - Quarkus Extension
## Features
@@ -48,7 +50,7 @@ JAORM is divided in modules that are used from main module using **Java SPI**
- Supports for most of famous RDBMS
- Supports for **@Getter**, **@Setter** and **@Data** Annotations of [Lombok](https://projectlombok.org/) on Entity
- Supports for [JSR 380](https://beanvalidation.org/2.0-jsr380/) Validation on Entity during Persist/Update
-- Supports for DI with JavaEE, JakartaEE, Micronaut and Spring
+- Supports for DI with JavaEE, JakartaEE, Micronaut, Quarkus and Spring
## Use
diff --git a/jaorm-bom/pom.xml b/jaorm-bom/pom.xml
index f4d31a0f..6f0cbaa7 100644
--- a/jaorm-bom/pom.xml
+++ b/jaorm-bom/pom.xml
@@ -5,7 +5,7 @@
jaorm-pom
io.github.ulisse1996
- 2.0.0-RC2
+ 2.0.0-RC3
4.0.0
pom
diff --git a/jaorm-cache/pom.xml b/jaorm-cache/pom.xml
index d7b64c24..0cdb69c0 100644
--- a/jaorm-cache/pom.xml
+++ b/jaorm-cache/pom.xml
@@ -5,7 +5,7 @@
jaorm-pom
io.github.ulisse1996
- 2.0.0-RC2
+ 2.0.0-RC3
4.0.0
diff --git a/jaorm-core/pom.xml b/jaorm-core/pom.xml
index 6608f8f4..bb21cb8a 100644
--- a/jaorm-core/pom.xml
+++ b/jaorm-core/pom.xml
@@ -5,7 +5,7 @@
jaorm-pom
io.github.ulisse1996
- 2.0.0-RC2
+ 2.0.0-RC3
4.0.0
diff --git a/jaorm-core/src/main/java/io/github/ulisse1996/jaorm/Arguments.java b/jaorm-core/src/main/java/io/github/ulisse1996/jaorm/Arguments.java
index e7ff04f6..7ea0316e 100644
--- a/jaorm-core/src/main/java/io/github/ulisse1996/jaorm/Arguments.java
+++ b/jaorm-core/src/main/java/io/github/ulisse1996/jaorm/Arguments.java
@@ -14,6 +14,10 @@ public abstract class Arguments {
public abstract boolean equals(Object o);
public abstract int hashCode();
+ public Stream