A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Object Relational Mapping
Hibernate many-to-many ...with DetachedCriteria/ Criteria
Joined: Jul 03, 2007
Dec 07, 2010 23:43:41
In our project we have a many-to-many relationship between 2 tables, so looked up many webpages explaning the how-to etc.
but none of the examples I found, used DetachedCriteria/ Criteria....all explained the nuances using HQL
In our project, the user is shown a search screen, with many fields (name, from-date, to-date and so on) and so we are using DetachedCriteria
but the hibernate generated query cannot be executed ...getting a ORA:00942 (table or view does not exist).
Could there be issue between detachedCriteria and its hibernate generated sql and Many-to-Many table mappings?
Any example that explains fetching data of many-to-many mapped tables and using hibernate criteria ?
I agree. Here's the link:
subject: Hibernate many-to-many ...with DetachedCriteria/ Criteria
Need help for Many to Many association
Create a Sub Query in a Criteria Query
Hibernate Criteria object - how to... ?
problem in the groupProperty
new to hibernate, spring.. criteria queries/joins
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015