A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Joined: Jul 26, 2007
Jul 26, 2007 14:44:00
Hi, I'm trying to make querys with hibernate and Criteria. It's getting difficult for me to create the equivalent of this query with criteria:
select * from providers as p, providers_category as pr
and pr.IdCategory = 1
providers_category is a many to many entity with IdProvider and IdCategory
if someone could help me i'll appreciate it
Joined: Feb 05, 2001
Jul 26, 2007 16:45:00
Welcome to the JavaRanch.
We're a friendly group, but we do require members to have
valid display names
Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.
edit your profile
and correct your display name since accounts with invalid display names get deleted.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: hibernate withCriteria
Reg : Criteria having where clause?
alternative for union hibernate criteira query
how to Join tables in Hibernate Spring in java
about dispatch action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015