I have read a little about https://spring.io/projects/spring-data-jdbc .  
The project simplifies the JPA implementation and targets domain driven 
design (DDD) architectures.  Has anyone used it, and if so, how does it 
compare to jOOQ?

https://docs.spring.io/spring-data/jdbc/docs/2.0.1.RELEASE/reference/html/#jdbc.entity-persistence.types
 has 
limited support for hydrating relations, somewhat similar to jOOQ:

*The handling of referenced entities is limited. This is based on the idea 
of aggregate roots as described above. If you reference another entity, 
that entity is, by definition, part of your aggregate. So, if you remove 
the reference, the previously referenced entity gets deleted. This also 
means references are 1-1 or 1-n, but not n-1 or n-m.*

*If you have n-1 or n-m references, you are, by definition, dealing with 
two separate aggregates. References between those should be encoded as 
simple id values, which should map properly with Spring Data JDBC.*

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/23390dcb-2500-4612-b5fe-5261e36036f7o%40googlegroups.com.

Reply via email to