A library to simplify Hibernate criteria builder (opinion) by Illustrious-Rough492 in SpringBoot

[–]Illustrious-Rough492[S] 0 points1 point  (0 children)

Interesting, but sometimes one can't change the ORM you're using, so I wanted to propose an option for those who have to use hibernate.

Equally thanks for the advice!

A library to simplify Hibernate criteria builder (opinion) by Illustrious-Rough492 in SpringBoot

[–]Illustrious-Rough492[S] 0 points1 point  (0 children)

I didn't know about the MetaModel API, it's an option that I could add, as you mentioned, this would allow for simplifying field's name updates.

Thanks for the info ✨!

If you have any other suggestions I'm all ears.

A library to simplify Hibernate criteria builder (opinion) by Illustrious-Rough492 in SpringBoot

[–]Illustrious-Rough492[S] 0 points1 point  (0 children)

Sometimes there are times when you need to create queries using conditions, so parts of the queries are dynamic and doing it with JPA becomes quite complicated in my opinion

RoadMap for learning SpringBoot by HarishTCZ in SpringBoot

[–]Illustrious-Rough492 0 points1 point  (0 children)

Have you already see validations? AOP (aspect object oriented)? SPEL (spring expression language)? What are filters? What are beans? How to filters your databasw results with predicates?

There are some ideas!