@ -46,7 +46,7 @@ public class ConfigurableRowMapperMap implements RowMapperMap {
@@ -46,7 +46,7 @@ public class ConfigurableRowMapperMap implements RowMapperMap {
@ -88,19 +88,19 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@@ -88,19 +88,19 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@ -114,13 +114,13 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@@ -114,13 +114,13 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@ -137,7 +137,7 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@@ -137,7 +137,7 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@Query(
value="select p.id, p.name, a.id addrId, a.street from person p left join address a on(p.id = a.person_id)",
@ -146,7 +146,7 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@@ -146,7 +146,7 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@IdprivateLongid;
privateStringname;
privateList<Address>adresses;
privateList<Address>addresses;
}
@Data
@ -176,13 +176,13 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@@ -176,13 +176,13 @@ public class JdbcRepositoryResultSetExtractorIntegrationTests {
@ -309,7 +309,7 @@ public class EmbeddedEntity {
@@ -309,7 +309,7 @@ public class EmbeddedEntity {
String name;
}
----
<1> ``Null``s `embeddedEntity` if `name` in `null`. Use `USE_EMPTY` to instanciate `embeddedEntity` with a potential `null` value for the `name` property.
<1> ``Null``s `embeddedEntity` if `name` in `null`. Use `USE_EMPTY` to instantiate `embeddedEntity` with a potential `null` value for the `name` property.
====
If you need a value object multiple times in an entity, this can be achieved with the optional `prefix` element of the `@Embedded` annotation.
@ -317,7 +317,7 @@ This element represents a prefix and is prepend for each column name in the embe
@@ -317,7 +317,7 @@ This element represents a prefix and is prepend for each column name in the embe
[TIP]
====
Make use of the shortcuts `@Embedded.Nullable` & `@Embedded.Empty` for `@Embedded(onEmpty = USE_NULL)` and `@Embedded(onEmpty = USE_EMPTY)` to reduce verbositility and simultaneously set JSR-305 `@javax.annotation.Nonnull` accordingly.
Make use of the shortcuts `@Embedded.Nullable` & `@Embedded.Empty` for `@Embedded(onEmpty = USE_NULL)` and `@Embedded(onEmpty = USE_EMPTY)` to reduce verbosity and simultaneously set JSR-305 `@javax.annotation.Nonnull` accordingly.