Polishing.

See #695
This commit is contained in:
Mark Paluch
2025-05-05 10:34:33 +02:00
parent 5a234bcef3
commit d40fec53e4
20 changed files with 39 additions and 47 deletions

View File

@@ -10,11 +10,12 @@
</parent>
<groupId>org.example</groupId>
<artifactId>aot-generation</artifactId>
<artifactId>spring-data-jpa-aot-optimization</artifactId>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<hibernate.version>7.0.0.Beta5</hibernate.version>
<spring-data-bom.version>2025.1.0-SNAPSHOT</spring-data-bom.version>
</properties>
<dependencies>
@@ -24,6 +25,12 @@
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-jpa</artifactId>

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -15,14 +15,14 @@
*/
package example.springdata.aot;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.Random;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
import java.time.Instant;
import java.time.temporal.ChronoUnit;
import java.util.Random;
/**
* @author Christoph Strobl
* @since 2025/01

View File

@@ -15,13 +15,11 @@
*/
package example.springdata.aot;
import java.time.Instant;
import java.util.List;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.OneToMany;
import java.time.Instant;
/**
* @author Christoph Strobl

View File

@@ -17,6 +17,7 @@
<inceptionYear>2011</inceptionYear>
<modules>
<module>aot-optimization</module>
<module>deferred</module>
<module>envers</module>
<module>example</module>
@@ -29,7 +30,6 @@
<module>vavr</module>
<module>multitenant</module>
<module>graalvm-native</module>
<module>aot-generation</module>
</modules>
<dependencies>
@@ -42,19 +42,16 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-jpa</artifactId>
<version>4.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>

View File

@@ -10,45 +10,21 @@
</parent>
<groupId>org.example</groupId>
<artifactId>aot-generation</artifactId>
<artifactId>spring-data-mongodb-aot-optimization</artifactId>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-data-bom.version>2025.1.0-SNAPSHOT</spring-data-bom.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>4.0.x-GENERATED-REPOSITORIES-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-mongodb</artifactId>
<version>5.0.0-GENERATED-REPOSITORIES-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>bson</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-core</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-sync</artifactId>
<version>5.3.1</version>
</dependency>
<dependency>
<groupId>org.jspecify</groupId>
<artifactId>jspecify</artifactId>
<version>1.0.0</version>
</dependency>
</dependency>
</dependencies>
<build>

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -5,7 +5,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,

View File

@@ -1,3 +1,18 @@
/*
* Copyright 2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package example.springdata.aot;
import java.util.List;

View File

@@ -17,7 +17,8 @@
<inceptionYear>2011</inceptionYear>
<modules>
<module>aggregation</module>
<module>aot-optimization</module>
<module>aggregation</module>
<!-- <module>change-streams</module> -->
<module>example</module>
<module>fluent-api</module>
@@ -36,7 +37,6 @@
<module>linking</module>
<module>util</module>
<module>fragment-spi</module>
<module>aot-generation</module>
</modules>
<dependencyManagement>

View File

@@ -40,7 +40,6 @@
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-data-bom.version>2025.1.0-SNAPSHOT</spring-data-bom.version>
</properties>
<profiles>