Skip to content

Commit

Permalink
using new spring aop module
Browse files Browse the repository at this point in the history
  • Loading branch information
aureamunoz committed May 30, 2024
1 parent 7a90347 commit 1fedf01
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
<hibernate-quarkus-local-cache.version>0.3.0</hibernate-quarkus-local-cache.version>
<flapdoodle.mongo.version>4.13.1</flapdoodle.mongo.version>
<quarkus-spring-api.version>6.1.SP1-SNAPSHOT</quarkus-spring-api.version>
<quarkus-spring-data-api.version>2.1.SP2</quarkus-spring-data-api.version>
<quarkus-spring-data-api.version>2.1.SP2-SNAPSHOT</quarkus-spring-data-api.version>
<quarkus-spring-security-api.version>5.4.Final</quarkus-spring-security-api.version>
<quarkus-spring-boot-api.version>2.1.SP1</quarkus-spring-boot-api.version>
<mockito.version>5.12.0</mockito.version>
Expand Down Expand Up @@ -5876,6 +5876,11 @@
<artifactId>quarkus-spring-beans-api</artifactId>
<version>${quarkus-spring-api.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-spring-aop-api</artifactId>
<version>${quarkus-spring-api.version}</version>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-spring-data-jpa-api</artifactId>
Expand Down
4 changes: 4 additions & 0 deletions extensions/spring-data-jpa/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-spring-core-api</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-spring-aop-api</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-spring-boot-orm-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ quarkus.hibernate-orm.database.generation=drop-and-create
# DataGenerator uses java.util.Random => needs to be runtime initialized
# as j.u.Random is prohibited in the native image heap. Otherwise
# random data becomes deterministic
quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator
quarkus.native.additional-build-args=--initialize-at-run-time=io.quarkus.it.spring.data.jpa.DataGenerator\\,org.springframework.data.domain.Sort$TypedSort,--initialize-at-build-time=org.springframework.aop,-H:TraceClassInitialization=true,-H:AbortOnTypeReachable=org.springframework.data.util.MethodInvocationRecorder
#quarkus.hibernate-orm.log.sql=true

%prod.quarkus.hibernate-orm.sql-load-script=import.sql

0 comments on commit 1fedf01

Please sign in to comment.