View RSS Feed

Recent Blogs Posts

  1. Hibernate - Fetching strategies

    by , 10-25-2011 at 07:49 PM (My Java Tips)
    Hibernate uses fetching strategy for retrieving associated objects when an application needs to navigate the association. Fetch strategies are declared in the object relational mapping metadata, or over-ridden by a particular HQL or Criteria query.

    Hibernate defines following fetching strategies:

    - Join fetching is used to retrieve the associated instance or collection in the same SELECT, using an OUTER JOIN.

    - Select fetching is used ...