Registry / database / spring-data-jdbc

spring-data-jdbc

JSON →
library4.0.4javamavenunverified

Spring Data module providing JDBC-based repository support for relational databases.

<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-jdbc</artifactId> <version>4.0.4</version> </dependency>
INSTALL
IMPORT
SIG · SPRING-DATA-JDBC
S
spring-data-jdbc
databasejavav4.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Query
org.springframework.data.jdbc.repository.query.Query

Defines a JDBC repository with a custom query method.

import org.springframework.data.jdbc.repository.query.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.stereotype.Repository; @Repository public interface UserRepository extends CrudRepository<User, Long> { @Query("SELECT * FROM users WHERE email = :email") User findByEmail(String email); }
Debug
Known issues
gotchaSpring Data JDBC does not support lazy loading or caching by default.
fix
Use Spring Data JPA if you need those features.
affects: *
Upgrade
Version history
4.0.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
Resources
spring-data-jdbc — mvn dependency:get spring-data-jdbc · libregistry