spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 139 forks source link

Add support for Spring Data JDBC #202

Open sdeleuze opened 5 years ago

sdeleuze commented 5 years ago

Add support for Spring Data JDBC by allowing to configure a JdbcAggregateOperations since it is a good fit with Kotlin + functional. cc @schauder

jeffzoch commented 4 years ago

I think having a more functional transaction model (unlike the @Transactional annotation) would be a huge win and that alone would have me convert my apps to use this approach. I think that is the biggest pain point in all of spring right now is managing transaction boundaries.

schauder commented 4 years ago

@jeffzoch Are you aware of the TransactionTemplate?

See also: https://docs.spring.io/spring/docs/current/spring-framework-reference/data-access.html#transaction-programmatic