Skip to content

Commit eea6fb6

Browse files
dkapilBipinkumar27
andauthored
Java 41267 dhawal (#18367)
* JAVA-41267 Moved code of spring-data-case-insensitive-queries from spring-data-jpa-repo to 2 * JAVA-41267 Moved code of article spring-data-jpa-method-in-all-repositories from spring-data-jpa-repo to spring-data-jpa-repo-2 * JAVA-41267 Moved code of article spring-data-composable-repositories from spring-data-jpa-repo to spring-data-jpa-repo-2 * JAVA-41267 Moved code of article spring-data-jpa-repository-populators from spring-data-jpa-repo to spring-data-jpa-repo-2 * Fixed build by ignoring quoted identifiers in JPA test --------- Co-authored-by: Bipinkumar27 <[email protected]>
1 parent 4f4f7a3 commit eea6fb6

36 files changed

+66
-2
lines changed

persistence-modules/spring-data-jpa-repo-2/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@
5858
<version>${querydsl.version}</version>
5959
<scope>provided</scope>
6060
</dependency>
61+
<dependency>
62+
<groupId>org.springframework</groupId>
63+
<artifactId>spring-oxm</artifactId>
64+
<version>${spring-oxm.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>jakarta.xml.bind</groupId>
68+
<artifactId>jakarta.xml.bind-api</artifactId>
69+
<version>4.0.0</version>
70+
</dependency>
71+
<dependency>
72+
<groupId>com.fasterxml.jackson.core</groupId>
73+
<artifactId>jackson-databind</artifactId>
74+
</dependency>
6175
</dependencies>
6276

6377
<build>
@@ -100,6 +114,7 @@
100114
<jakarta.persistence.version>3.1.0</jakarta.persistence.version>
101115
<apt-maven-plugin.version>1.1.3</apt-maven-plugin.version>
102116
<spring-boot.repackage.skip>true</spring-boot.repackage.skip>
117+
<spring-oxm.version>6.1.4</spring-oxm.version>
103118
</properties>
104119

105120
</project>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.baeldung.boot;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
import org.springframework.boot.autoconfigure.domain.EntityScan;
6+
import org.springframework.context.annotation.ComponentScan;
7+
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
8+
9+
import com.baeldung.jpa.JpaApplication;
10+
import com.baeldung.boot.daos.impl.ExtendedRepositoryImpl;
11+
12+
@SpringBootApplication
13+
@EnableJpaRepositories(repositoryBaseClass = ExtendedRepositoryImpl.class, basePackages = "com.baeldung.boot.daos")
14+
@EntityScan({"com.baeldung.boot.domain"})
15+
@ComponentScan("com.baeldung.boot.daos")
16+
public class BootApplication {
17+
public static void main(String[] args) {
18+
SpringApplication.run(JpaApplication.class, args);
19+
}
20+
21+
}

0 commit comments

Comments
 (0)