Mark Paluch
f92ca756ce
Prepare next development iteration.
...
See #3610
2024-10-18 12:49:40 +02:00
Mark Paluch
d242c38e51
Release version 3.4 RC1 (2024.1.0).
...
See #3610
2024-10-18 12:47:01 +02:00
Mark Paluch
ff9f69e1d0
Prepare 3.4 RC1 (2024.1.0).
...
See #3610
2024-10-18 12:46:43 +02:00
Mark Paluch
bcbb16ef60
Polishing.
...
Mention restrictions.
See #3636
Original pull request: #3637
2024-10-17 15:37:39 +02:00
Christoph Strobl
eece4cf2c2
Update native query documentation.
...
Closes #3636
Original pull request: #3637
2024-10-17 15:37:38 +02:00
Jinyeong Seol
ddc9914fe6
Refactor order clause generation using Stream API.
...
Closes #3611
2024-10-11 10:45:56 +02:00
Mark Paluch
f045352049
Add support for Value Expressions.
...
Closes #3619
Original pull request: #3627
2024-10-09 13:27:27 +02:00
Mark Paluch
61e6d36c7f
Consistently run all CI steps with the same user.
...
See #3610
2024-10-09 09:35:37 +02:00
Mark Paluch
4e36b166ee
Polishing.
...
Use ObjectUtils instead of Enum.valueOf(…), move class presence check into field. Allow force-selection of JSQLParser.
Add more tests.
See #2989
Original pull request: #3623
2024-10-01 15:28:18 +02:00
Christoph Strobl
b1c349a1e0
Add configuration option to disable usage of JSqlParser for native queries.
...
This commit introduces the spring.data.jpa.query.native.parser property that allows to switch native query parsing to the default internal parser for scenarios where JSqlParser is on the classpath but should not be used by spring-data.
Closes #2989
Original pull request: #3623
2024-10-01 15:26:42 +02:00
Mark Paluch
2e55fadf09
Polishing.
...
Replace tabs with spaces.
See #3628
2024-09-30 16:03:49 +02:00
Mark Paluch
651ec32681
Add support for IS TRUE|FALSE|EMPTY and CONTAINS|INCLUDES|INTERSECTS HQL predicates.
...
Closes #3628
2024-09-30 14:54:01 +02:00
arefbehboudi
ea0bd8c5e9
Polishing.
...
Original pull request #3612
2024-09-23 12:45:03 +02:00
Mark Paluch
87cc57b0b5
Upgrade to Hibernate 6.6.1.Final.
...
Closes #3613
2024-09-18 08:54:19 +02:00
Jens Schauder
abd86e747b
After release cleanups.
...
See #3482
2024-09-13 12:42:28 +02:00
Jens Schauder
4c31e1e001
Prepare next development iteration.
...
See #3482
2024-09-13 12:42:27 +02:00
Jens Schauder
e4ce7ebaa1
Release version 3.4 M1 (2024.1.0).
...
See #3482
2024-09-13 12:39:32 +02:00
Jens Schauder
bd8332d5e8
Prepare 3.4 M1 (2024.1.0).
...
See #3482
2024-09-13 12:39:13 +02:00
Christoph Strobl
bc45bdaebe
Upgrade to JSqlParser 5.0.
...
Closes : #3606
2024-09-11 15:08:32 +02:00
EdoardoP92
8618ac012a
Fix FileSystemException in tests.
...
Closes : #3281
2024-09-11 15:07:17 +02:00
Christoph Strobl
b82094a2a6
Upgrade to Eclipselink 4.0.4
...
Closes : #3507
2024-09-10 12:29:01 +02:00
Bohao Jing
d08b69d45c
Fix double-sorting usung limit of FetchableFluentQueryBySpecification.
...
Closes #3600
Original pull request: #3601
2024-09-02 08:56:30 +02:00
Mark Paluch
b00220b50d
Reorder documentation of class-based projection support for JPA Native Queries.
...
Closes #3599
2024-08-29 10:07:39 +02:00
Christoph Strobl
6ecb45fe04
Revert packaging changes of performance module.
...
...and remove duplicate properties entry.
See: #3309
2024-08-22 09:05:06 +02:00
Mark Paluch
52e6aef4a7
Polishing.
...
Use structured NullsPrecedence rendering in JPQL renderer.
Throw UnsupportedOperationException for the time being until Nulls Precedence is supported through Criteria API.
See #3529
2024-08-21 15:08:22 +02:00
Christoph Strobl
410152af3a
Support NULLS {FIRST | LAST} in JPQL queries.
...
This commit adds support for parsing and appending order by items that define a NULL precedence.
Closes #3529
2024-08-21 15:08:22 +02:00
Mark Paluch
a784a419f2
Update GitHub Actions.
...
See #3482
2024-08-21 09:28:22 +02:00
arefbehboudi
9d7d735d3c
Polishing JpaMetamodel.
...
Closes : #3555
Original Pull Request: #3559
2024-08-20 14:42:29 +02:00
Mark Paluch
a38941519b
Refactor instanceof to use pattern variable.
...
Closes #3586
2024-08-20 14:11:07 +02:00
Mark Paluch
06212b57fc
Polishing.
...
Remove serialVersionUID for types that aren't serializable.
See #3584
2024-08-20 14:06:32 +02:00
Seol_JY
55a3112cb2
Add @Serial annotation to all serialVersionUID fields.
...
- Enhance code readability and maintainability
- Improve static analysis capabilities
- Ensure proper declaration of serialVersionUID fields
Closes #3584
2024-08-20 14:06:16 +02:00
Jens Schauder
90a8b15454
Sort revisions by revision number.
...
Timestamps might not be unique, but the revision number "should form a strictly-increasing sequence of numbers".
See https://docs.jboss.org/hibernate/orm/5.2/javadocs/org/hibernate/envers/RevisionNumber.html
Closes #3579
2024-08-19 15:01:04 +02:00
Jens Schauder
d82c6b1a3d
Polishing.
...
Original pull request #3576
2024-08-19 13:01:00 +02:00
arefbehboudi
a8ef74fe32
Cleaned up EnversRevisionRepositoryImpl the code to enhance readability and maintainability.
...
Original pull request #3576
2024-08-19 12:59:45 +02:00
Mark Paluch
558c26b355
Polishing.
...
Merge antora prepare tasks into a single run.
See #3539
2024-08-19 09:41:22 +02:00
Mark Paluch
298c1c6e3c
Polishing.
...
Consistently convert Iterable to Collection for identifier parameters.
See #3580
2024-08-14 10:15:39 +02:00
Seol_JY
f7aed2a333
Polishing.
...
Replace Collection.class.isInstance with instanceof for type checking. Remove unnecessary type check for ConfigurableListableBeanFactory in postProcessBeanFactory method.
Closes #3580
2024-08-14 10:15:23 +02:00
Mark Paluch
3483e16657
Polishing.
...
Defer user-class lookup.
See #3564
2024-08-13 11:14:28 +02:00
Seol_JY
58fe95f1d6
Optimize entity deletion in SimpleJpaRepository.
...
This change improves the performance of the delete method by first checking if the entity is already managed by the EntityManager. If so, it removes the entity directly without additional database queries. This optimization can reduce unnecessary database lookups in certain scenarios.
Closes #3564
2024-08-13 11:14:20 +02:00
Mark Paluch
a44bca82c6
Polishing.
...
Use Javadoc macro. Reformat code.
See #3544
2024-08-12 09:37:37 +02:00
Tran Ngoc Nhan
bd106f9323
Replace documentation link to deprecated ResultTransformer with its replacement ResultListTransformer.
...
Closes #3544
2024-08-12 09:37:37 +02:00
Mark Paluch
1c370512f1
Upgrade to Hibernate 6.6.
...
Closes #3574
2024-08-12 09:10:40 +02:00
Mark Paluch
b279ff0b88
Polishing.
...
Fix typos, move QueryTransformers.filterCountSelection to CountSelectionTokenStream.create.
Original Pull Request: #3553
2024-08-09 13:45:51 +02:00
Mark Paluch
9d4bde3e7d
Suppress selection item aliasing for the actual count query.
...
We now no longer apply count selection filtering but rather skip select field aliasing when rendering a count query to drop the field alias within a count query.
Previously, we removed field aliasing by filtering the token stream which also removed the AS keyword from cast operators.
Closes : #3536
Original Pull Request: #3553
2024-08-09 13:45:21 +02:00
Christoph Strobl
e3da2f7c47
Add support for using custom BeanNameGenerator.
...
Closes : #3440
2024-08-09 10:12:09 +02:00
Seol_JY
9e54c37a8a
Fix typo in assertion message.
...
Corrected the assertion message from "Sample must not be null" to "Example must not be null" for clarity and consistency.
Closes #3565
2024-08-08 11:37:51 +02:00
Mark Paluch
a16d82ef7a
Revert "Upgrade to Hibernate 6.5.2.Final."
...
This reverts commit b6f62b19e9 .
See #3567
2024-08-08 10:43:35 +02:00
Mark Paluch
0f65ba1887
Upgrade to Maven Wrapper 3.9.8.
...
See #3570
2024-08-08 10:21:59 +02:00
Mark Paluch
33a47dca81
Update CI properties.
...
See #3482
2024-08-08 10:20:10 +02:00
Mark Paluch
b6f62b19e9
Upgrade to Hibernate 6.5.2.Final.
...
Closes #3567
2024-08-08 10:00:47 +02:00