smartSenseSolutions / smartsense-java-commons

Database utility for Spring boot application
Apache License 2.0
3 stars 0 forks source link

- Added Dynamic Projection with Filter #12

Closed sunil-smartsense closed 6 months ago

sunil-smartsense commented 6 months ago

Solves: https://github.com/smartSenseSolutions/smartsense-java-commons/issues/11

I have Implemented the dynamic projection for the filter method and to provide backward support preserved the existing filter method too.

In the overloaded method have added new Class type parameter of any of these three type (Interface, record or class) can be passed, which represent the Projected Entity type fields available in this type will be consider for select query.

All the projection behaviour provided by JPA will stay remain for this projection entity type.

Also added Example API and and its documentation in README.md file.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud