Do you know a way of implementing something like a Hibernate QBE
(Query by Example) in JPA?
For my problem domain the alternative of using it will be to build a SQL query dynamically using some sort of string manipulation, something I would like to avoid.
I know this is not supported by default in the API, but I recognize it as a great technique for building dynamic queries.
Any suggestions?
QBE is not available in JPA 1.0 or 2.0. For more details look here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With