• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Criteria

 
Kasinath Nalla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working with one-to-many in hibernate. I have not speccified any join type.

When I use criteria query. Its always doing outer join. I would like that to be inner join. Please let me know how can i get the inner join..

Thanks,
Kasi
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the objects you're working with? The Criteria API is all about working with objects, and using an object oriented approach to querying your data.

Is there a real one to many relationship between these two classes? If not, why is it not mapped?

Let us know.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic