Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAndrey Serebryanskiy
5,756 PointsCan not perform WHERE query
I'm trying to select some contacts from our database (e.g. all where name equals 'Andrey').
In the Hibernate user guide I found a tip, how to do it. However, I can't understand, what is going on there and, in particular, what does Person_.name
mean.
Here is a screenshot from user guide.
PLease, explain me how to use WHERE queries in Hibernate 5.2+.
1 Answer
Andrey Serebryanskiy
5,756 PointsFinally, found how to deal with WHERE statement. Here are examples of use.