You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
9cd8fc16b3
1.0.x
1.1.x
2.0.x
2.1.x
2.2.x
2.3.x
2.4.x
3.0.x
3.1.x
3.2.x
3.3.x
3.4.x
3.5.x
4.0.x
gh-pages
issue/1828-aggregate-ref-with-convertable
issue/1929-upgrade-hsql
issue/1935-jdbc-sql-type-for-null
issue/1953
issue/2059-query-derivation-custom-converter
issue/2138-query-with-pageable
issue/2199
issue/year-as-integer
main
1.0.0.M1
1.0.0.M2
1.0.0.M3
1.0.0.RC1
1.0.0.RC2
1.0.0.RELEASE
1.0.1.RELEASE
1.0.10.RELEASE
1.0.11.RELEASE
1.0.12.RELEASE
1.0.13.RELEASE
1.0.14.RELEASE
1.0.15.RELEASE
1.0.16.RELEASE
1.0.17.RELEASE
1.0.18.RELEASE
1.0.19.RELEASE
1.0.2.RELEASE
1.0.20.RELEASE
1.0.21.RELEASE
1.0.3.RELEASE
1.0.4.RELEASE
1.0.5.RELEASE
1.0.6.RELEASE
1.0.7.RELEASE
1.0.8.RELEASE
1.0.9.RELEASE
1.1.0.M1
1.1.0.M2
1.1.0.M3
1.1.0.M4
1.1.0.RC1
1.1.0.RC2
1.1.0.RC3
1.1.0.RELEASE
1.1.1.RELEASE
1.1.10.RELEASE
1.1.11.RELEASE
1.1.12.RELEASE
1.1.13.RELEASE
1.1.2.RELEASE
1.1.3.RELEASE
1.1.4.RELEASE
1.1.5.RELEASE
1.1.6.RELEASE
1.1.7.RELEASE
1.1.8.RELEASE
1.1.9.RELEASE
2.0.0.M1
2.0.0.M2
2.0.0.M3
2.0.0.M4
2.0.0.RC1
2.0.0.RC2
2.0.0.RELEASE
2.0.1.RELEASE
2.0.2.RELEASE
2.0.3.RELEASE
2.0.4.RELEASE
2.0.5.RELEASE
2.0.6.RELEASE
2.0.7.RELEASE
2.0.8.RELEASE
2.0.9.RELEASE
2.1.0
2.1.0-M1
2.1.0-M2
2.1.0-RC1
2.1.0-R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11
3.4.12
3.4.13
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.5.0
3.5.0-M1
3.5.0-M2
3.5.0-RC1
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.5.6
3.5.7
4.0.0
4.0.0-M1
4.0.0-M2
4.0.0-M3
4.0.0-M4
4.0.0-M5
4.0.0-M6
4.0.0-RC1
4.0.0-RC2
4.0.1
${ noResults }
We now evaluate @Value annotations in persistence constructors to compute values when creating object instances. AtValue can be used to materialize values for e.g. transient properties. Root properties map to the ResultSet from which an object gets materialized. class WithAtValue { private final @Id Long id; private final @Transient String computed; public WithAtValue(Long id, @Value("#root.first_name") String computed) { // obtain value from first_name column this.id = id; this.computed = computed; } } |
5 years ago | |
|---|---|---|
| .. | ||
| main | DATAJDBC-508 - Add support for @Value in persistence constructors. | 5 years ago |
| test | DATAJDBC-508 - Add support for @Value in persistence constructors. | 5 years ago |